1 files changed,
22 insertions(+),
22 deletions(-)
Author:
Smirnov Oleksandr
ss2316544@gmail.com
Committed at:
2024-04-09 13:56:37 +0300
Parent:
a272803
M
config/hypr/hyprland.conf
··· 1 -# vim: foldmethod=marker ts=2 sw=2 1 +# vim: foldmethod=marker ts=2 sw=2 ft=hyprlang 2 2 monitor=,highres,auto,1 3 3 4 -## variables {{{ 4 +# variables {{{ 5 5 $mod = SUPER 6 6 $terminal = kitty 7 7 # }}} 8 -## auto start {{{ 8 +# auto start {{{ 9 9 exec-once = waybar 10 10 exec-once = hyprpaper 11 11 exec-once = dunst ··· 18 18 exec-once = swayidle -w timeout 120 '$lock' timeout 1200 'hyprctl dispatch dpms off' resume 'hyprctl dispatch dpms on' before-sleep '$lock' 19 19 exec-once = wlsunset -S 10:00 -s 19:00 20 20 # }}} 21 -## inputs {{{ 21 +# inputs {{{ 22 22 input { 23 23 kb_layout = us,ua 24 24 kb_variant = ··· 39 39 } 40 40 } 41 41 # }}} 42 -## general {{{ 42 +# general {{{ 43 43 general { 44 44 gaps_in = 2 45 45 gaps_out = 4 ··· 50 50 layout = dwindle # master 51 51 } 52 52 # }}} 53 -## decorations {{{ 53 +# decorations {{{ 54 54 decoration { 55 55 rounding = 3 56 56 ··· 66 66 col.shadow = rgba(1a1a1aee) 67 67 } 68 68 # }}} 69 -## animations {{{ 69 +# animations {{{ 70 70 animations { 71 71 enabled = false 72 72 ··· 79 79 animation = workspaces, 1, 6, default 80 80 } 81 81 # }}} 82 -## dwindle layout {{{ 82 +# dwindle layout {{{ 83 83 # https://wiki.hyprland.org/Configuring/Dwindle-Layout 84 84 dwindle { 85 85 pseudotile = false ··· 89 89 default_split_ratio = 1 90 90 } 91 91 # }}} 92 -## master layout {{{ 92 +# master layout {{{ 93 93 # https://wiki.hyprland.org/Configuring/Master-Layout 94 94 master { 95 95 new_is_master = false ··· 98 98 new_on_top = true 99 99 } 100 100 # }}} 101 -## misc {{{ 101 +# misc {{{ 102 102 misc { 103 103 disable_hyprland_logo = true 104 104 disable_splash_rendering = true ··· 106 106 key_press_enables_dpms = true 107 107 } 108 108 # }}} 109 -## gestures {{{ 109 +# gestures {{{ 110 110 gestures { 111 111 workspace_swipe = true 112 112 workspace_swipe_invert = false 113 113 workspace_swipe_create_new = false 114 114 } 115 115 # }}} 116 -## window rules {{{ 116 +# window rules {{{ 117 117 windowrulev2 = workspace 1, class:(Postman,Insomnium,HTTPie,org.keepassxc.KeePassXC) 118 118 windowrulev2 = workspace 2, class:(firefox|Google-chrome) 119 119 windowrulev2 = workspace 2, title:(Google Chrome) ··· 142 142 windowrulev2 = nofocus,class:^(xwaylandvideobridge)$ 143 143 windowrulev2 = noinitialfocus,class:^(xwaylandvideobridge)$ 144 144 # }}} 145 -## keymaps {{{ 145 +# keymaps {{{ 146 146 bind = $mod, q, killactive 147 147 bind = $mod, Return, exec, $terminal 148 148 ··· 156 156 bind = , Print, exec, grim -g "$(slurp)" - | wl-copy 157 157 bind = Alt, Print, exec, grim -g "$(slurp)" 158 158 159 - ## programs {{{ 159 + # programs {{{ 160 160 bind = $mod SHIFT, w, exec, firefox 161 161 bind = $mod SHIFT, f, exec, nautilus 162 162 bind = $mod SHIFT, d, exec, ~/.local/appimage/logseq.AppImage ··· 164 164 bind = $mod SHIFT, s, exec, spotify 165 165 bind = $mod SHIFT, t, exec, telegram-desktop 166 166 bind = $mod SHIFT, c, exec, morgen 167 - ## }}} 168 - ## sound {{{ 167 + # }}} 168 + # sound {{{ 169 169 bindl = , XF86AudioRaiseVolume, exec, wpctl set-volume -l 1.4 @DEFAULT_AUDIO_SINK@ 5%+ 170 170 bindl = , XF86AudioLowerVolume, exec, wpctl set-volume -l 1.4 @DEFAULT_AUDIO_SINK@ 5%- 171 171 bindl = , XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle 172 172 bindl = , XF86AudioPlay, exec, playerctl play-pause 173 173 bindl = , XF86AudioNext, exec, playerctl next 174 174 bindl = , XF86AudioPrev, exec, playerctl previous 175 - ## }}} 176 - ## brightness {{{ 175 + # }}} 176 + # brightness {{{ 177 177 bindl = , XF86MonBrightnessUp, exec, brightnessctl set +5% 178 178 bindl = , XF86MonBrightnessDown, exec, brightnessctl set 5%- 179 - ## }}} 180 - ## layout spesific {{{ 179 + # }}} 180 + # layout spesific {{{ 181 181 bind = $mod, P, pseudo, # dwindle 182 182 bind = $mod ALT, J, togglesplit, # dwindle 183 183 # }}} 184 - ## wm {{{ 184 + # wm {{{ 185 185 bind = $mod, h, movefocus, l 186 186 bind = $mod, j, movefocus, d 187 187 bind = $mod, k, movefocus, u ··· 205 205 bind = $mod SHIFT, k, movewindow, u 206 206 bind = $mod SHIFT, j, movewindow, d 207 207 208 - ## workspaces {{{ 208 + # workspaces {{{ 209 209 bind = $mod, 1, workspace, 1 210 210 bind = $mod, 2, workspace, 2 211 211 bind = $mod, 3, workspace, 3