mirror of
https://github.com/TheM1Stery/dotfiles.git
synced 2025-04-19 16:51:10 +00:00
feat: add hyprlock and hypridle. fix stuff
This commit is contained in:
parent
4a7169fc86
commit
b6a296a671
@ -9,7 +9,8 @@ exec-once=[workspace 1 silent] steam
|
||||
exec-once= xembedsniproxy & # for wine system tray
|
||||
exec-once=solaar --window=hide
|
||||
exec-once=blueman-applet
|
||||
exec-once=hyprctl dispatch exec "armcord --enable-features=WaylandWindowDecorations,WebRTCPipeWireCapturer --ozone-platform-hint=wayland"
|
||||
exec-once=armcord --enable-features=WaylandWindowDecorations,WebRTCPipeWireCapturer --ozone-platform-hint=wayland & disown
|
||||
exec-once=hypridle
|
||||
# exec-once=wallengine --screen-root HDMI-A-2 1383845959
|
||||
# exec-once=/home/themystery/.local/share/JetBrains/Toolbox/bin/jetbrains-toolbox
|
||||
|
||||
|
14
hypr/hypridle.conf
Normal file
14
hypr/hypridle.conf
Normal file
@ -0,0 +1,14 @@
|
||||
$lockCmd = hyprlock
|
||||
general {
|
||||
lock_cmd = $lockCmd # dbus/sysd lock command (loginctl lock-session)
|
||||
unlock_cmd = loginctl unlock-session # same as above, but unlock
|
||||
before_sleep_cmd = $lockCmd # command ran before sleep
|
||||
after_sleep_cmd = $lockCmd # command ran after sleep
|
||||
ignore_dbus_inhibit = false # whether to ignore dbus-sent idle-inhibit requests (used by e.g. firefox or steam)
|
||||
}
|
||||
|
||||
listener {
|
||||
timeout = 500 # in seconds
|
||||
on-timeout = loginctl lock-session # command to run when timeout has passed
|
||||
on-resume = notify-send "Hello!" # command to run when activity is detected after timeout has fired.
|
||||
}
|
@ -1,10 +1,3 @@
|
||||
|
||||
########################################################################################
|
||||
AUTOGENERATED HYPR CONFIG.
|
||||
PLEASE USE THE CONFIG PROVIDED IN THE GIT REPO /examples/hypr.conf AND EDIT IT,
|
||||
OR EDIT THIS ONE ACCORDING TO THE WIKI INSTRUCTIONS.
|
||||
########################################################################################
|
||||
|
||||
#
|
||||
# Please note not all available settings / options are set here.
|
||||
# For a full list, see the wiki
|
||||
@ -169,12 +162,6 @@ gestures {
|
||||
workspace_swipe = off
|
||||
}
|
||||
|
||||
# Example per-device config
|
||||
# See https://wiki.hyprland.org/Configuring/Keywords/#executing for more
|
||||
device:epic-mouse-v1 {
|
||||
sensitivity = -0.5
|
||||
}
|
||||
|
||||
# Example windowrule v1
|
||||
# windowrule = float, ^(kitty)$
|
||||
# Example windowrule v2
|
||||
@ -199,7 +186,7 @@ bind = $mainMod, F, fullscreen, 1
|
||||
bind = $mainMod, T, fullscreen, 0
|
||||
bind = $mainMod, P, pseudo, # dwindle
|
||||
bind = $mainMod, J, togglesplit, # dwindle
|
||||
bind = $mainMod, L, exec, gtklock -i
|
||||
bind = $mainMod, L, exec, hyprlock
|
||||
bind = $mainMod, S, exec, grimblast --cursor --notify copy area
|
||||
bind = $mainMod_SHIFT, S, exec, grim -g "$(slurp)" - | satty --filename - --copy-command wl-copy
|
||||
bind = $mainMod_SHIFT, E, exec, grimblast --cursor --notify edit area
|
||||
|
44
hypr/hyprlock.conf
Normal file
44
hypr/hyprlock.conf
Normal file
@ -0,0 +1,44 @@
|
||||
general{
|
||||
disable_loading_bar = false
|
||||
hide_cursor = false
|
||||
no_fade_in = true
|
||||
}
|
||||
|
||||
|
||||
background{
|
||||
path = /home/themystery/Downloads/8ElYBmM.png
|
||||
color = rgba(25, 20, 20, 1.0)
|
||||
}
|
||||
|
||||
input-field {
|
||||
monitor =
|
||||
size = 200, 50
|
||||
outline_thickness = 3
|
||||
dots_size = 0.33 # Scale of input-field height, 0.2 - 0.8
|
||||
dots_spacing = 0.15 # Scale of dots' absolute size, 0.0 - 1.0
|
||||
dots_center = false
|
||||
outer_color = rgb(151515)
|
||||
inner_color = rgb(200, 200, 200)
|
||||
font_color = rgb(10, 10, 10)
|
||||
fade_on_empty = false
|
||||
placeholder_text = <i>Input Password...</i> # Text rendered in the input box when it's empty.
|
||||
hide_input = false
|
||||
|
||||
position = 0, -20
|
||||
halign = center
|
||||
valign = center
|
||||
}
|
||||
|
||||
|
||||
label {
|
||||
monitor =
|
||||
text = Hi there, $USER
|
||||
color = rgba(200, 200, 200, 1.0)
|
||||
font_size = 25
|
||||
font_family = Noto Sans
|
||||
|
||||
position = 0, 80
|
||||
halign = center
|
||||
valign = center
|
||||
}
|
||||
|
@ -2,7 +2,6 @@ exec-once = hyprpm reload -n
|
||||
|
||||
# keymaps
|
||||
|
||||
## hycov
|
||||
bind = $mainMod, W, hycov:toggleoverview
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
bind = $mainMod, R, exec, ~/.config/rofi/launchers/type-6/launcher.sh -m drun
|
||||
bind = $mainMod, B, exec, ~/.config/rofi/launchers/type-6/launcher.sh -m run
|
||||
# bind = $mainMod, W, exec, ~/.config/rofi/launchers/type-6/launcher.sh -m window
|
||||
bind = $mainMod, W, exec, ~/.config/rofi/launchers/type-6/launcher.sh -m window
|
||||
bind = $mainMod_ALT, B, exec, ~/.config/rofi/launchers/type-6/launcher.sh -m filebrowser
|
||||
bind = $mainMod, X, exec, ~/.config/rofi/powermenu/type-6/powermenu.sh
|
||||
bind = $secondaryMod, V, exec, ~/.config/rofi/applets/bin/volume.sh
|
||||
|
Loading…
Reference in New Issue
Block a user