hyprdots

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

hyprland.conf (6376B)


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