From 5cb1b9302f1f862bf85df996e2b8070c27634a40 Mon Sep 17 00:00:00 2001 From: Yakov Shatilov Date: Sat, 25 Jan 2025 13:07:36 +0300 Subject: [PATCH] updates --- hypr/hyprland.conf | 5 ----- hypr/hyprlock.conf | 14 +++++++------- hypr/hyprpaper.conf | 6 +++--- waybar/config | 7 ++++++- waybar/style.css | 12 ++++++++++++ 5 files changed, 28 insertions(+), 16 deletions(-) diff --git a/hypr/hyprland.conf b/hypr/hyprland.conf index 9298c1c..4869e21 100644 --- a/hypr/hyprland.conf +++ b/hypr/hyprland.conf @@ -96,11 +96,6 @@ decoration { size = 3 passes = 1 } - - drop_shadow = yes - shadow_range = 4 - shadow_render_power = 3 - col.shadow = rgba(1a1a1aee) } animations { diff --git a/hypr/hyprlock.conf b/hypr/hyprlock.conf index 8915d86..81f39a5 100644 --- a/hypr/hyprlock.conf +++ b/hypr/hyprlock.conf @@ -9,8 +9,8 @@ widget_name { background { monitor = - # path = /home/me/someImage.png # only png supported for now - color = rgba(25, 20, 20, 1.0) + path = ~/Pictures/wallpapers/flowers3.jpg + # color = rgba(25, 20, 20, 1.0) # all these options are taken from hyprland, see https://wiki.hyprland.org/Configuring/Variables/#blur for explanations blur_passes = 0 # 0 disables blurring @@ -53,26 +53,26 @@ input-field { valign = center } -#label { +# label { # monitor = # text = Hi, $USER # color = rgba(200, 200, 200, 1.0) # font_size = 25 # font_family = Noto Sans - +# # position = 0, 80 # halign = center # valign = center -#} +# } label { monitor = text = [$TIME] color = rgba(200, 200, 200, 1.0) - font_size = 40 + font_size = 46 font_family = Noto Sans - position = 0, 170 + position = 0, 280 # 0, 170 halign = center valign = center } diff --git a/hypr/hyprpaper.conf b/hypr/hyprpaper.conf index 39ce412..0720121 100644 --- a/hypr/hyprpaper.conf +++ b/hypr/hyprpaper.conf @@ -1,8 +1,8 @@ # preload = /usr/share/backgrounds/manjaro/beehive4k-d.png -preload = /home/yash/Pictures/wallpapers/sichen.jpg +preload = /home/yash/Pictures/wallpapers/flowers3.jpg -wallpaper = eDP-1,/home/yash/Pictures/wallpapers/sichen.jpg -wallpaper = HDMI-A-1,/home/yash/Pictures/wallpapers/sichen.jpg +wallpaper = eDP-1,/home/yash/Pictures/wallpapers/flowers3.jpg +wallpaper = HDMI-A-1,/home/yash/Pictures/wallpapers/flowers3.jpg splash = false diff --git a/waybar/config b/waybar/config index 191cfeb..ea921ec 100644 --- a/waybar/config +++ b/waybar/config @@ -2,7 +2,7 @@ "layer": "top", "modules-left": ["hyprland/workspaces","cpu","memory","tray"], "modules-center": [], - "modules-right": ["clock","hyprland/language","backlight","pulseaudio","network","battery"], + "modules-right": ["clock","custom/yearprogress","hyprland/language","backlight","pulseaudio","network","battery"], "pulseaudio": { "tooltip": false, @@ -70,5 +70,10 @@ "format": " ", "on-click": "wofi --show drun", "on-click-right": "killall rofi" + }, + "custom/yearprogress":{ + "format": "󱦟 {}", + "interval": 3600, + "exec": "get_year_progress" } } diff --git a/waybar/style.css b/waybar/style.css index 49ac8f1..bbe6423 100644 --- a/waybar/style.css +++ b/waybar/style.css @@ -153,6 +153,18 @@ window#waybar.hidden { background: #161320; } +#custom-yearprogress { + margin-top: 6px; + margin-left: 8px; + padding-left: 10px; + padding-right: 10px; + margin-bottom: 0px; + border-radius: 10px; + transition: none; + color: #161320; + background: #cdd1f7; +} + #custom-power { font-size: 20px; margin-top: 6px;