hyprdots

my dotfiles
git clone https://git.awy.one/hyprdots.git
Log | Files | Refs | README | LICENSE

hyprland.conf (6305B)


      1 monitor=,preferred,auto,auto
      2 # monitor = DP-3, 3840x2160@165, 0x0, 1, bitdepth, 10
      3 monitor = DP-3, 3840x2160@165, 0x0, 1
      4 monitor = DP-2, 2560x1440@165, -2560x720, 1
      5 
      6 $terminal = foot
      7 
      8 exec-once = dbus-update-activation-environment --all
      9 exec-once = start-pipewire
     10 exec-once = portal
     11 exec-once = singboxwrap
     12 exec-once = dunst
     13 exec-once = gpg-agent --daemon
     14 exec-once = gnome-keyring-daemon --start --components=secrets
     15 exec-once = foot --server
     16 exec-once = randombg
     17 exec-once = waybar
     18 exec-once = mpd
     19 
     20 env = XCURSOR_SIZE,24
     21 env = HYPRCURSOR_SIZE,24
     22 env = ENABLE_HDR_WSI,1
     23 
     24 general {
     25   gaps_in = 10,5,10,5
     26   gaps_out = 10,30,10,30
     27 
     28   border_size = 3
     29 
     30   col.active_border = rgb(83a598)
     31   col.inactive_border = rgba(595959aa)
     32 
     33   resize_on_border = false
     34 
     35   allow_tearing = false
     36 
     37   layout = dwindle
     38 }
     39 
     40 decoration {
     41   rounding = 0
     42   rounding_power = 2
     43 
     44   active_opacity = 1.0
     45   inactive_opacity = 1.0
     46 
     47   shadow {
     48     enabled = false
     49     range = 4
     50     render_power = 3
     51     color = rgba(1a1a1aee)
     52   }
     53 
     54   blur {
     55     enabled = false
     56     size = 3
     57     passes = 1
     58     vibrancy = 0.1696
     59   }
     60 }
     61 
     62 
     63 animations {
     64   enabled = false
     65   bezier = easeOutQuint,0.23,1,0.32,1
     66   bezier = easeInOutCubic,0.65,0.05,0.36,1
     67   bezier = linear,0,0,1,1
     68   bezier = almostLinear,0.5,0.5,0.75,1.0
     69   bezier = quick,0.15,0,0.1,1
     70   animation = global, 1, 10, default
     71   animation = border, 1, 5.39, easeOutQuint
     72   animation = windows, 1, 4.79, easeOutQuint
     73   animation = windowsIn, 1, 4.1, easeOutQuint, popin 87%
     74   animation = windowsOut, 1, 1.49, linear, popin 87%
     75   animation = fadeIn, 1, 1.73, almostLinear
     76   animation = fadeOut, 1, 1.46, almostLinear
     77   animation = fade, 1, 3.03, quick
     78   animation = layers, 1, 3.81, easeOutQuint
     79   animation = layersIn, 1, 4, default, popin 87%
     80   animation = layersOut, 1, 1.5, linear, fade
     81   animation = fadeLayersIn, 1, 1.79, almostLinear
     82   animation = fadeLayersOut, 1, 1.39, almostLinear
     83   animation = workspaces, 1, 4, quick, slidevert
     84 }
     85 
     86 dwindle {
     87   pseudotile = true # Master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below
     88   preserve_split = true # You probably want this
     89 }
     90 
     91 master {
     92   new_status = master
     93 }
     94 
     95 misc { 
     96   force_default_wallpaper = 0 # Set to 0 or 1 to disable the anime mascot wallpapers
     97   disable_hyprland_logo = true # If true disables the random hyprland logo / anime girl background. :(
     98   enable_swallow = 1 
     99   swallow_regex = ^(foot)$
    100 }
    101 
    102 input {
    103   kb_layout = us, ru
    104   kb_variant =
    105   kb_model =
    106   kb_options = grp:alt_shift_toggle
    107   kb_rules =
    108 
    109   follow_mouse = 1
    110   force_no_accel = 1
    111 
    112   sensitivity = 0 # -1.0 - 1.0, 0 means no modification.
    113   repeat_rate=50
    114   repeat_delay=300
    115 
    116   touchpad {
    117     natural_scroll = false
    118   }
    119 }
    120 
    121 gestures {
    122   workspace_swipe = false
    123 }
    124 
    125 experimental {
    126   xx_color_management_v4 = true
    127 }
    128 
    129 xwayland {
    130   force_zero_scaling = true
    131 }
    132 
    133 ecosystem {
    134   no_update_news = true
    135 }
    136 
    137 cursor {
    138   default_monitor = DP-3
    139 }
    140 
    141 $mainMod = SUPER # Sets "Windows" key as main modifier
    142 
    143 bind = $mainMod, Return, exec, $terminal
    144 bind = $mainMod, Q, killactive,
    145 bind = $mainMod, W, exec, librewolf
    146 bind = $mainMod, R, exec, $terminal -e yazi
    147 bind = $mainMod SHIFT, D, exec, tessen
    148 bind = $mainMod, V, togglefloating,
    149 bind = $mainMod, D, exec, wmenu-run
    150 bind = $mainMod, P, exec, mpc toggle
    151 bind = $mainMod, Grave, exec, bookmarks
    152 bind = $mainMod SHIFT, J, togglesplit, # dwindle
    153 bind = $mainMod, F, fullscreen,
    154 bind = $mainMod SHIFT, Return, swapnext
    155 bind = , Print, exec, grim pic-full-$(date '+%y%m%d-%H%M-%S').png
    156 bind = SHIFT, Print, exec, maimpick
    157 bind = $mainMod, Print, exec, dmenurecord
    158 bind = $mainMod SHIFT, Print, exec, dmenurecord kill
    159 bind = $mainMod, E, exec, $terminal neomutt; pkill -RTMIN+12 waybar
    160 bind = $mainMod SHIFT, N, exec, $terminal newsboat; pkill -RTMIN+6 waybar
    161 bind = $mainMod SHIFT, R, exec, $terminal -e btop
    162 bind = $mainMod, M, exec, $terminal -e ncmpcpp
    163 bind =,XF86AudioPlay, exec, mpc toggle
    164 bind =,XF86AudioPrev, exec, mpc prev
    165 bind =,XF86AudioNext, exec, mpc next
    166 bind =,mouse:276, exec, wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle && pkill -RTMIN+23 waybar 
    167 bind = $mainMod, minus, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-; pkill -RTMIN+10 waybar 
    168 bind = $mainMod SHIFT, minus, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 15%-; pkill -RTMIN+10 waybar 
    169 bind = $mainMod, equal, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+; pkill -RTMIN+10 waybar 
    170 bind = $mainMod SHIFT, equal, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 15%+; pkill -RTMIN+10 waybar 
    171 bind = $mainMod SHIFT, M, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle; pkill -RTMIN+10 waybar
    172 
    173 bind = $mainMod, F1, exec, singboxwrap menu
    174 bind = $mainMod, F4, exec, $terminal -e pulsemixer; pkill -RTMIN+10 waybar; pkill -RTMIN+23 waybar
    175 bind = $mainMod, F6, exec, torwrap
    176 bind = $mainMod, F7, exec, td-toggle
    177 bind = $mainMod, F8, exec, mailsync; pkill -RTMIN+12 waybar
    178 bind = $mainMod, F9, exec, mounter
    179 bind = $mainMod, F10, exec, unmounter
    180 
    181 bind = $mainMod SHIFT, Q, exec, sysact
    182 
    183 bind = $mainMod, L, resizeactive, 100 0
    184 bind = $mainMod, H, resizeactive, -100 0
    185 
    186 bind = $mainMod, J, cyclenext, prev
    187 bind = $mainMod, K, cyclenext
    188 
    189 bind = $mainMod, 1, workspace, 1
    190 bind = $mainMod, 2, workspace, 2
    191 bind = $mainMod, 3, workspace, 3
    192 bind = $mainMod, 4, workspace, 4
    193 bind = $mainMod, 5, workspace, 5
    194 bind = $mainMod, 6, workspace, 6
    195 bind = $mainMod, 7, workspace, 7
    196 bind = $mainMod, 8, workspace, 8
    197 bind = $mainMod, 9, workspace, 9
    198 bind = $mainMod, 0, workspace, 10
    199 
    200 bind = $mainMod SHIFT, 1, movetoworkspace, 1
    201 bind = $mainMod SHIFT, 2, movetoworkspace, 2
    202 bind = $mainMod SHIFT, 3, movetoworkspace, 3
    203 bind = $mainMod SHIFT, 4, movetoworkspace, 4
    204 bind = $mainMod SHIFT, 5, movetoworkspace, 5
    205 bind = $mainMod SHIFT, 6, movetoworkspace, 6
    206 bind = $mainMod SHIFT, 7, movetoworkspace, 7
    207 bind = $mainMod SHIFT, 8, movetoworkspace, 8
    208 bind = $mainMod SHIFT, 9, movetoworkspace, 9
    209 bind = $mainMod SHIFT, 0, movetoworkspace, 10
    210 
    211 bind = $mainMod, mouse_down, workspace, e+1
    212 bind = $mainMod, mouse_up, workspace, e-1
    213 
    214 bindm = $mainMod, mouse:272, movewindow
    215 bindm = $mainMod, mouse:273, resizewindow
    216 
    217 windowrulev2 = suppressevent maximize, class:.*
    218 
    219 windowrulev2 = nofocus,class:^$,title:^$,xwayland:1,floating:1,fullscreen:0,pinned:0
    220 
    221 workspace = 1, monitor:DP-2
    222 workspace = 2, monitor:DP-2
    223 workspace = 3, monitor:DP-3
    224 workspace = 4, monitor:DP-3