Add some extra workspaces to bspwm and polybar
This commit is contained in:
parent
b3b75744df
commit
fb18c07c68
|
@ -77,7 +77,6 @@
|
||||||
services.xserver.displayManager = {
|
services.xserver.displayManager = {
|
||||||
autoLogin.user = "xenia";
|
autoLogin.user = "xenia";
|
||||||
defaultSession = "xfce+bspwm";
|
defaultSession = "xfce+bspwm";
|
||||||
# defaultSession = "xfce+awesome";
|
|
||||||
};
|
};
|
||||||
hardware.steam-hardware.enable = true;
|
hardware.steam-hardware.enable = true;
|
||||||
programs = {
|
programs = {
|
||||||
|
@ -160,11 +159,11 @@
|
||||||
bspc monitor DP-1-1 -r
|
bspc monitor DP-1-1 -r
|
||||||
bspc monitor DP-1-2 -r
|
bspc monitor DP-1-2 -r
|
||||||
fi
|
fi
|
||||||
for desktop in "dev" "browser" "files" "chat" "remote"; do
|
for desktop in "main" "dev" "browser" "files" "chat" "remote" "steam" "misc"; do
|
||||||
bspc desktop $desktop --to-monitor primary
|
bspc desktop $desktop --to-monitor primary
|
||||||
done
|
done
|
||||||
bspc monitor primary -o dev browser files chat remote
|
bspc monitor primary -o main dev browser files chat remote steam misc
|
||||||
bspc monitor primary -d dev browser files chat remote
|
bspc monitor primary -d main dev browser files chat remote steam misc
|
||||||
bspc wm -o
|
bspc wm -o
|
||||||
${pkgs.feh}/bin/feh --no-fehbg --bg-fill ${wallpapers.outputs.default}
|
${pkgs.feh}/bin/feh --no-fehbg --bg-fill ${wallpapers.outputs.default}
|
||||||
'';
|
'';
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
pointer_action3 = "resize_corner";
|
pointer_action3 = "resize_corner";
|
||||||
focus_follows_pointer = true;
|
focus_follows_pointer = true;
|
||||||
};
|
};
|
||||||
monitors."primary" = ["dev" "browser" "files" "chat" "remote"];
|
monitors."primary" = ["main" "dev" "browser" "files" "chat" "remote" "steam" "misc"];
|
||||||
rules = {
|
rules = {
|
||||||
"Xfce4-terminal".state = "floating";
|
"Xfce4-terminal".state = "floating";
|
||||||
"Nm-connection-editor".state = "floating";
|
"Nm-connection-editor".state = "floating";
|
||||||
|
@ -44,45 +44,33 @@
|
||||||
# Terminal emulators
|
# Terminal emulators
|
||||||
"super + Return" = "wezterm";
|
"super + Return" = "wezterm";
|
||||||
"super + shift + Return" = "xfce4-terminal --drop-down";
|
"super + shift + Return" = "xfce4-terminal --drop-down";
|
||||||
|
|
||||||
# Launcher
|
# Launcher
|
||||||
"super + @space" = "rofi -show drun";
|
"super + @space" = "rofi -show drun";
|
||||||
|
|
||||||
# Shortcuts
|
# Shortcuts
|
||||||
"super + n" = "bspc desktop -f dev && neovide --multigrid";
|
"super + shift + q" = "xfce4-session-logout";
|
||||||
"super + r" = "bspc desktop -f files && wezterm -e ranger";
|
|
||||||
"super + p" = "xfce4-session-logout";
|
|
||||||
"super + F1" = "xfce4-screensaver-command --lock";
|
"super + F1" = "xfce4-screensaver-command --lock";
|
||||||
|
"super + r" = "bspc desktop -f files && wezterm -e ranger";
|
||||||
# bspwm hotkeys
|
# bspwm hotkeys
|
||||||
"super + Escape" = "pkill -USR1 -x sxhkd";
|
"super + Escape" = "pkill -USR1 -x sxhkd";
|
||||||
"super + alt + {q,r}" = "bspc {quit,wm -r}";
|
"super + alt + {q,r}" = "bspc {quit,wm -r}";
|
||||||
"super + {_,shift + }q" = "bspc node -{c,k}";
|
"super + {_,shift + }q" = "bspc node -{c,k}";
|
||||||
"super + m" = "bspc desktop -l next";
|
"super + m" = "bspc desktop -l next";
|
||||||
|
|
||||||
# State/Flags
|
# State/Flags
|
||||||
"super + {t,shift + t,s,shift + m}" = "bspc node -t {tiled,pseudo_tiled,floating,fullscreen}";
|
"super + {t,shift + t,v,shift + m}" = "bspc node -t {tiled,pseudo_tiled,floating,fullscreen}";
|
||||||
|
|
||||||
# Focus/Scap
|
# Focus/Scap
|
||||||
"super + {_,shift + }{h,j,k,l}" = "bspc node -{f,s} {west,south,north,east}";
|
"super + {_,shift + }{h,j,k,l}" = "bspc node -{f,s} {west,south,north,east}";
|
||||||
"super + {_,shift + }{Left,Down,Up,Right}" = "bspc node -{f,s} {west,south,north,east}";
|
"super + {_,shift + }{Left,Down,Up,Right}" = "bspc node -{f,s} {west,south,north,east}";
|
||||||
"super + {_,shift + }{comma,period}" = "bspc {desktop -f,node -d} {prev,next}.local.occupied --follow";
|
"super + {_,shift + }{comma,period}" = "bspc {desktop -f,node -d} {prev,next}.local.occupied --follow";
|
||||||
"super + {_,shift + }c" = "bspc node -f {next,prev}.local.!hidden.window";
|
"super + {_,shift + }c" = "bspc node -f {next,prev}.local.!hidden.window";
|
||||||
"super + {_,shift + }n" = "bspc {desktop -f,node -d} next.local --follow";
|
|
||||||
"super + {_,shift + }bracket{left,right}" = "bspc {monitor -f,node -m} {prev,next} --follow";
|
"super + {_,shift + }bracket{left,right}" = "bspc {monitor -f,node -m} {prev,next} --follow";
|
||||||
"super + {grave,Tab}" = "bspc {node,desktop} -f last";
|
"super + {grave,Tab}" = "bspc {node,desktop} -f last";
|
||||||
"super + {_,shift + }{1-9}" = "bspc {desktop -f,node -d} '^{1-9}' --follow";
|
"super + {_,shift + }{a,s,d,f,u,i,o,p}" = "bspc {desktop -f,node -d} '{main,dev,browser,files,chat,remote,steam,misc}' --follow";
|
||||||
# Named workspaces
|
|
||||||
"super + {_,shift + }{d,w,f,e}" = "bspc {desktop -f,node -d} '{dev,browser,files,chat}' --follow";
|
|
||||||
|
|
||||||
# Preselect
|
# Preselect
|
||||||
"super + ctrl + {h,j,k,l}" = "bspc node -p {west,south,north,east}";
|
"super + ctrl + {h,j,k,l}" = "bspc node -p {west,south,north,east}";
|
||||||
"super + ctrl + space" = "bspc node -p cancel";
|
"super + ctrl + space" = "bspc node -p cancel";
|
||||||
"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";
|
||||||
|
|
||||||
# Screenshot
|
# Screenshot
|
||||||
"Print" = "flameshot gui";
|
"Print" = "flameshot gui";
|
||||||
|
|
||||||
# Volume control keys
|
# Volume control keys
|
||||||
"XF86AudioMute" = "pamixer -t";
|
"XF86AudioMute" = "pamixer -t";
|
||||||
"XF86AudioRaiseVolume" = "pamixer -i 2";
|
"XF86AudioRaiseVolume" = "pamixer -i 2";
|
||||||
|
|
|
@ -103,12 +103,15 @@ click-left = "powermenu"
|
||||||
[module/xworkspaces]
|
[module/xworkspaces]
|
||||||
type = internal/xworkspaces
|
type = internal/xworkspaces
|
||||||
|
|
||||||
icon-0 = "dev;"
|
icon-0 = "main; "
|
||||||
icon-1 = "browser;"
|
icon-1 = "dev; "
|
||||||
icon-2 = "files;"
|
icon-2 = "browser; "
|
||||||
icon-3 = "chat;"
|
icon-3 = "files; "
|
||||||
icon-4 = "remote;"
|
icon-4 = "chat; "
|
||||||
icon-default = " "
|
icon-5 = "remote; "
|
||||||
|
icon-6 = "steam; "
|
||||||
|
icon-7 = "misc; "
|
||||||
|
icon-default = " "
|
||||||
|
|
||||||
label-active = %icon%
|
label-active = %icon%
|
||||||
label-active-background = ${colors.background-alt}
|
label-active-background = ${colors.background-alt}
|
||||||
|
|
Loading…
Reference in a new issue