all repos

dotfiles @ 551a3fcbfdd86be6ce26d8e06bf191fe99dd0986

i use rach linux btw
1 files changed, 17 insertions(+), 17 deletions(-)
niri: run :sort(and break it because i didn't like some things) on hotkeys
Author: Oleksandr Smirnov olexsmir@gmail.com
Committed at: 2025-06-21 23:57:25 +0300
Parent: dbc37f7
M config/niri/config.kdl
···
        181
        181
         // }}}

      
        182
        182
         // keybinds {{{

      
        183
        183
         binds {

      
        184
        
        -  Mod+Q { close-window; }

      
        
        184
        +  Mod+d { spawn "dunstctl" "close"; }

      
        
        185
        +  Mod+q { close-window; }

      
        
        186
        +  Mod+Alt+l { spawn "hyprlock"; }

      
        185
        187
           Mod+Return { spawn "kitty"; }

      
        
        188
        +  Mod+Shift+Escape { spawn "~/bin/wofi-power-menu" "niri";}

      
        186
        189
           Mod+Shift+Return { spawn "wofi" "--show" "drun"; }

      
        187
        
        -  Mod+Shift+Escape { spawn "~/bin/wofi-power-menu" "niri";}

      
        188
        
        -  Super+Alt+L { spawn "hyprlock"; }

      
        189
        190
         

      
        190
        191
           // programs {{{

      
        191
        192
           Mod+Shift+a { spawn "anki"; }

      
        192
        193
           Mod+Shift+d { spawn "obsidian"; }

      
        193
        194
           Mod+Shift+f { spawn "newsflash"; }

      
        
        195
        +  Mod+Shift+r { spawn "solanum"; }

      
        194
        196
           Mod+Shift+s { spawn "spotify"; }

      
        195
        197
           Mod+Shift+t { spawn "telegram-desktop"; }

      
        196
        198
           Mod+Shift+w { spawn "zen-browser"; }

      
        197
        
        -  Mod+Shift+r { spawn "solanum"; }

      
        198
        199
           // }}}

      
        199
        200
           // func keys {{{

      
        200
        201
           // audio

      
        201
        
        -  XF86AudioRaiseVolume allow-when-locked=true { spawn "wpctl" "set-volume" "@DEFAULT_AUDIO_SINK@" "5%+"; }

      
        202
        202
           XF86AudioLowerVolume allow-when-locked=true { spawn "wpctl" "set-volume" "@DEFAULT_AUDIO_SINK@" "5%-"; }

      
        203
        
        -  XF86AudioMute        allow-when-locked=true { spawn "wpctl" "set-mute" "@DEFAULT_AUDIO_SINK@" "toggle"; }

      
        204
        203
           XF86AudioMicMute     allow-when-locked=true { spawn "wpctl" "set-mute" "@DEFAULT_AUDIO_SOURCE@" "toggle"; }

      
        205
        
        -  XF86AudioPlay        allow-when-locked=true { spawn "playerctl" "play-pause"; }

      
        
        204
        +  XF86AudioMute        allow-when-locked=true { spawn "wpctl" "set-mute" "@DEFAULT_AUDIO_SINK@" "toggle"; }

      
        206
        205
           XF86AudioNext        allow-when-locked=true { spawn "playerctl" "next"; }

      
        
        206
        +  XF86AudioPlay        allow-when-locked=true { spawn "playerctl" "play-pause"; }

      
        207
        207
           XF86AudioPrev        allow-when-locked=true { spawn "playerctl" "previous"; }

      
        
        208
        +  XF86AudioRaiseVolume allow-when-locked=true { spawn "wpctl" "set-volume" "@DEFAULT_AUDIO_SINK@" "5%+"; }

      
        208
        209
           // brighthness

      
        209
        
        -  XF86MonBrightnessUp   allow-when-locked=true { spawn "brightnessctl" "set" "+5%"; }

      
        210
        210
           XF86MonBrightnessDown allow-when-locked=true { spawn "brightnessctl" "set" "5%-"; }

      
        
        211
        +  XF86MonBrightnessUp   allow-when-locked=true { spawn "brightnessctl" "set" "+5%"; }

      
        211
        212
           // screen shots

      
        212
        213
           Print { screenshot; }

      
        213
        
        -  Ctrl+Print { screenshot-screen; }

      
        214
        214
           Alt+Print { screenshot-window; }

      
        
        215
        +  Ctrl+Print { screenshot-screen; }

      
        215
        216
           // }}}

      
        216
        217
           // wm {{{

      
        217
        218
           Mod+O repeat=false { toggle-overview; }

      
        218
        219
           Alt+Tab { focus-window-previous; }

      
        219
        220
         

      
        220
        221
           // window management {{{

      
        
        222
        +  Mod+Ctrl+f { toggle-window-floating; }

      
        
        223
        +

      
        221
        224
           Mod+r { switch-preset-column-width; }

      
        222
        225
           Mod+t { maximize-column; }

      
        223
        226
           Mod+f { fullscreen-window; }

      
        224
        227
         

      
        225
        
        -  Mod+Ctrl+f { toggle-window-floating; }

      
        
        228
        +  Mod+Minus { set-column-width "-10%"; }

      
        
        229
        +  Mod+Equal { set-column-width "+10%"; }

      
        226
        230
         

      
        227
        231
           Mod+h { focus-column-left; }

      
        228
        232
           Mod+j { focus-window-down; }

      ···
        233
        237
           Mod+Shift+k { move-window-up; }

      
        234
        238
           Mod+Shift+l { move-column-right; }

      
        235
        239
         

      
        236
        
        -  Mod+Minus { set-column-width "-10%"; }

      
        237
        
        -  Mod+Equal { set-column-width "+10%"; }

      
        238
        
        -  // }}}

      
        239
        
        -  // monitor navigation {{{

      
        
        240
        +  // monitor navigation

      
        240
        241
           Mod+Comma { focus-monitor-left; }

      
        241
        242
           Mod+Period { focus-monitor-right; }

      
        242
        243
           Mod+Shift+Comma { move-column-to-monitor-left; }

      
        243
        244
           Mod+Shift+Period { move-column-to-monitor-right; }

      
        244
        
        -  // }}}

      
        245
        
        -  // workspaces {{{

      
        
        245
        +

      
        
        246
        +  // workspaces

      
        246
        247
           Mod+1 { focus-workspace 1; }

      
        247
        248
           Mod+2 { focus-workspace 2; }

      
        248
        249
           Mod+3 { focus-workspace 3; }

      ···
        256
        257
         

      
        257
        258
           Mod+WheelScrollDown cooldown-ms=150 { focus-workspace-down; }

      
        258
        259
           Mod+WheelScrollUp   cooldown-ms=150 { focus-workspace-up; }

      
        259
        
        -  // }}}

      
        260
        260
           // }}}

      
        261
        261
         }

      
        262
        262
         // }}}