Add uwsm launch alias
Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
This commit is contained in:
@@ -163,11 +163,24 @@
|
||||
extraConfig = "source = ./theme.conf";
|
||||
};
|
||||
|
||||
programs.zsh.loginExtra = lib.mkAfter ''
|
||||
if uwsm check may-start; then
|
||||
exec uwsm start hyprland-uwsm.desktop
|
||||
fi
|
||||
'';
|
||||
programs.zsh = {
|
||||
loginExtra = lib.mkAfter ''
|
||||
if uwsm check may-start; then
|
||||
exec uwsm start hyprland-uwsm.desktop
|
||||
fi
|
||||
'';
|
||||
|
||||
initContent = ''
|
||||
launch() {
|
||||
if [[ $# -eq 0 ]]; then
|
||||
echo "Usage: launch <command> [args...]"
|
||||
return 1
|
||||
fi
|
||||
|
||||
uwsm app -S both -- "$@" &!
|
||||
}
|
||||
'';
|
||||
};
|
||||
|
||||
theme = {
|
||||
template.".config/hypr/theme.conf".source = ./theme.conf;
|
||||
|
Reference in New Issue
Block a user