Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ### file : ~/.config/wlogout/layout
- {
- "label" : "lock",
- "action" : "mpvpaper -l overlay -vs -o 'no-audio loop' '*' ~/Wallpapers/Video/itachi-uchiha.1920x1080.mp4 -f ; sleep .5 ; hyprlock ; pkill mpvpaper",
- "text" : "Lock",
- "keybind" : "l"
- }
- {
- "label" : "hibernate",
- "action" : "systemctl hibernate",
- "text" : "Hibernate",
- "keybind" : "h"
- }
- {
- "label" : "logout",
- "action" : "loginctl terminate-user $USER",
- "text" : "Logout",
- "keybind" : "e"
- }
- {
- "label" : "shutdown",
- "action" : "systemctl poweroff",
- "text" : "Shutdown",
- "keybind" : "s"
- }
- {
- "label" : "suspend",
- "action" : "systemctl suspend",
- "text" : "Suspend",
- "keybind" : "u"
- }
- {
- "label" : "reboot",
- "action" : "systemctl reboot",
- "text" : "Reboot",
- "keybind" : "r"
- }
- ### file : ~/.config/hypr/hyprlock.conf
- $path = ~/Wallpapers
- general {
- disable_loading_bar = true
- hide_cursor = true
- grace = 0
- no_fade_in = false
- no_fade_out = false
- ignore_empty_input = false
- pam_module = hyprlock
- text_trim = true
- immediate_render = true
- fractional_scaling = 2
- #screencopy_mode
- fail_timeout = 0.1
- }
- #animations {
- # animation = fadeIn, 0
- # animation = fadeOut, 0
- #}
- background {
- monitor =
- path = #$path/bg.jpg
- color = rgba(0, 0, 0, 0)
- blur_passes = 0
- blur_size = 4
- noise = 0.0
- contrast = 1.0
- brightness = 0.8
- vibrancy = 0.0
- vibrancy_darkness = 0.0
- }
- image {
- monitor =
- path = $path/user.png
- size = 200
- rounding = -1
- border_size = 2
- border_color = rgba(255, 255, 255, 1)
- rotate = 0
- #reload_time = -1
- #reload_cmd =
- position = 0,0
- halign = center
- valign = center
- }
- shape {
- monitor =
- size = 200, 0
- border_size = 1
- border_color = rgba(255, 255, 255, 1)
- position = 0,330
- halign = center
- valign = bottom
- }
- input-field {
- monitor =
- size = 200, 50
- outline_thickness = 0
- dots_size = 0.33
- dots_spacing = 0.15
- dots_center = true
- dots_rounding = -1
- outer_color = rgba(0, 0, 0, 0)
- inner_color = rgba(255, 255, 255, 0)
- font_color = rgba(255, 255, 255, 1)
- fade_on_empty = false
- fade_timeout = 1
- placeholder_text = <i> Enter Password </i>
- hide_input = false
- rounding = -1
- check_color = rgba(0, 0, 0, 0)
- fail_color = rgba(255, 0, 0, 0)
- fail_text = <i> Authentication failure </i>
- fail_transition = 10
- capslock_color = -1
- numlock_color = -1
- bothlock_color = -1
- invert_numlock = false
- swap_font_color = false
- position = 0,320
- halign = center
- valign = bottom
- }
- label {
- monitor =
- text = cmd[update:18000000] echo "<b> "$(date +'%A, %-d %B %Y')" </b>"
- color = rgba(255, 255, 255)
- font_size = 24
- font_family = Noto Sans 10
- position = 0, -300
- halign = center
- valign = top
- }
- label {
- monitor =
- text = cmd[update:30000] echo "<b><big> $(date +"%I:%M %p") </big></b>" # AM/PM
- #text = cmd[update:1000] echo "<b><big> $(date +"%H:%M:%S") </big></b>" # 24H
- color = rgba(255, 255, 255)
- font_size = 94
- font_family = Noto Sans 10
- position = 0, -100
- halign = center
- valign = top
- }
- label {
- monitor =
- size = 150, 35
- text = $USER
- position = 0, -150
- }
- ### file : ~/.config/hypr/hypridle.conf
- #$monitor_disable = hyprctl keyword monitor 'HDMI-A-1,disable'
- #$monitor_max = hyprctl keyword monitor 'HDMI-A-1, [email protected], auto-right,1'
- #$monitor_med = hyprctl keyword monitor 'HDMI-A-1, [email protected], auto-right,1'
- #$monitor_min = hyprctl keyword monitor 'HDMI-A-1, [email protected], auto-right,0.5'
- $video_bg = pkill mpvpaper ; mpvpaper -l top -vs -o "no-audio loop" '*' ~/Wallpapers/Video/itachi-uchiha.1920x1080.mp4 -f
- general {
- #lock_cmd = loginctl lock-session
- #unlock_cmd = loginctl unlock-session
- before_sleep_cmd = notify-send "Going to sleep"
- after_sleep_cmd = brightnessctl -r ; pidof hyprlock || ($video_bg ; hyprlock ; pkill mpvpaper)
- ignore_dbus_inhibit = false
- ignore_systemd_inhibit = false
- }
- listener {
- timeout = 30
- on-timeout = brightnessctl -s ; brightnessctl set 0%
- on-resume = brightnessctl -r
- }
- listener {
- timeout = 120
- on-timeout = systemctl suspend
- on-resume = brightnessctl -r ; pidof hyprlock || ($video_bg ; hyprlock ; pkill mpvpaper)
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement