mirror of
https://github.com/nix-community/home-manager
synced 2024-12-27 12:19:48 +01:00
i3-sway: Use foot as default terminal on sway (#3490)
This commit is contained in:
parent
c1a830c8fa
commit
d01e7280ad
11 changed files with 11 additions and 14 deletions
|
@ -835,10 +835,7 @@ in {
|
|||
|
||||
terminal = mkOption {
|
||||
type = types.str;
|
||||
default = if isI3 then
|
||||
"i3-sensible-terminal"
|
||||
else
|
||||
"${pkgs.rxvt-unicode-unwrapped}/bin/urxvt";
|
||||
default = if isI3 then "i3-sensible-terminal" else "${pkgs.foot}/bin/foot";
|
||||
description = "Default terminal to run.";
|
||||
example = "alacritty";
|
||||
};
|
||||
|
|
|
@ -27,7 +27,7 @@ bindsym Mod1+8 workspace number 8
|
|||
bindsym Mod1+9 workspace number 9
|
||||
bindsym Mod1+Down focus down
|
||||
bindsym Mod1+Left focus left
|
||||
bindsym Mod1+Return exec @rxvt-unicode-unwrapped@/bin/urxvt
|
||||
bindsym Mod1+Return exec @foot@/bin/foot
|
||||
bindsym Mod1+Right focus right
|
||||
bindsym Mod1+Shift+1 move container to workspace number 1
|
||||
bindsym Mod1+Shift+2 move container to workspace number 2
|
||||
|
|
|
@ -29,7 +29,7 @@ bindsym --to-code Mod1+8 workspace number 8
|
|||
bindsym --to-code Mod1+9 workspace number 9
|
||||
bindsym --to-code Mod1+Down focus down
|
||||
bindsym --to-code Mod1+Left focus left
|
||||
bindsym --to-code Mod1+Return exec @rxvt-unicode-unwrapped@/bin/urxvt
|
||||
bindsym --to-code Mod1+Return exec @foot@/bin/foot
|
||||
bindsym --to-code Mod1+Right focus right
|
||||
bindsym --to-code Mod1+Shift+1 move container to workspace number 1
|
||||
bindsym --to-code Mod1+Shift+2 move container to workspace number 2
|
||||
|
|
|
@ -27,7 +27,7 @@ bindsym Mod1+8 workspace number 8
|
|||
bindsym Mod1+9 workspace number 9
|
||||
bindsym Mod1+Down focus down
|
||||
bindsym Mod1+Left focus left
|
||||
bindsym Mod1+Return exec @rxvt-unicode-unwrapped@/bin/urxvt
|
||||
bindsym Mod1+Return exec @foot@/bin/foot
|
||||
bindsym Mod1+Right focus right
|
||||
bindsym Mod1+Shift+1 move container to workspace number 1
|
||||
bindsym Mod1+Shift+2 move container to workspace number 2
|
||||
|
|
|
@ -27,7 +27,7 @@ bindsym Mod1+8 workspace number 8
|
|||
bindsym Mod1+9 workspace number 9
|
||||
bindsym Mod1+Down focus down
|
||||
bindsym Mod1+Left focus left
|
||||
bindsym Mod1+Return exec @rxvt-unicode-unwrapped@/bin/urxvt
|
||||
bindsym Mod1+Return exec @foot@/bin/foot
|
||||
bindsym Mod1+Right focus right
|
||||
bindsym Mod1+Shift+1 move container to workspace number 1
|
||||
bindsym Mod1+Shift+2 move container to workspace number 2
|
||||
|
|
|
@ -27,7 +27,7 @@ bindsym Mod1+8 workspace number 8
|
|||
bindsym Mod1+9 workspace number 9
|
||||
bindsym Mod1+Down focus down
|
||||
bindsym Mod1+Left focus left
|
||||
bindsym Mod1+Return exec @rxvt-unicode-unwrapped@/bin/urxvt
|
||||
bindsym Mod1+Return exec @foot@/bin/foot
|
||||
bindsym Mod1+Right focus right
|
||||
bindsym Mod1+Shift+1 move container to workspace number 1
|
||||
bindsym Mod1+Shift+2 move container to workspace number 2
|
||||
|
|
|
@ -27,7 +27,7 @@ bindsym Mod1+8 workspace number 8
|
|||
bindsym Mod1+9 workspace number 9
|
||||
bindsym Mod1+Down focus down
|
||||
bindsym Mod1+Left focus left
|
||||
bindsym Mod1+Return exec @rxvt-unicode-unwrapped@/bin/urxvt
|
||||
bindsym Mod1+Return exec @foot@/bin/foot
|
||||
bindsym Mod1+Right focus right
|
||||
bindsym Mod1+Shift+1 move container to workspace number 1
|
||||
bindsym Mod1+Shift+2 move container to workspace number 2
|
||||
|
|
|
@ -27,7 +27,7 @@ bindsym Mod1+8 workspace number 8
|
|||
bindsym Mod1+9 workspace number 9
|
||||
bindsym Mod1+Down focus down
|
||||
bindsym Mod1+Left focus left
|
||||
bindsym Mod1+Return exec @rxvt-unicode-unwrapped@/bin/urxvt
|
||||
bindsym Mod1+Return exec @foot@/bin/foot
|
||||
bindsym Mod1+Right focus right
|
||||
bindsym Mod1+Shift+1 move container to workspace number 1
|
||||
bindsym Mod1+Shift+2 move container to workspace number 2
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
# not containing hashes, version numbers etc.
|
||||
test.stubs = {
|
||||
dmenu = { };
|
||||
rxvt-unicode-unwrapped = { };
|
||||
foot = { };
|
||||
i3status = { };
|
||||
sway = { };
|
||||
sway-unwrapped = { version = "1"; };
|
||||
|
|
|
@ -26,7 +26,7 @@ bindsym Mod1+7 workspace number 7
|
|||
bindsym Mod1+8 workspace number 8
|
||||
bindsym Mod1+Down focus down
|
||||
bindsym Mod1+Left focus left
|
||||
bindsym Mod1+Return exec @rxvt-unicode-unwrapped@/bin/urxvt
|
||||
bindsym Mod1+Return exec @foot@/bin/foot
|
||||
bindsym Mod1+Right focus right
|
||||
bindsym Mod1+Shift+1 move container to workspace number 1
|
||||
bindsym Mod1+Shift+2 move container to workspace number 2
|
||||
|
|
|
@ -27,7 +27,7 @@ bindsym Mod1+8 workspace number 8
|
|||
bindsym Mod1+9 workspace number 9
|
||||
bindsym Mod1+Down focus down
|
||||
bindsym Mod1+Left focus left
|
||||
bindsym Mod1+Return exec @rxvt-unicode-unwrapped@/bin/urxvt
|
||||
bindsym Mod1+Return exec @foot@/bin/foot
|
||||
bindsym Mod1+Right focus right
|
||||
bindsym Mod1+Shift+1 move container to workspace number 1
|
||||
bindsym Mod1+Shift+2 move container to workspace number 2
|
||||
|
|
Loading…
Reference in a new issue