temperance/programs.nix: add temporary niri-switch-to-workspace command
This commit is contained in:
parent
4ad938f047
commit
9c0b8230ff
1 changed files with 11 additions and 1 deletions
|
@ -1,4 +1,10 @@
|
||||||
{pkgs, ...}: {
|
{pkgs, ...}: let
|
||||||
|
niri-switch-to-workspace = pkgs.writeShellScriptBin "niri-switch-to-workspace" ''
|
||||||
|
workspace="$(echo -en "main\nsocial\nkeepass\nbrowser\ninfra\nscratch\nmultimedia" | fuzzel --dmenu)"
|
||||||
|
# niri msg action focus-workspace-monitor "$workspace"
|
||||||
|
niri msg action focus-workspace "$workspace"
|
||||||
|
'';
|
||||||
|
in {
|
||||||
environment.systemPackages = builtins.attrValues {
|
environment.systemPackages = builtins.attrValues {
|
||||||
inherit
|
inherit
|
||||||
(pkgs)
|
(pkgs)
|
||||||
|
@ -11,10 +17,12 @@
|
||||||
cinny-desktop
|
cinny-desktop
|
||||||
difftastic
|
difftastic
|
||||||
dnsutils
|
dnsutils
|
||||||
|
devenv
|
||||||
element-desktop
|
element-desktop
|
||||||
evince
|
evince
|
||||||
gcc
|
gcc
|
||||||
gnumake
|
gnumake
|
||||||
|
gparted
|
||||||
halloy
|
halloy
|
||||||
helvum
|
helvum
|
||||||
httpie
|
httpie
|
||||||
|
@ -51,6 +59,7 @@
|
||||||
radare2
|
radare2
|
||||||
ripgrep
|
ripgrep
|
||||||
rmpc
|
rmpc
|
||||||
|
ruby_3_2
|
||||||
signal-desktop
|
signal-desktop
|
||||||
strawberry
|
strawberry
|
||||||
telegram-desktop
|
telegram-desktop
|
||||||
|
@ -70,5 +79,6 @@
|
||||||
zotero
|
zotero
|
||||||
zoxide
|
zoxide
|
||||||
;
|
;
|
||||||
|
inherit niri-switch-to-workspace;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue