Update keybindings + fix cursor

This commit is contained in:
Filippo Berto 2022-05-12 09:58:51 +02:00
parent d02c81a189
commit f96a22326c
3 changed files with 7 additions and 8 deletions

View file

@ -23,7 +23,7 @@
package = pkgs.qogir-icon-theme; package = pkgs.qogir-icon-theme;
name = "Qogir"; name = "Qogir";
# size = 64; # size = 64;
x11.enable = true; # x11.enable = true;
gtk.enable = true; gtk.enable = true;
}; };
}; };

View file

@ -4,10 +4,9 @@
let let
primaryTerminal = "kitty"; primaryTerminal = "kitty";
secondaryTerminal = "terminator"; secondaryTerminal = "terminator";
primaryFileManager = "${pkgs.gnome.nautilus}/bin/nautilus"; pcmanfm = "${pkgs.pcmanfm}/bin/pcmanfm";
secondaryFileManager = "${pkgs.pcmanfm}/bin/pcmanfm";
playerctl = "${pkgs.playerctl}/bin/playerctl"; playerctl = "${pkgs.playerctl}/bin/playerctl";
pulseaudio-ctl = "${pkgs.pulseaudio-ctl}/bin/pulseaudio-ctl"; pamixer = "${pkgs.pamixer}/bin/pamixer";
terminator = "${pkgs.terminator}/bin/terminator"; terminator = "${pkgs.terminator}/bin/terminator";
update-backgroundCmd = "${pkgs.update-background}/bin/update-background"; update-backgroundCmd = "${pkgs.update-background}/bin/update-background";
xbacklight = "${pkgs.xorg.xbacklight}/bin/xbacklight"; xbacklight = "${pkgs.xorg.xbacklight}/bin/xbacklight";
@ -26,7 +25,7 @@
"super + ctrl + {m,x,y,z}" = "bspc node -g {marked,locked,sticky,private}"; "super + ctrl + {m,x,y,z}" = "bspc node -g {marked,locked,sticky,private}";
"super + ctrl + shift + space" = "bspc query -N -d | xargs -I id -n 1 bspc node id -p cancel"; "super + ctrl + shift + space" = "bspc query -N -d | xargs -I id -n 1 bspc node id -p cancel";
"super + ctrl + space" = "bspc node -p cancel"; "super + ctrl + space" = "bspc node -p cancel";
"super + {_,shift +} e" = "{${primaryFileManager} -w, ${secondaryFileManager} -n}"; "super + e" = "${pcmanfm} -n";
"super + Escape" = "pkill -USR1 -x sxhkd"; "super + Escape" = "pkill -USR1 -x sxhkd";
"super + g" = "bspc node -s biggest"; "super + g" = "bspc node -s biggest";
"super + {grave,Tab}" = "bspc {node,desktop} -f last"; "super + {grave,Tab}" = "bspc {node,desktop} -f last";
@ -44,7 +43,7 @@
"alt + Tab" = "rofi -show window"; "alt + Tab" = "rofi -show window";
"super + {t,shift + t,s,f}" = "bspc node -t {tiled,pseudo_tiled,floating,fullscreen}"; "super + {t,shift + t,s,f}" = "bspc node -t {tiled,pseudo_tiled,floating,fullscreen}";
"super + y" = "bspc node newest.marked.local -n newest.!automatic.local"; "super + y" = "bspc node newest.marked.local -n newest.!automatic.local";
"{XF86AudioLowerVolume,XF86AudioMute,XF86AudioRaiseVolume}" = "${pulseaudio-ctl} {down,mute,up}"; "{XF86AudioLowerVolume,XF86AudioMute,XF86AudioRaiseVolume}" = "${pamixer} {-d 5,-t,-i 5}";
"XF86Audio{Next,Play,Prev}" = "${playerctl} {next,play-pause,previous}"; "XF86Audio{Next,Play,Prev}" = "${playerctl} {next,play-pause,previous}";
"XF86MonBrightness{Up,Down}" = "${xbacklight} {+,-}10%"; "XF86MonBrightness{Up,Down}" = "${xbacklight} {+,-}10%";
}; };

View file

@ -18,7 +18,7 @@
droidcam droidcam
easyeffects easyeffects
# element-desktop # matrix client # element-desktop # matrix client
evince # evince
evolution evolution
file file
# firefox # firefox
@ -46,6 +46,7 @@
httpie httpie
# hyperspace-cli # hyperspace-cli
inkscape inkscape
jabref
jetbrains.datagrip jetbrains.datagrip
# keepassxc # keepassxc
krita krita
@ -61,7 +62,6 @@
nix-prefetch-scripts nix-prefetch-scripts
nix-tree nix-tree
obsidian obsidian
okular
openvpn openvpn
p7zip p7zip
pavucontrol pavucontrol