summaryrefslogtreecommitdiff
path: root/.config/hypr/hyprland.conf
diff options
context:
space:
mode:
Diffstat (limited to '.config/hypr/hyprland.conf')
-rw-r--r--.config/hypr/hyprland.conf5
1 files changed, 3 insertions, 2 deletions
diff --git a/.config/hypr/hyprland.conf b/.config/hypr/hyprland.conf
index c658e1f..70be746 100644
--- a/.config/hypr/hyprland.conf
+++ b/.config/hypr/hyprland.conf
@@ -5,6 +5,7 @@ monitor=eDP-1,1920x1080@60,0x0,1.00
# Execute your favorite apps at launch
exec-once = waybar & dunst & wpaperd
+exec-once = exec-once=dbus-update-activation-environment --systemd DISPLAY WAYLAND_DISPLAY
#hyprpaper
# Source a file (multi-file configs)
@@ -114,7 +115,7 @@ bind = $MOD, W, killactive
bind = $MOD CTRL SHIFT, Q, exit
bind = $MOD, F, togglefloating
bind = $MOD, Space, togglefloating
-bindr= $MOD, D, exec, pkill tofi || tofi-run
+bindr= $MOD, D, exec, pkill tofi || tofi-run | xargs hyprctl dispatch exec
################
# Applications #
@@ -162,7 +163,7 @@ bind = $MOD SHIFT, B, exec, foot -e btop
# Global Hot-keys #
###################
##screenlock
-bind = $MOD SHIFT, L, exec, waylock
+bind = $MOD SHIFT, L, exec, swaylock
#screenshot
bind = ,Print, exec, IMG=pic-full-"$(date +%y-%m-%d--%H-%M-%S)".png && grim "$GRIM_DEFAULT_DIR/""$IMG" && wl-copy < "$GRIM_DEFAULT_DIR/""$IMG"