From e7eb9da84c76a7a38d9b7845eff677071a74e44c Mon Sep 17 00:00:00 2001 From: Saumit Dinesan Date: Sun, 26 Mar 2023 17:37:19 +0530 Subject: hypr: tofi-run + replacing waylock for swaylock --- .config/hypr/hyprland.conf | 5 +++-- 1 file 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" -- cgit v1.2.3