mirror of
https://github.com/youwen5/nixos.git
synced 2024-11-28 11:43:51 -08:00
feat: dejankify and rejankify browser binds
This commit is contained in:
parent
e27f42a25c
commit
2be5d72d43
1 changed files with 69 additions and 64 deletions
|
@ -37,85 +37,90 @@
|
||||||
"XCURSOR_THEME,Bibata-Modern-Ice"
|
"XCURSOR_THEME,Bibata-Modern-Ice"
|
||||||
"XCURSOR_SIZE,26"
|
"XCURSOR_SIZE,26"
|
||||||
];
|
];
|
||||||
bind = [
|
bind =
|
||||||
# External reserved keys: SUPER + Z and SUPER + X for zen-browser.
|
[
|
||||||
|
# External reserved keys: SUPER + Z and SUPER + X for zen-browser.
|
||||||
|
|
||||||
# Application Keybinds
|
# Application Keybinds
|
||||||
"$mod, F, exec, zen-bin || librewolf"
|
"$mod, T, exec, kitty"
|
||||||
"$mod, T, exec, kitty"
|
"$mod, E, exec, dolphin"
|
||||||
"$mod, E, exec, dolphin"
|
"$mod, R, exec, pavucontrol"
|
||||||
"$mod, R, exec, pavucontrol"
|
"$mod, M, exec, thunderbird"
|
||||||
"$mod, M, exec, thunderbird"
|
"$mod, B, exec, waypaper"
|
||||||
"$mod, B, exec, waypaper"
|
|
||||||
|
|
||||||
# Window actions
|
# Window actions
|
||||||
"$mod, Q, killactive"
|
"$mod, Q, killactive"
|
||||||
"$mod, W, togglefloating"
|
"$mod, W, togglefloating"
|
||||||
"$mod, V, togglesplit"
|
"$mod, V, togglesplit"
|
||||||
"$mod, Return, fullscreen"
|
"$mod, Return, fullscreen"
|
||||||
|
|
||||||
# Move around
|
# Move around
|
||||||
"$mod, $Left, movefocus, l"
|
"$mod, $Left, movefocus, l"
|
||||||
"$mod, $Right, movefocus, r"
|
"$mod, $Right, movefocus, r"
|
||||||
"$mod, $Up, movefocus, u"
|
"$mod, $Up, movefocus, u"
|
||||||
"$mod, $Down, movefocus, d"
|
"$mod, $Down, movefocus, d"
|
||||||
|
|
||||||
"$mod, 1, workspace, 1"
|
"$mod, 1, workspace, 1"
|
||||||
"$mod, 2, workspace, 2"
|
"$mod, 2, workspace, 2"
|
||||||
"$mod, 3, workspace, 3"
|
"$mod, 3, workspace, 3"
|
||||||
"$mod, 4, workspace, 4"
|
"$mod, 4, workspace, 4"
|
||||||
"$mod, 5, workspace, 5"
|
"$mod, 5, workspace, 5"
|
||||||
"$mod, 6, workspace, 6"
|
"$mod, 6, workspace, 6"
|
||||||
"$mod, 7, workspace, 7"
|
"$mod, 7, workspace, 7"
|
||||||
"$mod, 8, workspace, 8"
|
"$mod, 8, workspace, 8"
|
||||||
"$mod, 9, workspace, 9"
|
"$mod, 9, workspace, 9"
|
||||||
"$mod, 0, workspace, 10"
|
"$mod, 0, workspace, 10"
|
||||||
|
|
||||||
# Move active window to a workspace with mainMod + SHIFT + [0-9]
|
# Move active window to a workspace with mainMod + SHIFT + [0-9]
|
||||||
"$mod+Shift, 1, movetoworkspace, 1"
|
"$mod+Shift, 1, movetoworkspace, 1"
|
||||||
"$mod+Shift, 2, movetoworkspace, 2"
|
"$mod+Shift, 2, movetoworkspace, 2"
|
||||||
"$mod+Shift, 3, movetoworkspace, 3"
|
"$mod+Shift, 3, movetoworkspace, 3"
|
||||||
"$mod+Shift, 4, movetoworkspace, 4"
|
"$mod+Shift, 4, movetoworkspace, 4"
|
||||||
"$mod+Shift, 5, movetoworkspace, 5"
|
"$mod+Shift, 5, movetoworkspace, 5"
|
||||||
"$mod+Shift, 6, movetoworkspace, 6"
|
"$mod+Shift, 6, movetoworkspace, 6"
|
||||||
"$mod+Shift, 7, movetoworkspace, 7"
|
"$mod+Shift, 7, movetoworkspace, 7"
|
||||||
"$mod+Shift, 8, movetoworkspace, 8"
|
"$mod+Shift, 8, movetoworkspace, 8"
|
||||||
"$mod+Shift, 9, movetoworkspace, 9"
|
"$mod+Shift, 9, movetoworkspace, 9"
|
||||||
"$mod+Shift, 0, movetoworkspace, 10"
|
"$mod+Shift, 0, movetoworkspace, 10"
|
||||||
|
|
||||||
# move to the first empty workspace instantly
|
# move to the first empty workspace instantly
|
||||||
"$mod+Ctrl, $Down, workspace, empty"
|
"$mod+Ctrl, $Down, workspace, empty"
|
||||||
"$mod+Ctrl, $Up, movetoworkspace, empty"
|
"$mod+Ctrl, $Up, movetoworkspace, empty"
|
||||||
|
|
||||||
# Special workspace
|
# Special workspace
|
||||||
"$mod, S, togglespecialworkspace"
|
"$mod, S, togglespecialworkspace"
|
||||||
"$mod+Alt, S, movetoworkspacesilent, special"
|
"$mod+Alt, S, movetoworkspacesilent, special"
|
||||||
|
|
||||||
# Move windows around
|
# Move windows around
|
||||||
"$mod+Shift, $Left, movewindow, l"
|
"$mod+Shift, $Left, movewindow, l"
|
||||||
"$mod+Shift, $Right, movewindow, r"
|
"$mod+Shift, $Right, movewindow, r"
|
||||||
"$mod+Shift, $Up, movewindow, u"
|
"$mod+Shift, $Up, movewindow, u"
|
||||||
"$mod+Shift, $Down, movewindow, d"
|
"$mod+Shift, $Down, movewindow, d"
|
||||||
|
|
||||||
"$mod+Ctrl+Shift, $Right, movetoworkspace, r+1"
|
"$mod+Ctrl+Shift, $Right, movetoworkspace, r+1"
|
||||||
"$mod+Ctrl+Shift, $Left, movetoworkspace, r-1"
|
"$mod+Ctrl+Shift, $Left, movetoworkspace, r-1"
|
||||||
|
|
||||||
"$mod+Ctrl, $Right, workspace, r+1"
|
"$mod+Ctrl, $Right, workspace, r+1"
|
||||||
"$mod+Ctrl, $Left, workspace, r-1"
|
"$mod+Ctrl, $Left, workspace, r-1"
|
||||||
|
|
||||||
# Utilities
|
# Utilities
|
||||||
"$mod, Space, exec, pkill -x rofi || rofi -show drun" # Run rofi application launcher
|
"$mod, Space, exec, pkill -x rofi || rofi -show drun" # Run rofi application launcher
|
||||||
"$mod, G, exec, pkill -x rofi || rofi -show window" # Run rofi window switcher
|
"$mod, G, exec, pkill -x rofi || rofi -show window" # Run rofi window switcher
|
||||||
|
|
||||||
''$mod, P, exec, grim -g "$(slurp)" - | swappy -f -'' # Screenshot
|
''$mod, P, exec, grim -g "$(slurp)" - | swappy -f -'' # Screenshot
|
||||||
|
|
||||||
"$mod, Backspace, exec, wlogout" # show logout menu
|
"$mod, Backspace, exec, wlogout" # show logout menu
|
||||||
|
|
||||||
"$mod, I, exec, hyprlock"
|
"$mod, I, exec, hyprlock"
|
||||||
|
|
||||||
# System control
|
# System control
|
||||||
",XF86AudioMute, exec, pamixer -t"
|
",XF86AudioMute, exec, pamixer -t"
|
||||||
];
|
]
|
||||||
|
++ (
|
||||||
|
if pkgs.system != "aarch64-linux"
|
||||||
|
then ["$mod, F, exec, zen-bin"]
|
||||||
|
else ["$mod, F, exec, librewolf"]
|
||||||
|
);
|
||||||
bindm = [
|
bindm = [
|
||||||
"$mod, mouse:272, movewindow"
|
"$mod, mouse:272, movewindow"
|
||||||
"$mod, mouse:273, resizewindow"
|
"$mod, mouse:273, resizewindow"
|
||||||
|
|
Loading…
Reference in a new issue