aboutsummaryrefslogtreecommitdiff
path: root/.config/waybar
diff options
context:
space:
mode:
authorawy <awy@tutamail.com>2024-08-19 19:57:40 +0300
committerawy <awy@tutamail.com>2024-08-19 19:57:40 +0300
commitc1faf4d18de264723f0731bccf23164a770a9ea0 (patch)
tree258a82e477b3cf97e1ebde5f2da13162190142b6 /.config/waybar
parentf326a862cbed691774901be046cc352f2bbc8cdd (diff)
update
Diffstat (limited to '.config/waybar')
-rw-r--r--.config/waybar/config22
-rwxr-xr-x.config/waybar/scripts/hyprweather2
-rw-r--r--.config/waybar/style.css163
3 files changed, 26 insertions, 161 deletions
diff --git a/.config/waybar/config b/.config/waybar/config
index c4dca4d..6ab4771 100644
--- a/.config/waybar/config
+++ b/.config/waybar/config
@@ -1,24 +1,16 @@
{
"layer": "top",
- "position": "bottom",
- "spacing": 0,
+ "position": "top",
+ "spacing": 20,
"reload_style_on_change": true,
- "modules-left": ["hyprland/workspaces","custom/separator","hyprland/window"],
+ "modules-left": ["hyprland/workspaces", "hyprland/window"],
"modules-center": [],
- "modules-right": ["network", "custom/weather","memory", "custom/separator", "image", "pulseaudio","wireplumber", "custom/separator", "clock","tray"],
+ "modules-right": ["network", "custom/weather","memory", "pulseaudio","wireplumber", "clock","tray"],
"hyprland/window": {
"format": "{}",
"max-length": 50,
"separate-outputs": true,
- "rewrite": {
- "(.*) — Mozilla Firefox": "󰈹 $1",
- "(.*)Mozilla Firefox": "󰈹 Firefox",
- "nvim(.*)": " $1",
- "(.*)spotify_player(.*)": "󰓇 Spotify",
- "proxychains -q spoti(.*)": "󰓇 Spotify",
- "(.*)Steam": "󰓓 Steam"
- }
},
"hyprland/workspaces": {
@@ -46,8 +38,8 @@
"spacing": 10
},
"clock": {
- "interval": 1,
- "format": "{:%H:%M:%S}",
+ "interval": 60,
+ "format": "{:%Y %b %d (%a) 🕙 %H:%M}",
"tooltip-format": "{:%a %d %b}"
},
"mpris": {
@@ -88,7 +80,7 @@
"interval": 5,
},
"wireplumber": {
- "format": "{icon}{volume}%",
+ "format": "{icon} {volume}%",
"format-muted": "󰝟",
"on-click": "wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle",
"format-icons": [" ", " ", " "]
diff --git a/.config/waybar/scripts/hyprweather b/.config/waybar/scripts/hyprweather
index 45687f6..6a1e698 100755
--- a/.config/waybar/scripts/hyprweather
+++ b/.config/waybar/scripts/hyprweather
@@ -1 +1 @@
-hyprctl dispatch exec "[float; size 1430 1100;]" 'kitty -e "/home/awy/.config/waybar/scripts/onclick-weather"'
+hyprctl dispatch exec "[float; size 1430 1100;]" 'foot "/home/awy/.config/waybar/scripts/onclick-weather"'
diff --git a/.config/waybar/style.css b/.config/waybar/style.css
index 017b1cf..64d425a 100644
--- a/.config/waybar/style.css
+++ b/.config/waybar/style.css
@@ -2,15 +2,14 @@
* {
border: none;
border-radius: 0;
- font-family: LiterationMono Nerd Font Propo;
+ font-family: monospace;
font-weight: normal;
font-size: 14px;
min-height: 0;
}
#waybar {
- background: rgba(0,0,0,0.5);
- /*background: @base;*/
+ background: #282828;
}
tooltip {
@@ -18,44 +17,21 @@ tooltip {
}
#workspaces {
- margin-left: 5px;
+ margin-left: 1px;
}
#workspaces button {
- color:rgba(100,100,100,0.5);
- border: 1px;
- border-style: solid;
- border-color: rgba(100,100,100,0.3);
- background: rgba(0, 0, 0,0.2);
- margin-top: 8px;
- margin-bottom: 8px;
- border-radius: 8px;
- padding: 8px;
- margin-right: 2px;
+ color: #EBDBB2;
}
#workspaces button.active {
- color: #FFFFFF;
- border: 1px;
- border-style: solid;
- border-color: rgba(100,100,100,0.5);
- background: rgba(0, 0, 0,0.3);
- margin-top: 8px;
- margin-bottom: 8px;
- border-radius: 8px;
- padding: 8px;
+ color: #282828;
+ background: #EBDBB2;
}
#window {
- color: #FFFFFF;
- border: 1px;
- border-style: solid;
- border-color: rgba(100,100,100,0.5);
- background: rgba(0, 0, 0,0.3);
- margin-top: 8px;
- margin-bottom: 8px;
- border-radius: 8px;
- padding: 8px;
+ color: #EBDBB2;
+ margin-left: 15px;
}
#mpris {
@@ -63,149 +39,46 @@ tooltip {
}
#network {
- margin-right: 5px;
- color: @green;
- border: 1px;
- border-style: solid;
- border-color: rgba(100,100,100,0.5);
- background: rgba(0, 0, 0,0.3);
- margin-top: 8px;
- margin-bottom: 8px;
- border-radius: 8px;
- padding: 8px;
+ color: #b8bb26;
}
#network.disconnected {
- margin-right: 5px;
- color: @red;
- border: 1px;
- border-style: solid;
- border-color: rgba(100,100,100,0.5);
- background: rgba(0, 0, 0,0.3);
- margin-top: 8px;
- margin-bottom: 8px;
- border-radius: 8px;
- padding: 8px;
+ color: #fb4934;
}
#custom-weather {
- margin-right: 5px;
- color: #FFFFFF;
- border: 1px;
- border-style: solid;
- border-color: rgba(100,100,100,0.5);
- background: rgba(0, 0, 0,0.3);
- margin-top: 8px;
- margin-bottom: 8px;
- border-radius: 8px;
- padding: 8px;
+ color: #EBDBB2;
}
#custom-pacman {
- margin-right: 5px;
- color: #FFFFFF;
- border: 1px;
- border-style: solid;
- border-color: rgba(100,100,100,0.5);
- background: rgba(0, 0, 0,0.3);
- margin-top: 8px;
- margin-bottom: 8px;
- border-radius: 8px;
- padding: 8px;
-}
-
-
-#custom-doppler {
- margin-left: 15px;
- color: @sky;
+ color: #EBDBB2;
}
#pulseaudio {
- margin-right: 5px;
- color: #FFFFFF;
- border: 1px;
- border-style: solid;
- border-color: rgba(100,100,100,0.5);
- background: rgba(0, 0, 0,0.3);
- margin-top: 8px;
- margin-bottom: 8px;
- border-radius: 8px;
- padding: 8px;
+ color: #EBDBB2;
}
#wireplumber {
- color: #FFFFFF;
- border: 1px;
- border-style: solid;
- border-color: rgba(100,100,100,0.5);
- background: rgba(0, 0, 0,0.3);
- margin-top: 8px;
- margin-bottom: 8px;
- border-radius: 8px;
- padding: 8px;
+ color: #EBDBB2;
}
-#image {
- margin-left: 3px;
- margin-right: 8px;
- color: #FFFFFF;
- border: 1px;
- border-style: solid;
- border-color: rgba(100,100,100,0.5);
- margin-top: 8px;
- margin-bottom: 8px;
-}
-
-
-
#cpu {
- margin-left: 15px;
color: @yellow;
}
#memory {
- margin-right: 5px;
- color: #FFFFFF;
- border: 1px;
- border-style: solid;
- border-color: rgba(100,100,100,0.5);
- background: rgba(0, 0, 0,0.3);
- margin-top: 8px;
- margin-bottom: 8px;
- border-radius: 8px;
- padding: 8px;
+ color: #EBDBB2;
}
#temperature {
- color: #FFFFFF;
- border: 1px;
- border-style: solid;
- border-color: rgba(100,100,100,0.5);
- background: rgba(0, 0, 0,0.3);
- margin-top: 8px;
- margin-bottom: 8px;
- border-radius: 8px;
- padding: 8px;
-}
-
-#custom-separator {
- color: #BBBBBB;
+ color: #EBDBB2;
}
#clock {
- margin-right: 5px;
- color: #FFFFFF;
- border: 1px;
- border-style: solid;
- border-color: rgba(100,100,100,0.5);
- background: rgba(0, 0, 0,0.3);
- margin-top: 8px;
- margin-bottom: 8px;
- border-radius: 8px;
- padding: 8px;
+ color: #EBDBB2;
+ margin-right: 10px;
}
#tray {
- margin-right: 15px;
color: @red;
}