aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.config/hypr/hyprland.conf6
-rw-r--r--.config/waybar/config.jsonc6
-rw-r--r--.config/waybar/style.css25
-rwxr-xr-x.local/bin/cron/newsup2
-rwxr-xr-x.local/bin/sb-news2
5 files changed, 22 insertions, 19 deletions
diff --git a/.config/hypr/hyprland.conf b/.config/hypr/hyprland.conf
index 80c607f..62758ba 100644
--- a/.config/hypr/hyprland.conf
+++ b/.config/hypr/hyprland.conf
@@ -35,10 +35,10 @@ env = GTK_THEME,Everforest-Dark
# permission = /usr/(bin|local/bin)/hyprpm, plugin, allow
general {
- gaps_in = 0
- gaps_out = 0
+ gaps_in = 4
+ gaps_out = 7
- border_size = 2
+ border_size = 3
col.active_border = rgb(83a598)
col.inactive_border = rgb(595959)
diff --git a/.config/waybar/config.jsonc b/.config/waybar/config.jsonc
index d56df85..e3283fa 100644
--- a/.config/waybar/config.jsonc
+++ b/.config/waybar/config.jsonc
@@ -35,10 +35,10 @@
"on-click": "activate",
"format": "{icon}"
},
- "custom/layout": {
+ "custom/icon": {
"cursor": false,
"tooltip": false,
- "format": " []= "
+ "format": ""
},
"hyprland/window": {
"format": "{class}: {title}",
@@ -309,7 +309,7 @@
"on-click-backward": "BLOCK_BUTTON=8 sb-internet"
},
"tray": {
- "icon-size": 20,
+ "icon-size": 15,
"spacing": 3
}
}
diff --git a/.config/waybar/style.css b/.config/waybar/style.css
index 2f59995..cba4fdf 100644
--- a/.config/waybar/style.css
+++ b/.config/waybar/style.css
@@ -2,7 +2,7 @@
* {
font-family: monospace;
- font-size: 17px;
+ font-size: 15px;
border: none;
}
@@ -11,11 +11,10 @@ window#waybar {
color: #d3c6aa;
}
-window#waybar>* {
- margin-top: 3px;
- margin-bottom: 3px;
- /* margin-top + bar underline thickness */
-}
+/* window#waybar>* { */
+/* margin-top: 4px; */
+/* margin-bottom: 4px; */
+/* } */
window#waybar.hidden {
opacity: 0.2;
@@ -27,14 +26,17 @@ window#waybar.hidden {
}
#workspaces button {
- padding: 0;
+ padding: 3 6;
min-height: 0px;
margin-left: 4px;
- color: #495156;
+ color: #d3c6aa;
}
#workspaces button.active {
+ padding: 3 12;
color: #d3c6aa;
+ background-color: #414B50;
+ border-radius: 0px;
}
#workspaces button.urgent {
@@ -116,9 +118,10 @@ window#waybar.hidden {
margin-right: 10px;
}
-#window,
-#workspaces {
- margin: 0 4px;
+#custom-icon {
+ padding: 0px;
+ margin-left: 10px;
+ margin-right: 10px;
}
#custom-clock {
diff --git a/.local/bin/cron/newsup b/.local/bin/cron/newsup
index e74fd95..5a32a53 100755
--- a/.local/bin/cron/newsup
+++ b/.local/bin/cron/newsup
@@ -10,7 +10,7 @@ export WAYLAND_DISPLAY=wayland-1
pgrep -f newsraft$ && hyprctl --instance 0 dispatch sendshortcut ,R ,title:newsraft
-echo 🔃 > /tmp/newsupdate
+echo  > /tmp/newsupdate
pkill -RTMIN+6 "${STATUSBAR:-waybar}"
/usr/bin/newsraft -e reload-all
rm -f /tmp/newsupdate
diff --git a/.local/bin/sb-news b/.local/bin/sb-news
index a95576d..ae5b1b6 100755
--- a/.local/bin/sb-news
+++ b/.local/bin/sb-news
@@ -14,4 +14,4 @@ case $BLOCK_BUTTON in
8) setsid -f "$TERMINAL" -e "$EDITOR" "$0" >/dev/null 2>&1 ;;
esac
-bat /tmp/newsupdate 2>/dev/null || echo "$(newsraft -e print-unread-items-count | awk '{ if($1>0) print "📰" $1}')$(bat "${XDG_CONFIG_HOME:-$HOME/.config}"/newsraft/.update 2>/dev/null)"
+bat /tmp/newsupdate 2>/dev/null || echo "$(newsraft -e print-unread-items-count | awk '{ if($1>0) print " " $1}')$(bat "${XDG_CONFIG_HOME:-$HOME/.config}"/newsraft/.update 2>/dev/null)"