meta: Add hyprland-autoname-workspaces config

The new lines are unfortunately necessary since waybar uses GTK CSS, and
GTK CSS doesn't support modern CSS features like vertical text.
This commit is contained in:
Donovan Glover 2023-06-19 16:21:15 -04:00
parent 92300c6d9d
commit 209fb4d9ca
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65
2 changed files with 51 additions and 0 deletions

View File

@ -11,6 +11,7 @@
./gtk.nix
./htop.nix
./hyprland.nix
./hyprland-autoname-workspaces.nix
./joshuto.nix
./kitty.nix
./librewolf.nix

View File

@ -0,0 +1,50 @@
{
xdg.configFile."hyprland-autoname-workspaces/config.toml".text = /* toml */ ''
version = "1.1.0"
[class]
kitty = "\n"
thunar = "\n\n\n"
librewolf = "\n\n"
"VirtualBox Machine" = "\n\n\n"
"VirtualBox Manager" = "\n\n\n"
anki = "\n"
Logseq = "\n\n\n"
mullvadbrowser = "\n"
"Signal Beta" = "\n\n\n\n"
srb2 = "\n\n\n"
DEFAULT = ""
[title_in_class."(kitty)"]
"(?i)nvim" = "\n\n"
"(?i)ncmpcpp" = "\n"
[workspaces_name]
1 = ""
2 = ""
3 = ""
4 = ""
5 = ""
6 = ""
7 = ""
8 = ""
9 = ""
10 = ""
[exclude]
"(?i)fcitx" = ".*"
[format]
dedup = false
dedup_inactive_fullscreen = false
delim = "<span size='4pt'>\n</span>"
workspace = "<span size='0.001pt'>{id}</span>{name}{delim}{clients}"
workspace_empty = "<span size='0.001pt'>{id}</span>{name}"
client = "{delim}<span color='#a59f85' font-weight='300'>{icon}</span>"
client_active = "<span font-weight='700'>{icon}</span>"
client_fullscreen = "{delim}<span color='#fd971f'>{icon}</span>"
'';
}