Add zsh function to spawn graphical application in the background
This commit is contained in:
parent
40b8b1db30
commit
900185b2f3
1 changed files with 154 additions and 147 deletions
|
@ -190,7 +190,8 @@ in
|
|||
pkgs.wf-recorder
|
||||
pkgs.wl-clipboard
|
||||
];
|
||||
programs.waybar = {
|
||||
programs = {
|
||||
waybar = {
|
||||
enable = true;
|
||||
settings = {
|
||||
mainBar = {
|
||||
|
@ -347,6 +348,12 @@ in
|
|||
'';
|
||||
systemd.enable = true;
|
||||
};
|
||||
zsh.initExtra = ''
|
||||
rs() {
|
||||
riverctl spawn "$*"
|
||||
}
|
||||
'';
|
||||
};
|
||||
services = {
|
||||
kanshi = {
|
||||
enable = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue