summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSaumit Dinesan <justsaumit@protonmail.com>2023-03-26 17:37:19 +0530
committerSaumit Dinesan <justsaumit@protonmail.com>2023-03-26 17:37:19 +0530
commite7eb9da84c76a7a38d9b7845eff677071a74e44c (patch)
treef7e37db73ee9826fde7ec50ce042e4f19a66bbec
parent99a5fef3bb7368ca5b206a4da512970f426f95ce (diff)
hypr: tofi-run + replacing waylock for swaylock
-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"