From 9ac9f4896c23d06b7efd0fb5daa38f00a4a49d7b Mon Sep 17 00:00:00 2001 From: Daylin Morgan Date: Tue, 23 Jan 2024 16:16:54 -0600 Subject: [PATCH] hyprland things --- home/private_dot_config/hypr/execs.conf | 1 - home/private_dot_config/hypr/hyprland.conf | 2 ++ home/private_dot_config/hypr/keys.conf | 1 + .../rofi/bin/executable_powermenu.sh | 11 ++--------- 4 files changed, 5 insertions(+), 10 deletions(-) diff --git a/home/private_dot_config/hypr/execs.conf b/home/private_dot_config/hypr/execs.conf index 0593445..5435497 100644 --- a/home/private_dot_config/hypr/execs.conf +++ b/home/private_dot_config/hypr/execs.conf @@ -1,4 +1,3 @@ -# Execute your favorite apps at launch exec-once = ~/.config/hypr/start_eww.sh & exec-once = hyprpaper & exec-once = flameshot & diff --git a/home/private_dot_config/hypr/hyprland.conf b/home/private_dot_config/hypr/hyprland.conf index 92e83d3..2729eea 100644 --- a/home/private_dot_config/hypr/hyprland.conf +++ b/home/private_dot_config/hypr/hyprland.conf @@ -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% diff --git a/home/private_dot_config/hypr/keys.conf b/home/private_dot_config/hypr/keys.conf index fb7a5fe..db82faa 100644 --- a/home/private_dot_config/hypr/keys.conf +++ b/home/private_dot_config/hypr/keys.conf @@ -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 diff --git a/home/private_dot_config/rofi/bin/executable_powermenu.sh b/home/private_dot_config/rofi/bin/executable_powermenu.sh index 5b35a09..f6d9763 100644 --- a/home/private_dot_config/rofi/bin/executable_powermenu.sh +++ b/home/private_dot_config/rofi/bin/executable_powermenu.sh @@ -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