mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-11-08 09:24:17 +01:00
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:
parent
92300c6d9d
commit
209fb4d9ca
@ -11,6 +11,7 @@
|
||||
./gtk.nix
|
||||
./htop.nix
|
||||
./hyprland.nix
|
||||
./hyprland-autoname-workspaces.nix
|
||||
./joshuto.nix
|
||||
./kitty.nix
|
||||
./librewolf.nix
|
||||
|
50
home/hyprland-autoname-workspaces.nix
Normal file
50
home/hyprland-autoname-workspaces.nix
Normal 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>"
|
||||
'';
|
||||
}
|
Loading…
Reference in New Issue
Block a user