Add settings button to waybar and window rule

This commit is contained in:
Stephan Raabe 2023-11-23 14:00:14 +01:00
parent 9a69133dbb
commit 79e172c935
8 changed files with 18 additions and 3 deletions

View File

@ -7,3 +7,5 @@ windowrule = tile,^(Brave-browser)$
windowrule = tile,^(Chromium)$ windowrule = tile,^(Chromium)$
windowrule = float,^(pavucontrol)$ windowrule = float,^(pavucontrol)$
windowrule = float,^(blueman-manager)$ windowrule = float,^(blueman-manager)$
windowrulev2 = float,class:(dotfiles-floating)

View File

@ -101,6 +101,13 @@
"tooltip": false "tooltip": false
}, },
// Settings
"custom/settings": {
"format": "",
"on-click": "alacritty --class dotfiles-floating -e ~/dotfiles/hypr/settings/settings.sh",
"tooltip": false
},
// Keybindings // Keybindings
"custom/keybindings": { "custom/keybindings": {
"format": "", "format": "",

View File

@ -35,6 +35,7 @@
"custom/appmenu", "custom/appmenu",
"custom/wallpaper", "custom/wallpaper",
"custom/waybarthemes", "custom/waybarthemes",
"custom/settings",
"wlr/taskbar", "wlr/taskbar",
"group/quicklinks", "group/quicklinks",
"hyprland/window" "hyprland/window"

View File

@ -35,6 +35,7 @@
"custom/appmenu", "custom/appmenu",
"custom/wallpaper", "custom/wallpaper",
"custom/waybarthemes", "custom/waybarthemes",
"custom/settings",
"wlr/taskbar", "wlr/taskbar",
"group/quicklinks", "group/quicklinks",
"hyprland/window" "hyprland/window"

View File

@ -160,9 +160,10 @@ window#waybar.empty #window {
#custom-windowsvm, #custom-windowsvm,
#custom-cliphist, #custom-cliphist,
#custom-wallpaper, #custom-wallpaper,
#custom-settings,
#custom-wallpaperwlr, #custom-wallpaperwlr,
#custom-waybarthemes { #custom-waybarthemes {
margin-right: 20px; margin-right: 15px;
font-size: 20px; font-size: 20px;
font-weight: bold; font-weight: bold;
opacity: 0.8; opacity: 0.8;

View File

@ -35,6 +35,7 @@
"custom/appmenu", "custom/appmenu",
"custom/wallpaper", "custom/wallpaper",
"custom/waybarthemes", "custom/waybarthemes",
"custom/settings",
"wlr/taskbar", "wlr/taskbar",
"group/quicklinks", "group/quicklinks",
"hyprland/window" "hyprland/window"

View File

@ -35,6 +35,7 @@
"custom/appmenu", "custom/appmenu",
"custom/wallpaper", "custom/wallpaper",
"custom/waybarthemes", "custom/waybarthemes",
"custom/settings",
"wlr/taskbar", "wlr/taskbar",
"group/quicklinks", "group/quicklinks",
"hyprland/window" "hyprland/window"

View File

@ -161,9 +161,10 @@ window#waybar.empty #window {
#custom-windowsvm, #custom-windowsvm,
#custom-cliphist, #custom-cliphist,
#custom-wallpaper, #custom-wallpaper,
#custom-settings,
#custom-wallpaperwlr, #custom-wallpaperwlr,
#custom-waybarthemes { #custom-waybarthemes {
margin-right: 20px; margin-right: 15px;
font-size: 20px; font-size: 20px;
font-weight: bold; font-weight: bold;
opacity: 0.8; opacity: 0.8;