temperance/programs.nix: add temporary niri-switch-to-workspace command
This commit is contained in:
parent
783ebce311
commit
2683250ae1
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 {
|
||||
inherit
|
||||
(pkgs)
|
||||
|
@ -11,10 +17,12 @@
|
|||
cinny-desktop
|
||||
difftastic
|
||||
dnsutils
|
||||
devenv
|
||||
element-desktop
|
||||
evince
|
||||
gcc
|
||||
gnumake
|
||||
gparted
|
||||
halloy
|
||||
helvum
|
||||
httpie
|
||||
|
@ -51,6 +59,7 @@
|
|||
radare2
|
||||
ripgrep
|
||||
rmpc
|
||||
ruby_3_2
|
||||
signal-desktop
|
||||
strawberry
|
||||
telegram-desktop
|
||||
|
@ -70,5 +79,6 @@
|
|||
zotero
|
||||
zoxide
|
||||
;
|
||||
inherit niri-switch-to-workspace;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue