adds new functionality

- gamemode for steam
- sessionizer fix
- fixes keybinds for moving column up/down in niri
- tmux statusline fix
This commit is contained in:
Dennis Schoepf 2026-01-11 14:54:47 +01:00
parent f6c31436fd
commit ef25f95cea
4 changed files with 5 additions and 5 deletions

View file

@ -60,7 +60,7 @@
end
'';
sessionizer = /* fish */ ''
set -l selected (dev_projects | fzf --prompt "Create/switch to session: " --header " Ctrl-d: Kill Session " --bind "ctrl-d:execute(tmux kill-session -t {1})++reload(dev_projects)")
set -l selected (dev_projects | fzf --prompt "Create/switch to session: " --header " Ctrl-d: Kill Session " --bind "ctrl-d:execute(tmux kill-session -t basename {})+reload(dev_projects)")
if test -z "$selected"
return 1

View file

@ -1,4 +1,5 @@
{
programs.gamemode.enable = true;
programs.steam = {
enable = true;
remotePlay.openFirewall = true; # Open ports in the firewall for Steam Remote Play

View file

@ -41,7 +41,7 @@
set -g status-right "#[bg=default,fg=magenta]>> #S << #[bg=default,fg=white]#H "
set -g window-status-current-style bg=default,fg=magenta,bold
set-window-option -g window-status-format "[#I] #W#F"
set-window-option -g window-active-status-format "[#I] #W#F"
set-window-option -g window-status-current-format "[#I] #W#F"
set -g pane-border-style fg=gray
set -g pane-active-border-style fg=magenta

View file

@ -326,8 +326,8 @@ binds {
Mod+L { focus-column-right; }
Mod+Shift+H { move-column-left; }
Mod+Shift+J { move-window-down; }
Mod+Shift+K { move-window-up; }
Mod+Shift+J { move-column-to-workspace-down; }
Mod+Shift+K { move-column-to-workspace-up; }
Mod+Shift+L { move-column-right; }
Mod+A { focus-column-first; }
@ -340,7 +340,6 @@ binds {
Mod+Ctrl+D { move-column-to-workspace-down; }
Mod+Ctrl+U { move-column-to-workspace-up; }
Mod+Shift+Page_Down { move-workspace-down; }
Mod+Shift+Page_Up { move-workspace-up; }
Mod+Shift+U { move-workspace-down; }