init
This commit is contained in:
parent
44ef50f605
commit
e5f49e1065
@ -41,7 +41,7 @@ monitor=,preferred,auto,auto
|
||||
# Set programs that you use
|
||||
$terminal = foot
|
||||
$fileManager = nautilus
|
||||
$menu = hyprlauncher
|
||||
$menu = wofi -S drun -p Search -I -b -i
|
||||
|
||||
|
||||
#################
|
||||
@ -242,7 +242,7 @@ device {
|
||||
$mainMod = SUPER # Sets "Windows" key as main modifier
|
||||
|
||||
# Example binds, see https://wiki.hypr.land/Configuring/Binds/ for more
|
||||
bind = $mainMod, Return, exec, $terminal
|
||||
bind = $mainMod, Return, exec, $terminal
|
||||
bind = $mainMod SHIFT, Q, killactive,
|
||||
# bind = $mainMod, M, exec, command -v hyprshutdown >/dev/null 2>&1 && hyprshutdown || hyprctl dispatch exit
|
||||
# bind = $mainMod, E, exec, $fileManager
|
||||
@ -436,6 +436,7 @@ exec-once = hyprsunset
|
||||
exec-once = systemctl --user start hyprpolkitagent
|
||||
exec-once = waybar
|
||||
exec-once = nm-applet --indicator
|
||||
exec-once = blueman-applet
|
||||
exec-once = --no-startup-id easyeffects --gapplication-service
|
||||
exec-once = nextcloud --background
|
||||
exec-once = keepassxc
|
||||
|
||||
@ -1,18 +1,18 @@
|
||||
#!/bin/sh
|
||||
|
||||
choice=$(echo -e "Lock\nLogout\nReboot\nShutdown" | hyprlauncher -m)
|
||||
case "$choice" in
|
||||
Lock)
|
||||
choice=$(echo -e "Lock\nLogout\nReboot\nShutdown" | wofi --dmenu --hide-search --lines 4 --hide-scroll --width 100)
|
||||
case "$(echo "$choice" | tr '[:upper:]' '[:lower:]')" in
|
||||
lock)
|
||||
hyprlock
|
||||
;;
|
||||
Logout)
|
||||
logout)
|
||||
# hyprctl dispatch exit
|
||||
command -v hyprshutdown >/dev/null 2>&1 && hyprshutdown || hyprctl dispatch exit
|
||||
;;
|
||||
Reboot)
|
||||
reboot)
|
||||
systemctl reboot
|
||||
;;
|
||||
Shutdown)
|
||||
shutdown)
|
||||
systemctl poweroff
|
||||
;;
|
||||
esac
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user