summaryrefslogtreecommitdiff
path: root/.config/hypr/hyprland.conf
diff options
context:
space:
mode:
authorgarhve <git@garhve.com>2024-09-16 15:20:55 +0800
committergarhve <git@garhve.com>2024-09-16 15:20:55 +0800
commit7b532ce861ad607e21e7325350e2d00989727545 (patch)
tree11ce48089befa7b01d33ab1ecb5cd93fd58ddc5a /.config/hypr/hyprland.conf
parent3d0ae8302742f71480fc22621944a325d337f52f (diff)
set TERM env and configure hyprshot
Diffstat (limited to '.config/hypr/hyprland.conf')
-rw-r--r--.config/hypr/hyprland.conf10
1 files changed, 8 insertions, 2 deletions
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