18 lines
1.1 KiB
Lua
18 lines
1.1 KiB
Lua
|
|
hl.on("hyprland.start", function()
|
||
|
|
hl.exec_cmd("swaync")
|
||
|
|
-- exec-once = xrdb /home/ganome/.Xresources
|
||
|
|
-- exec-once = urxvtd --quiet --opendisplay --fork
|
||
|
|
hl.exec_cmd("swayidle -w timeout 720 'swaylock -f' timeout 800 'hyprctl dispatch dpms off' resume 'hyprctl dispatch dpms on' before-sleep 'swaylock -f -c 000000'")
|
||
|
|
-- exec-once = /home/ganome/.local/bin/reset-hyprpm
|
||
|
|
-- exec-once = dbus-update-activation-environment --systemd --all #This line os from hyprland wiki
|
||
|
|
-- exec-once = systemctl --user import-environment QT_QPA_PLATFORMTHEME WAYLAND_DISPLAY XDG_CURRENT_DESKTOP #This also comes from hyprland wiki and both involved themes for the share picker
|
||
|
|
-- exec-once=dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP QT_QPA_PLATFORMTHEME #This is mirrored from two lines above - but the previous line does all the environment variables.
|
||
|
|
|
||
|
|
-- REMOTE DESKTOP
|
||
|
|
-- exec-once = wayvnc -g -o DP-1 0.0.0.0
|
||
|
|
|
||
|
|
-- Clipboard history with Super+V
|
||
|
|
hl.exec_cmd("wl-paste --type text --watch cliphist store")
|
||
|
|
hl.exec_cmd("wl-paste --type image --watch cliphist store")
|
||
|
|
end)
|