This commit is contained in:
Yakov Shatilov 2025-01-25 13:07:36 +03:00
parent 854470e7b2
commit 5cb1b9302f
5 changed files with 28 additions and 16 deletions

View File

@ -96,11 +96,6 @@ decoration {
size = 3 size = 3
passes = 1 passes = 1
} }
drop_shadow = yes
shadow_range = 4
shadow_render_power = 3
col.shadow = rgba(1a1a1aee)
} }
animations { animations {

View File

@ -9,8 +9,8 @@ widget_name {
background { background {
monitor = monitor =
# path = /home/me/someImage.png # only png supported for now path = ~/Pictures/wallpapers/flowers3.jpg
color = rgba(25, 20, 20, 1.0) # color = rgba(25, 20, 20, 1.0)
# all these options are taken from hyprland, see https://wiki.hyprland.org/Configuring/Variables/#blur for explanations # all these options are taken from hyprland, see https://wiki.hyprland.org/Configuring/Variables/#blur for explanations
blur_passes = 0 # 0 disables blurring blur_passes = 0 # 0 disables blurring
@ -53,26 +53,26 @@ input-field {
valign = center valign = center
} }
#label { # label {
# monitor = # monitor =
# text = Hi, $USER # text = Hi, $USER
# color = rgba(200, 200, 200, 1.0) # color = rgba(200, 200, 200, 1.0)
# font_size = 25 # font_size = 25
# font_family = Noto Sans # font_family = Noto Sans
#
# position = 0, 80 # position = 0, 80
# halign = center # halign = center
# valign = center # valign = center
#} # }
label { label {
monitor = monitor =
text = [$TIME] text = [$TIME]
color = rgba(200, 200, 200, 1.0) color = rgba(200, 200, 200, 1.0)
font_size = 40 font_size = 46
font_family = Noto Sans font_family = Noto Sans
position = 0, 170 position = 0, 280 # 0, 170
halign = center halign = center
valign = center valign = center
} }

View File

@ -1,8 +1,8 @@
# preload = /usr/share/backgrounds/manjaro/beehive4k-d.png # 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 = eDP-1,/home/yash/Pictures/wallpapers/flowers3.jpg
wallpaper = HDMI-A-1,/home/yash/Pictures/wallpapers/sichen.jpg wallpaper = HDMI-A-1,/home/yash/Pictures/wallpapers/flowers3.jpg
splash = false splash = false

View File

@ -2,7 +2,7 @@
"layer": "top", "layer": "top",
"modules-left": ["hyprland/workspaces","cpu","memory","tray"], "modules-left": ["hyprland/workspaces","cpu","memory","tray"],
"modules-center": [], "modules-center": [],
"modules-right": ["clock","hyprland/language","backlight","pulseaudio","network","battery"], "modules-right": ["clock","custom/yearprogress","hyprland/language","backlight","pulseaudio","network","battery"],
"pulseaudio": { "pulseaudio": {
"tooltip": false, "tooltip": false,
@ -70,5 +70,10 @@
"format": " ", "format": " ",
"on-click": "wofi --show drun", "on-click": "wofi --show drun",
"on-click-right": "killall rofi" "on-click-right": "killall rofi"
},
"custom/yearprogress":{
"format": "󱦟 {}",
"interval": 3600,
"exec": "get_year_progress"
} }
} }

View File

@ -153,6 +153,18 @@ window#waybar.hidden {
background: #161320; 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 { #custom-power {
font-size: 20px; font-size: 20px;
margin-top: 6px; margin-top: 6px;