special workspace
This commit is contained in:
parent
aa5e75e924
commit
bbd26675f8
1 changed files with 31 additions and 26 deletions
|
|
@ -73,7 +73,7 @@ let
|
||||||
*) [ -e "$repo" ] && my-editor $repo ;;
|
*) [ -e "$repo" ] && my-editor $repo ;;
|
||||||
esac
|
esac
|
||||||
'');
|
'');
|
||||||
|
|
||||||
switch-window = (pkgs.writeShellScriptBin "switch-window" ''
|
switch-window = (pkgs.writeShellScriptBin "switch-window" ''
|
||||||
${my-deps.hyprctl} clients -j | \
|
${my-deps.hyprctl} clients -j | \
|
||||||
${my-deps.jq} '.[] | .title' -r | \
|
${my-deps.jq} '.[] | .title' -r | \
|
||||||
|
|
@ -104,6 +104,7 @@ in
|
||||||
yt-dlp
|
yt-dlp
|
||||||
playerctl
|
playerctl
|
||||||
swww
|
swww
|
||||||
|
neofetch
|
||||||
|
|
||||||
inkscape
|
inkscape
|
||||||
pavucontrol
|
pavucontrol
|
||||||
|
|
@ -211,6 +212,8 @@ in
|
||||||
bind = SUPER, V, togglefloating,
|
bind = SUPER, V, togglefloating,
|
||||||
bind = SUPER_SHIFT, V, togglegroup,
|
bind = SUPER_SHIFT, V, togglegroup,
|
||||||
bind = SUPER_SHIFT, space, changegroupactive,n
|
bind = SUPER_SHIFT, space, changegroupactive,n
|
||||||
|
bind = SUPER, Y, togglespecialworkspace
|
||||||
|
bind = SUPER_SHIFT, Y, movetoworkspace, special
|
||||||
|
|
||||||
bind = SUPER, P, exec,${ my-scripts.bwmenu }/bin/bwmenu
|
bind = SUPER, P, exec,${ my-scripts.bwmenu }/bin/bwmenu
|
||||||
bind = SUPER_SHIFT, P, exec,${ my-scripts.bwotpmenu }/bin/bwotpmenu
|
bind = SUPER_SHIFT, P, exec,${ my-scripts.bwotpmenu }/bin/bwotpmenu
|
||||||
|
|
@ -282,7 +285,7 @@ in
|
||||||
}
|
}
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
programs.wlogout = {
|
programs.wlogout = {
|
||||||
enable = true;
|
enable = true;
|
||||||
style = ''
|
style = ''
|
||||||
|
|
@ -291,7 +294,7 @@ in
|
||||||
}
|
}
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
programs.waybar = {
|
programs.waybar = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
|
|
@ -416,7 +419,7 @@ in
|
||||||
};
|
};
|
||||||
colors = {
|
colors = {
|
||||||
foreground = "abb2bf";
|
foreground = "abb2bf";
|
||||||
background = "282c34";
|
background = "000000";
|
||||||
regular0 = "222222";
|
regular0 = "222222";
|
||||||
regular1 = "eb3a26";
|
regular1 = "eb3a26";
|
||||||
regular2 = "7fbc59";
|
regular2 = "7fbc59";
|
||||||
|
|
@ -893,30 +896,32 @@ color body red default "([a-z][a-z0-9+-]*://(((([a-z0-9_.!~*'();:&=+$,-]|%[0-9a-
|
||||||
gaps = {
|
gaps = {
|
||||||
inner = 10;
|
inner = 10;
|
||||||
};
|
};
|
||||||
keybindings = let
|
keybindings =
|
||||||
modifier = config.wayland.windowManager.sway.config.modifier;
|
let
|
||||||
in lib.mkOptionDefault {
|
modifier = config.wayland.windowManager.sway.config.modifier;
|
||||||
"${modifier}+Shift+x" = "kill";
|
in
|
||||||
"${modifier}+d" = "exec ${pkgs.wofi}/bin/wofi --show drun";
|
lib.mkOptionDefault {
|
||||||
"${modifier}+o" = "exec ${my-deps.fileman}";
|
"${modifier}+Shift+x" = "kill";
|
||||||
XF86AudioRaiseVolume = "exec ${ my-deps.amixer } sset Master 5%+ && ${ my-deps.amixer } sset Master unmute";
|
"${modifier}+d" = "exec ${pkgs.wofi}/bin/wofi --show drun";
|
||||||
XF86AudioLowerVolume = "exec ${ my-deps.amixer } sset Master 5%-";
|
"${modifier}+o" = "exec ${my-deps.fileman}";
|
||||||
XF86AudioPlay = "exec ${ my-scripts.play-pause }/bin/play-pause";
|
XF86AudioRaiseVolume = "exec ${ my-deps.amixer } sset Master 5%+ && ${ my-deps.amixer } sset Master unmute";
|
||||||
XF86AudioNext = "exec ${ my-deps.playerctl } next";
|
XF86AudioLowerVolume = "exec ${ my-deps.amixer } sset Master 5%-";
|
||||||
XF86AudioPrev = "exec ${ my-deps.playerctl } previous";
|
XF86AudioPlay = "exec ${ my-scripts.play-pause }/bin/play-pause";
|
||||||
XF86MonBrightnessUp = "exec ${ my-scripts.brightness-up }/bin/brightness-up";
|
XF86AudioNext = "exec ${ my-deps.playerctl } next";
|
||||||
XF86MonBrightnessDown = "exec ${ my-scripts.brightness-down }/bin/brightness-down";
|
XF86AudioPrev = "exec ${ my-deps.playerctl } previous";
|
||||||
"${modifier}+P" = "exec ${ my-scripts.bwmenu }/bin/bwmenu";
|
XF86MonBrightnessUp = "exec ${ my-scripts.brightness-up }/bin/brightness-up";
|
||||||
"${modifier}+SHIFT+P" = "exec ${ my-scripts.bwotpmenu }/bin/bwotpmenu";
|
XF86MonBrightnessDown = "exec ${ my-scripts.brightness-down }/bin/brightness-down";
|
||||||
"${modifier}+SHIFT+S" = "exec ${ my-scripts.screenshot }/bin/screenshot";
|
"${modifier}+P" = "exec ${ my-scripts.bwmenu }/bin/bwmenu";
|
||||||
"${modifier}+M" = "exec ${ my-deps.terminal } -e ncmpcpp";
|
"${modifier}+SHIFT+P" = "exec ${ my-scripts.bwotpmenu }/bin/bwotpmenu";
|
||||||
"${modifier}+C" = "exec ${ my-scripts.open-code }/bin/open-code";
|
"${modifier}+SHIFT+S" = "exec ${ my-scripts.screenshot }/bin/screenshot";
|
||||||
"${modifier}+Z" = "exec ${pkgs.swaylock-effects}/bin/swaylock -f";
|
"${modifier}+M" = "exec ${ my-deps.terminal } -e ncmpcpp";
|
||||||
};
|
"${modifier}+C" = "exec ${ my-scripts.open-code }/bin/open-code";
|
||||||
bars = [];
|
"${modifier}+Z" = "exec ${pkgs.swaylock-effects}/bin/swaylock -f";
|
||||||
|
};
|
||||||
|
bars = [ ];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
programs.qutebrowser = {
|
programs.qutebrowser = {
|
||||||
enable = true;
|
enable = true;
|
||||||
package = pkgs.qutebrowser-qt6;
|
package = pkgs.qutebrowser-qt6;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue