From 7b532ce861ad607e21e7325350e2d00989727545 Mon Sep 17 00:00:00 2001 From: garhve Date: Mon, 16 Sep 2024 15:20:55 +0800 Subject: set TERM env and configure hyprshot --- .config/hypr/hyprland.conf | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to '.config/hypr/hyprland.conf') diff --git a/.config/hypr/hyprland.conf b/.config/hypr/hyprland.conf index 8dde836..a3bab5a 100644 --- a/.config/hypr/hyprland.conf +++ b/.config/hypr/hyprland.conf @@ -66,6 +66,7 @@ exec-once = clash-verge env = XCURSOR_SIZE,24 env = HYPRCURSOR_SIZE,24 +env = TERM, kitty # indicate current workplace env = XDG_CURRENT_DESKTOP, Hyprland @@ -92,6 +93,7 @@ env = QT_IM_MODULE, fcitx env = XMODIFILERS, @im=fcitx env = SDL_IM_MODULE, fcitx env = GLFW_IM_MODULE, ibus + ##################### ### LOOK AND FEEL ### ##################### @@ -217,8 +219,7 @@ device { $mainMod = ALT # Sets "Windows" key as main modifier # Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more - # xkb keycode -bind = $mainMod, 0xff0d, exec, $terminal +bind = $mainMod, 0xff0d, exec, $terminal # xkb keycode for return key bind = $mainMod, W, killactive, bind = $mainMod, L, exit, bind = $mainMod, E, exec, $fileManager @@ -227,6 +228,11 @@ bind = $mainMod, D, exec, $menu bind = $mainMod, P, pseudo, # dwindle bind = $mainMod, J, togglesplit, # dwindle +# hyprshot binds, PrintScreen's not working, use these 3 temporarily +bind = $mainMod, COMMA, exec, hyprshot -m output # monitor +bind = $mainMod, PERIOD, exec, hyprshot -m window +bind = $mainMod, SLASH, exec, hyprshot -m region + # Move focus with mainMod + arrow keys bind = $mainMod, left, movefocus, l bind = $mainMod, right, movefocus, r -- cgit v1.2.3-70-g09d2