Compare commits

...

2 commits

Author SHA1 Message Date
8ff35ec45d
Added swayidle to Hyprland 2023-09-24 02:33:59 -06:00
dddf718030
Fixed old ass typo in sway config 2023-09-24 02:33:40 -06:00
3 changed files with 10 additions and 5 deletions

View file

@ -1 +1,4 @@
$lockBG = ~/Pictures/orion-nebula-5120x2880-hubble-space-telescope-nasa-hd-5k-1933.jpg
$idleLockTime = 600
$idleScreenTime = 605
$idleScreenTimeLocked = 10

View file

@ -80,6 +80,7 @@ misc {
#windowrule=pseudo,abc
#windowrule=monitor 0,xyz
$lockCMD = swaylock -e -F -f -i $lockBG
# ------------------- BINDS ----------------------- #
# some nice mouse binds
@ -91,7 +92,7 @@ bind=SUPER,Return,exec,footclient
bind=SUPERCTRL,Q,exec,hyprctl kill
bind=SUPERSHIFT,c,exec,pkill waybar && waybar -c ~/.config/waybar/hyprland
bind=SUPERSHIFT,r,exec,hyprctl reload
bind=CTRLALT,l,exec,swaylock -e -F -f -i $lockBG
bind=CTRLALT,l,exec,$lockCMD
bind=SUPER,D,exec,wofi --show drun --allow-images -G -i --define=drun-print_command=true | sed -e 's/%[A-Za-z0-9]*/ /g' | xargs hyprctl dispatch exec
bind=,Print,exec,grim -g "$(slurp)" - | swappy -f -
bind=SUPERSHIFT,E,exec,zenity --question --text='Do you wish to exit Hyprland?' --default-cancel && hyprctl dispatch exit
@ -183,5 +184,6 @@ exec-once = wl-paste --type text --watch cliphist store #Stores only text data
exec-once = wl-paste --type image --watch cliphist store #Stores only image data
exec-once = lxqt-policykit-agent
exec-once = hyprpaper
exec-once = swayidle -w timeout $idleLockTime '$lockCMD' timeout $idleScreenTime 'hyprctl dispatch dpms off' timeout $idleScreenTimeLocked 'pgrep -x swaylock && hyprctl dispatch dpms off' resume 'hyprctl dispatch dpms on' before-sleep '$lockCMD' before-sleep 'playerctl -a pause'
source = ~/.config/hypr/conf.d/override.conf

View file

@ -231,10 +231,10 @@ bindsym --no-repeat Print exec grim -g "$(slurp)" - | swappy -f -
#bindsym $mod+Mod1+Period dunstctl context
# Mako
bindsym $mod+Mod1+Space makoctl dismiss
bindsym $mod+Mod1+Shift makoctl dismiss -a
bindsym $mod+Mod1+Tab makoctl restore
bindsym $mod+Mod1+Period makoctl menu wofi -dmenu
bindsym $mod+Mod1+Space exec makoctl dismiss
bindsym $mod+Mod1+Shift exec makoctl dismiss -a
bindsym $mod+Mod1+Tab exec makoctl restore
bindsym $mod+Mod1+Period exec makoctl menu wofi -dmenu
# Start i3bar to display a workspace bar (plus the system information i3status
# finds out, if available)