mirror of
https://github.com/olexsmir/dotfiles.git
synced 2026-01-15 08:41:34 +02:00
niri: run :sort(and break it because i didn't like some things) on hotkeys
This commit is contained in:
parent
dbc37f70a9
commit
551a3fcbfd
1 changed files with 17 additions and 17 deletions
|
|
@ -181,48 +181,52 @@ window-rule {
|
||||||
// }}}
|
// }}}
|
||||||
// keybinds {{{
|
// keybinds {{{
|
||||||
binds {
|
binds {
|
||||||
Mod+Q { close-window; }
|
Mod+d { spawn "dunstctl" "close"; }
|
||||||
|
Mod+q { close-window; }
|
||||||
|
Mod+Alt+l { spawn "hyprlock"; }
|
||||||
Mod+Return { spawn "kitty"; }
|
Mod+Return { spawn "kitty"; }
|
||||||
Mod+Shift+Return { spawn "wofi" "--show" "drun"; }
|
|
||||||
Mod+Shift+Escape { spawn "~/bin/wofi-power-menu" "niri";}
|
Mod+Shift+Escape { spawn "~/bin/wofi-power-menu" "niri";}
|
||||||
Super+Alt+L { spawn "hyprlock"; }
|
Mod+Shift+Return { spawn "wofi" "--show" "drun"; }
|
||||||
|
|
||||||
// programs {{{
|
// programs {{{
|
||||||
Mod+Shift+a { spawn "anki"; }
|
Mod+Shift+a { spawn "anki"; }
|
||||||
Mod+Shift+d { spawn "obsidian"; }
|
Mod+Shift+d { spawn "obsidian"; }
|
||||||
Mod+Shift+f { spawn "newsflash"; }
|
Mod+Shift+f { spawn "newsflash"; }
|
||||||
|
Mod+Shift+r { spawn "solanum"; }
|
||||||
Mod+Shift+s { spawn "spotify"; }
|
Mod+Shift+s { spawn "spotify"; }
|
||||||
Mod+Shift+t { spawn "telegram-desktop"; }
|
Mod+Shift+t { spawn "telegram-desktop"; }
|
||||||
Mod+Shift+w { spawn "zen-browser"; }
|
Mod+Shift+w { spawn "zen-browser"; }
|
||||||
Mod+Shift+r { spawn "solanum"; }
|
|
||||||
// }}}
|
// }}}
|
||||||
// func keys {{{
|
// func keys {{{
|
||||||
// audio
|
// audio
|
||||||
XF86AudioRaiseVolume allow-when-locked=true { spawn "wpctl" "set-volume" "@DEFAULT_AUDIO_SINK@" "5%+"; }
|
|
||||||
XF86AudioLowerVolume allow-when-locked=true { spawn "wpctl" "set-volume" "@DEFAULT_AUDIO_SINK@" "5%-"; }
|
XF86AudioLowerVolume allow-when-locked=true { spawn "wpctl" "set-volume" "@DEFAULT_AUDIO_SINK@" "5%-"; }
|
||||||
XF86AudioMute allow-when-locked=true { spawn "wpctl" "set-mute" "@DEFAULT_AUDIO_SINK@" "toggle"; }
|
|
||||||
XF86AudioMicMute allow-when-locked=true { spawn "wpctl" "set-mute" "@DEFAULT_AUDIO_SOURCE@" "toggle"; }
|
XF86AudioMicMute allow-when-locked=true { spawn "wpctl" "set-mute" "@DEFAULT_AUDIO_SOURCE@" "toggle"; }
|
||||||
XF86AudioPlay allow-when-locked=true { spawn "playerctl" "play-pause"; }
|
XF86AudioMute allow-when-locked=true { spawn "wpctl" "set-mute" "@DEFAULT_AUDIO_SINK@" "toggle"; }
|
||||||
XF86AudioNext allow-when-locked=true { spawn "playerctl" "next"; }
|
XF86AudioNext allow-when-locked=true { spawn "playerctl" "next"; }
|
||||||
|
XF86AudioPlay allow-when-locked=true { spawn "playerctl" "play-pause"; }
|
||||||
XF86AudioPrev allow-when-locked=true { spawn "playerctl" "previous"; }
|
XF86AudioPrev allow-when-locked=true { spawn "playerctl" "previous"; }
|
||||||
|
XF86AudioRaiseVolume allow-when-locked=true { spawn "wpctl" "set-volume" "@DEFAULT_AUDIO_SINK@" "5%+"; }
|
||||||
// brighthness
|
// brighthness
|
||||||
XF86MonBrightnessUp allow-when-locked=true { spawn "brightnessctl" "set" "+5%"; }
|
|
||||||
XF86MonBrightnessDown allow-when-locked=true { spawn "brightnessctl" "set" "5%-"; }
|
XF86MonBrightnessDown allow-when-locked=true { spawn "brightnessctl" "set" "5%-"; }
|
||||||
|
XF86MonBrightnessUp allow-when-locked=true { spawn "brightnessctl" "set" "+5%"; }
|
||||||
// screen shots
|
// screen shots
|
||||||
Print { screenshot; }
|
Print { screenshot; }
|
||||||
Ctrl+Print { screenshot-screen; }
|
|
||||||
Alt+Print { screenshot-window; }
|
Alt+Print { screenshot-window; }
|
||||||
|
Ctrl+Print { screenshot-screen; }
|
||||||
// }}}
|
// }}}
|
||||||
// wm {{{
|
// wm {{{
|
||||||
Mod+O repeat=false { toggle-overview; }
|
Mod+O repeat=false { toggle-overview; }
|
||||||
Alt+Tab { focus-window-previous; }
|
Alt+Tab { focus-window-previous; }
|
||||||
|
|
||||||
// window management {{{
|
// window management {{{
|
||||||
|
Mod+Ctrl+f { toggle-window-floating; }
|
||||||
|
|
||||||
Mod+r { switch-preset-column-width; }
|
Mod+r { switch-preset-column-width; }
|
||||||
Mod+t { maximize-column; }
|
Mod+t { maximize-column; }
|
||||||
Mod+f { fullscreen-window; }
|
Mod+f { fullscreen-window; }
|
||||||
|
|
||||||
Mod+Ctrl+f { toggle-window-floating; }
|
Mod+Minus { set-column-width "-10%"; }
|
||||||
|
Mod+Equal { set-column-width "+10%"; }
|
||||||
|
|
||||||
Mod+h { focus-column-left; }
|
Mod+h { focus-column-left; }
|
||||||
Mod+j { focus-window-down; }
|
Mod+j { focus-window-down; }
|
||||||
|
|
@ -233,16 +237,13 @@ binds {
|
||||||
Mod+Shift+k { move-window-up; }
|
Mod+Shift+k { move-window-up; }
|
||||||
Mod+Shift+l { move-column-right; }
|
Mod+Shift+l { move-column-right; }
|
||||||
|
|
||||||
Mod+Minus { set-column-width "-10%"; }
|
// monitor navigation
|
||||||
Mod+Equal { set-column-width "+10%"; }
|
|
||||||
// }}}
|
|
||||||
// monitor navigation {{{
|
|
||||||
Mod+Comma { focus-monitor-left; }
|
Mod+Comma { focus-monitor-left; }
|
||||||
Mod+Period { focus-monitor-right; }
|
Mod+Period { focus-monitor-right; }
|
||||||
Mod+Shift+Comma { move-column-to-monitor-left; }
|
Mod+Shift+Comma { move-column-to-monitor-left; }
|
||||||
Mod+Shift+Period { move-column-to-monitor-right; }
|
Mod+Shift+Period { move-column-to-monitor-right; }
|
||||||
// }}}
|
|
||||||
// workspaces {{{
|
// workspaces
|
||||||
Mod+1 { focus-workspace 1; }
|
Mod+1 { focus-workspace 1; }
|
||||||
Mod+2 { focus-workspace 2; }
|
Mod+2 { focus-workspace 2; }
|
||||||
Mod+3 { focus-workspace 3; }
|
Mod+3 { focus-workspace 3; }
|
||||||
|
|
@ -257,6 +258,5 @@ binds {
|
||||||
Mod+WheelScrollDown cooldown-ms=150 { focus-workspace-down; }
|
Mod+WheelScrollDown cooldown-ms=150 { focus-workspace-down; }
|
||||||
Mod+WheelScrollUp cooldown-ms=150 { focus-workspace-up; }
|
Mod+WheelScrollUp cooldown-ms=150 { focus-workspace-up; }
|
||||||
// }}}
|
// }}}
|
||||||
// }}}
|
|
||||||
}
|
}
|
||||||
// }}}
|
// }}}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue