updated hyprland config
This commit is contained in:
+5
-6
@@ -3,11 +3,10 @@
|
||||
animations {
|
||||
enabled = true # enabling animations
|
||||
first_launch_animation = true
|
||||
animation = windows, 1, 2, default
|
||||
animation = windowsOut, 1, 2, default, popin 80%
|
||||
animation = border, 1, 2, default
|
||||
animation = borderangle, 1, 2, default
|
||||
animation = fade, 1, 2, default
|
||||
animation = workspaces, 1, 4, default,slidefade 20%
|
||||
bezier = myBezier, 0.4, 0, 0.2, 1
|
||||
animation = windows, 1, 2.5, myBezier, popin 80%
|
||||
animation = border, 1, 2.5, myBezier
|
||||
animation = fade, 1, 2.5, myBezier
|
||||
animation = workspaces, 1, 2.5, myBezier, slidefade 20%
|
||||
}
|
||||
#------------------------------------------------------------
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#!/bin/bash
|
||||
|
||||
song_info=$(playerctl metadata --format '{{title}} {{artist}}')
|
||||
song_info=$(playerctl metadata --format '{{title}} {{artist}}')
|
||||
|
||||
echo "$song_info"
|
||||
|
||||
@@ -3,8 +3,14 @@
|
||||
general {
|
||||
lock_cmd = pidof hyprlock || hyprlock # lock command
|
||||
before_sleep_cmd = loginctl lock-session # before sleep command is lock-session
|
||||
after_sleep_cmd = hyprctl dispatch dpms on
|
||||
}
|
||||
#----------------------------------------------------------------------------------------
|
||||
listener {
|
||||
timeout = 150
|
||||
on-timeout = brightnesctl -s set 10
|
||||
on-resume = brightnesctl -r
|
||||
}
|
||||
#----- listener 600 seconds(10 minutes) -------------------------------------------------
|
||||
listener {
|
||||
timeout = 600 # timeout
|
||||
@@ -18,4 +24,8 @@ listener {
|
||||
on-resume = hyprctl dispatch dpms on # command when timeout
|
||||
}
|
||||
#----------------------------------------------------------------------------------------
|
||||
listener {
|
||||
timeout = 8000
|
||||
on-timeout = systemctl suspend
|
||||
}
|
||||
#----------------------------------------------------------------------------------------
|
||||
|
||||
@@ -54,3 +54,4 @@ xwayland {
|
||||
# sensitivity = -0.5
|
||||
#}
|
||||
#----------------------------------------------------------------------------------------------------------------------
|
||||
|
||||
|
||||
+19
-19
@@ -2,14 +2,14 @@
|
||||
#---- backgroung configuration ----------------------------------------------------------------------------------------------------------------------
|
||||
background {
|
||||
monitor = # show on all monitors
|
||||
path = /home/tola/Pictures/wallpaper/dunes-sun.png
|
||||
path = /home/tola/Pictures/wallpaper/chad_a53fb74bb09b44f5a15cdf00f554ea81.png
|
||||
color = rgba(25, 20, 20, 1.0) # color
|
||||
blur_passes = 4 # 0 disables blurring
|
||||
blur_size = 2 # blur size
|
||||
blur_passes = 3 # 0 disables blurring
|
||||
blur_size = 3 # blur size
|
||||
noise = 0.0117 # noise
|
||||
contrast = 0.8916 # contrast setting
|
||||
brightness = 0.8172 # brightness setting
|
||||
vibrancy = 0.1696 # vibrancy setting
|
||||
brightness = 0.5 # brightness setting
|
||||
vibrancy = 0.0 # vibrancy setting
|
||||
vibrancy_darkness = 0.0 # vibrancy darkness stting
|
||||
}
|
||||
#----------------------------------------------------------------------------------------------------------------------------------------------------
|
||||
@@ -26,7 +26,7 @@ image {
|
||||
path = ~/dotfiles/hypr/pictures/user.jpeg # image to show
|
||||
border_size = 2 # border size
|
||||
border_color = rgba(255, 255, 255, 0) # border color
|
||||
size = 130 # size
|
||||
size = 200 # size
|
||||
rounding = -1 # rounding
|
||||
rotate = 0 # rotating
|
||||
reload_time = -1 # reload timing
|
||||
@@ -43,7 +43,7 @@ label {
|
||||
text = cmd[update:1000] echo "<span foreground='##ffffff'>$(date +"%A %d %B %Y")</span>" # text to show
|
||||
color = rgba(200, 200, 200, 1.0) # color
|
||||
font_size = 25 # font size
|
||||
font_family = SF Pro Display Bold # font
|
||||
font_family = JetBrainsMonoNerd Font Mono Bold # font
|
||||
position = 0, 350 # position
|
||||
halign = center # horizontal align
|
||||
valign = center # vertical align
|
||||
@@ -55,7 +55,7 @@ label {
|
||||
text = cmd[update:1000] echo "<span foreground='##ffffff'>$(date +"%H:%M")</span>" # text to show
|
||||
color = rgba(200, 200, 200, 1.0) # color
|
||||
font_size = 120 # font size
|
||||
font_family = SF Pro Display Bold # font
|
||||
font_family = JetBrainsMonoNerd Font Mono Bold # font
|
||||
position = 0, 250 # position
|
||||
halign = center # horizontal align
|
||||
valign = center # vertical align
|
||||
@@ -65,11 +65,11 @@ label {
|
||||
#------- User Box widget configuration --------------------------------------------------------------------------------------------------------------
|
||||
shape {
|
||||
monitor = # show on all monitors
|
||||
size = 300, 60 # size
|
||||
color = rgba(255, 255, 255, .1) # color
|
||||
size = 256, 48 # size
|
||||
color = rgba(0, 0, 0, 1) # color
|
||||
rounding = -1 # rounding
|
||||
border_size = 0 # border size
|
||||
border_color = rgba(253, 198, 135, 0) # border color
|
||||
border_color = rgba(0, 0, 0, 1) # border color
|
||||
rotate = 0 # rotation
|
||||
xray = false # if true, make a "hole" in thej background (rectangle of specified size, no rotation)
|
||||
position = 0, -130 # position
|
||||
@@ -80,14 +80,14 @@ shape {
|
||||
#------ User label configuration --------------------------------------------------------------------------------------------------------------------
|
||||
label {
|
||||
monitor = # show on all monitors
|
||||
text = $USER # text to show
|
||||
text = cmd[update:1000] echo " $USER@$(hostname)" # text to show
|
||||
color = rgba(216, 222, 233, 0.80) # color
|
||||
#outline_thickness = 2 # outline
|
||||
#dots_size = 0.2 # Scale of input-field height, 0.2 - 0.8
|
||||
#dots_spacing = 0.2 # Scale of dots absolute size, 0.0 - 1.0
|
||||
#dots_center = true # dots in center
|
||||
font_size = 18 # font size
|
||||
font_family = SF Pro Display Bold # font
|
||||
font_family = JetBrainsMonoNerd Font Mono Bold # font
|
||||
position = 0, -130 # position
|
||||
halign = center # horizontal align
|
||||
valign = center # vertical align
|
||||
@@ -97,16 +97,16 @@ label {
|
||||
#--------- input for password widget configuration --------------------------------------------------------------------------------------------------
|
||||
input-field {
|
||||
monitor = # show on all monitors
|
||||
size = 300, 60 # size
|
||||
outline_thickness = 2 # outline
|
||||
size = 256, 48 # size
|
||||
outline_thickness = 0 # outline
|
||||
dots_size = 0.2 # scale of input field height
|
||||
dots_spacing = 0.2 # scale of dots absolute size
|
||||
dots_spacing = 0.5 # scale of dots absolute size
|
||||
dots_center = true # dots in center
|
||||
outer_color = rgba(0, 0, 0, 0) # outer color
|
||||
inner_color = rgba(255, 255, 255, 0.1) # inner color
|
||||
inner_color = rgba(0, 0, 0, 1) # inner color
|
||||
font_color = rgb(200, 200, 200) # font color
|
||||
fade_on_empty = false # fade on empty
|
||||
font_family = SF Pro Display Bold # font
|
||||
font_family = JetBrainsMonoNerd Font Mono Bold # font
|
||||
placeholder_text = <i><span foreground="##ffffff99">Enter Pass</span></i> # text to show
|
||||
hide_input = false # disable hide
|
||||
position = 0, -210 # position
|
||||
@@ -120,7 +120,7 @@ label {
|
||||
text = cmd[update:1000] echo "$(~/dotfiles/hypr/bin/songdetail.sh)" # text to show
|
||||
color = rgba(255, 255, 255, 0.6) # color
|
||||
font_size = 18 # font size
|
||||
font_family = JetBrains Mono Nerd, SF Pro Display Bold # font
|
||||
font_family = JetBrainsMonoNerd Font Mono Bold # font
|
||||
position = 0, 50 # position
|
||||
halign = center # horizontail align
|
||||
valign = bottom # vertical align
|
||||
|
||||
Reference in New Issue
Block a user