hyprland things

This commit is contained in:
Daylin Morgan 2024-01-23 16:16:54 -06:00
parent 68974f3371
commit 9ac9f4896c
Signed by: daylin
GPG key ID: C1E52E7DD81DF79F
4 changed files with 5 additions and 10 deletions

View file

@ -1,4 +1,3 @@
# Execute your favorite apps at launch
exec-once = ~/.config/hypr/start_eww.sh &
exec-once = hyprpaper &
exec-once = flameshot &

View file

@ -68,11 +68,13 @@ gestures {
misc {
# See https://wiki.hyprland.org/Configuring/Variables/ for more
disable_splash_rendering = true
force_default_wallpaper = 0 # Set to 0 to disable the anime mascot wallpapers
}
source = ./keys.conf
source = ./windows.conf
source = ./execs.conf
animation=windows,1,5,default,popin 80%
animation=workspaces,1,5,default,slidefadevert 20%

View file

@ -35,6 +35,7 @@ bind = $mainMod SHIFT, 5, movetoworkspace, 5
bind = $mainMod SHIFT, 6, movetoworkspace, 6
bind = $mainMod SHIFT, 7, movetoworkspace, 7
bind = $mainMod SHIFT, 8, movetoworkspace, 8
bind = $mainMod SHIFT, 9, movetoworkspace, 9
# Example special workspace (scratchpad)
# bind = $mainMod, S, togglespecialworkspace, magic

View file

@ -26,13 +26,7 @@ msg() {
chosen="$(echo -e "$options" | $rofi_command -p "󱎫 $uptime " -dmenu -selected-row 2)"
case $chosen in
$lock)
if [[ -f $HOME/bin/lock ]]; then
$HOME/bin/lock
elif [[ -f /usr/bin/i3lock ]]; then
i3lock
elif [[ -f /usr/bin/dm-tool ]]; then
dm-tool "lock"
fi
swaylock
;;
$shutdown)
ans=$(confirm_exit &)
@ -57,8 +51,7 @@ $reboot)
$suspend)
ans=$(confirm_exit &)
if [[ $ans == "yes" ]]; then
mpc -q pause
amixer set Master mute
# amixer set Master mute
systemctl suspend
elif [[ $ans == "no" ]]; then
exit 0