Setup sworkstyle
This commit is contained in:
parent
ee50baf6aa
commit
146eae6f68
|
@ -41,6 +41,10 @@ in with lib; {
|
|||
evince
|
||||
# Productivity
|
||||
libreoffice-fresh
|
||||
## Sway addons
|
||||
# sworkstyle - Automatic workspace renaming
|
||||
swayest-workstyle
|
||||
font-awesome
|
||||
];
|
||||
#########################
|
||||
## Sway
|
||||
|
@ -179,6 +183,40 @@ in with lib; {
|
|||
};
|
||||
};
|
||||
#########################
|
||||
## Sway Addons
|
||||
#########################
|
||||
## swayest_workstyle
|
||||
# first setup the service
|
||||
systemd.user.services.sworkstyle = {
|
||||
Unit = {
|
||||
Description = "sworkstyle - sway workspace renamer";
|
||||
After = [ "graphical-session.target" ];
|
||||
};
|
||||
Service = {
|
||||
Type = "simple";
|
||||
ExecStart = ''
|
||||
${pkgs.swayest-workstyle}/bin/sworkstyle
|
||||
'';
|
||||
Restart = "always";
|
||||
};
|
||||
Install = { WantedBy = [ "graphical-session.target" ]; };
|
||||
};
|
||||
# then setup the configuration
|
||||
xdg.configFile."sworkstyle" = {
|
||||
target = "sworkstyle/config.toml";
|
||||
text = ''
|
||||
[matching]
|
||||
'firefox-beta' = ''
|
||||
'emacs' = ''
|
||||
'signal' = ''
|
||||
'chrome-messages.google.com__web-Default' = ''
|
||||
'chrome-app.cinny.in__-Default' = ''
|
||||
'chrome-messenger.com__-Default' = ''
|
||||
'chrome-localhost__iris_-Default' = ''
|
||||
'org.jellyfin.' = ''
|
||||
'';
|
||||
};
|
||||
#########################
|
||||
## Mako (notifications)
|
||||
#########################
|
||||
programs.mako = {
|
||||
|
|
Loading…
Reference in New Issue