summaryrefslogtreecommitdiff
path: root/.config/waybar
diff options
context:
space:
mode:
Diffstat (limited to '.config/waybar')
-rw-r--r--.config/waybar/config.jsonc10
-rw-r--r--.config/waybar/style.css11
2 files changed, 16 insertions, 5 deletions
diff --git a/.config/waybar/config.jsonc b/.config/waybar/config.jsonc
index c2aef8e..0e9d7c3 100644
--- a/.config/waybar/config.jsonc
+++ b/.config/waybar/config.jsonc
@@ -30,7 +30,8 @@
"network",
"battery",
"backlight",
- "tray"
+ "tray",
+ "custom/toggle-laptop-keyboard"
],
"hyprland/window": {
"format": "{}"
@@ -211,5 +212,10 @@
"tray": {
"icon-size": 18,
"spacing": 10
- }
+ },
+ "custom/toggle-laptop-keyboard": {
+ "format": " ",
+ "on-click": "~/.scripts/keyboard-disable-hypr",
+ "tooltip-format": "Toggle Laptop Keyboard"
+ }
}
diff --git a/.config/waybar/style.css b/.config/waybar/style.css
index 91059bd..4ac1b0d 100644
--- a/.config/waybar/style.css
+++ b/.config/waybar/style.css
@@ -5,7 +5,7 @@
/*font-family: Iosevka, FontAwesome, Noto Sans CJK;*/
font-family: "JetBrainsMono Nerd Font";
font-weight: bold;
- font-size: 15.9px;
+ font-size: 15.8px;
min-height: 0;
}
@@ -75,6 +75,7 @@ tooltip {
#custom-memory,
#workspaces,
#tray,
+#custom-toggle-laptop-keyboard,
#backlight,
#custom-playerctl,
#custom-playerlabel {
@@ -98,8 +99,12 @@ tooltip {
}
#tray {
- border-radius: 10px;
- margin-right: 5px;
+ border-radius: 10px 0px 0px 10px;
+}
+
+#custom-toggle-laptop-keyboard{
+ border-radius: 0px 10px 10px 0px;
+ margin-right: 2px
}
#workspaces {