refactor(hyprland): move hyprland config to module
This commit is contained in:
parent
43d7825922
commit
08f64ab5a5
2 changed files with 16 additions and 14 deletions
|
@ -1,19 +1,5 @@
|
|||
{ pkgs, ... }:
|
||||
{
|
||||
environment.loginShellInit = # sh
|
||||
''
|
||||
if [[ -z "$SSH_CLIENT" && -z "$SSH_CONNECTION" ]]; then
|
||||
if uwsm check may-start; then
|
||||
exec uwsm start hyprland-uwsm.desktop
|
||||
fi
|
||||
fi
|
||||
'';
|
||||
|
||||
programs.hyprland = {
|
||||
enable = true;
|
||||
withUWSM = true;
|
||||
};
|
||||
|
||||
home-manager.users.rafiq = {
|
||||
xdg.configFile."uwsm/env".text = # sh
|
||||
''
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue