small fixes

This commit is contained in:
Ittihadyya 2024-11-25 07:08:24 +02:00
parent ebaff5eea6
commit d447092902

View file

@ -40,13 +40,13 @@
style = "monospace";
size = 8.0;
};
terminal = "$\{pkgs.terminator}/bin/terminator";
terminal = "terminator";
keybindings =
let
mod = config.wayland.windowManager.sway.config.modifier;
term = config.wayland.windowManager.sway.config.terminal;
rofi = "$\{pkgs.rofi-wayland}/bin/rofi";
rofi = "rofi";
in
{
"${mod}+Return" = "exec ${term}"; # opens a terminal window
@ -56,7 +56,7 @@
"${mod}+Tab" = "exec --no-startup-id ${rofi} -show window";
# "${mod}+p" = ''mode "resize"'';
"${mod}+o" = "exec \${pkgs.swaylock}/bin/swaylock"; # locks the session, requiring password to unlock.
"${mod}+o" = "exec swaylock"; # locks the session, requiring password to unlock.
### move focus
"${mod}+Left" = "focus left";
@ -85,7 +85,7 @@
"${mod}+a" = "focus parent";
"${mod}+Shift+a" = "focus child";
"${mod}+Shift+c" = "reload"; # config hot-reload, probably gonna be useless cause we're on nixOS, though.
"${mod}+Shift+d" = "reload";
### moves user around
"${mod}+1" = "workspace number 1";