From 9f143aa738be4931c190f1f15c74a464416da351 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Thu, 28 Dec 2023 00:49:52 +0900 Subject: [PATCH] cleaned up Keybinds and enhanced kitty --- config/hypr/configs/Keybinds.conf | 31 +++++++++++-------------------- config/kitty/kitty.conf | 7 +++++-- 2 files changed, 16 insertions(+), 22 deletions(-) diff --git a/config/hypr/configs/Keybinds.conf b/config/hypr/configs/Keybinds.conf index 4f8f6ae..7538d6f 100644 --- a/config/hypr/configs/Keybinds.conf +++ b/config/hypr/configs/Keybinds.conf @@ -79,23 +79,23 @@ bind = , xf86AudioNext, exec, $scriptsDir/MediaCtrl.sh --nxt bind = , xf86AudioPrev, exec, $scriptsDir/MediaCtrl.sh --prv bind = , xf86audiostop, exec, $scriptsDir/MediaCtrl.sh --stop -# Resize (vim style) -binde = $mainMod SHIFT, H, resizeactive,-50 0 -binde = $mainMod SHIFT, L, resizeactive,50 0 -binde = $mainMod SHIFT, K, resizeactive,0 -50 -binde = $mainMod SHIFT, J, resizeactive,0 50 +# Screenshot keybindings NOTE: You may need to press Fn key as well +bind = $mainMod, Print, exec, $scriptsDir/ScreenShot.sh --now +bind = $mainMod SHIFT, Print, exec, $scriptsDir/ScreenShot.sh --area +bind = $mainMod CTRL, Print, exec, $scriptsDir/ScreenShot.sh --in5 #screenshot in 5 secs +bind = $mainMod ALT, Print, exec, $scriptsDir/ScreenShot.sh --in10 #screenshot in 10 secs +bind = ALT, Print, exec, $scriptsDir/ScreenShot.sh --active #screenshot in 10 secs +# screenshot with swappy (another screenshot tool) +bind = $mainMod SHIFT, S, exec, grim -g "$(slurp)" - | swappy -f - + +# Resize windows binde = $mainMod SHIFT, left, resizeactive,-50 0 binde = $mainMod SHIFT, right, resizeactive,50 0 binde = $mainMod SHIFT, up, resizeactive,0 -50 binde = $mainMod SHIFT, down, resizeactive,0 50 -# Move (vim style) -bind = $mainMod CTRL, H, movewindow, l -bind = $mainMod CTRL, L, movewindow, r -bind = $mainMod CTRL, K, movewindow, u -bind = $mainMod CTRL, J, movewindow, d - +# Move windows bind = $mainMod CTRL, left, movewindow, l bind = $mainMod CTRL, right, movewindow, r bind = $mainMod CTRL, up, movewindow, u @@ -165,15 +165,6 @@ bind = $mainMod, comma, workspace, e-1 bindm = $mainMod, mouse:272, movewindow bindm = $mainMod, mouse:273, resizewindow -# Screenshot keybindings NOTE: You may need to press Fn key as well -bind = $mainMod, Print, exec, $scriptsDir/ScreenShot.sh --now -bind = $mainMod SHIFT, Print, exec, $scriptsDir/ScreenShot.sh --area -bind = $mainMod CTRL, Print, exec, $scriptsDir/ScreenShot.sh --in5 #screenshot in 5 secs -bind = $mainMod ALT, Print, exec, $scriptsDir/ScreenShot.sh --in10 #screenshot in 10 secs - - -# screenshot with swappy (another screenshot tool) -bind = $mainMod SHIFT, S, exec, grim -g "$(slurp)" - | swappy -f - # If you are using Ja's Hyprland dots as Host and wants to passthrough keyboard into a VM #bind = $mainMod ALT, P, submap, passthru diff --git a/config/kitty/kitty.conf b/config/kitty/kitty.conf index e5bba2c..a5e836f 100644 --- a/config/kitty/kitty.conf +++ b/config/kitty/kitty.conf @@ -1,7 +1,7 @@ #include ~/.cache/wal/colors-kitty.conf font_family Fira Code SemiBold -font_size 12.0 +font_size 13.0 bold_font auto italic_font auto bold_italic_font auto @@ -10,4 +10,7 @@ background_opacity 0.7 confirm_os_window_close 0 -enable_audio_bell no \ No newline at end of file +enable_audio_bell no + +selection_foreground #000000 +selection_background #F5FBFF \ No newline at end of file