summaryrefslogtreecommitdiff
path: root/.config
diff options
context:
space:
mode:
authorAndrew Guschin <guschin@altlinux.org>2024-10-06 22:00:12 +0400
committerAndrew Guschin <guschin@altlinux.org>2024-10-06 22:00:12 +0400
commitb17bf5653e6f9c4ebdd56ab10ebde08580e97ee4 (patch)
treec8bd50a369db7d6498193b6274565ca8246dcfb6 /.config
parentc10d143340bb398f610573c37a9b2d28a29aea67 (diff)
changes in hyprland config
- remove signal from autostart - remove signal scratchpad - change hyprcursor theme to rose-pine - change terminal back to wezterm - change scroll factor on mouse to 0.8 - add bind for screenshot key on my keyboard
Diffstat (limited to '.config')
-rw-r--r--.config/hypr/hyprland.conf28
1 files changed, 11 insertions, 17 deletions
diff --git a/.config/hypr/hyprland.conf b/.config/hypr/hyprland.conf
index d2761f6..b69d354 100644
--- a/.config/hypr/hyprland.conf
+++ b/.config/hypr/hyprland.conf
@@ -2,25 +2,25 @@ monitor=eDP-1,preferred,auto,1.25
monitor=HDMI-A-1,preferred,auto-left,1.25
monitor=DP-1,preferred,auto-left,1.25
-# Execute your favorite apps at launch
-# exec-once = waybar & hyprpaper & firefox
-exec-once = hyprpaper & waybar & telegram & signal-desktop
+exec-once = hyprpaper & waybar & telegram
+exec-once = hyprctl setcursor 'rose-pine' 30
+exec-once = gsettings set org.gnome.desktop.interface cursor-theme 'rose-pine'
# Source a file (multi-file configs)
# source = ~/.config/hypr/myColors.conf
-$terminal = alacritty
+$terminal = wezterm start --always-new-process
$menu = wofi --show run
# Some default env vars.
-env = XCURSOR_SIZE,24
+# env = XCURSOR_SIZE,24
env = QT_QPA_PLATFORMTHEME,qt5ct # change to qt6ct if you have that
input {
kb_layout = us,ru
kb_options = grp:caps_toggle
follow_mouse = 1
- scroll_factor = 3
+ scroll_factor = 0.8
touchpad {
natural_scroll = yes
@@ -81,21 +81,11 @@ xwayland {
}
-# Example windowrule v1
-# windowrule = float, ^(kitty)$
-# Example windowrule v2
-# windowrulev2 = float,class:^(kitty)$,title:^(kitty)$
-# See https://wiki.hyprland.org/Configuring/Window-Rules/ for more
-# windowrulev2 = nomaximizerequest, class:.* # You'll probably like this.
windowrulev2 = workspace special:telegram, class:(org.telegram.desktop)
windowrulev2 = float, class:(org.telegram.desktop)
-windowrulev2 = workspace special:signal, class:(Signal)
-windowrulev2 = float, class:(Signal)
-# See https://wiki.hyprland.org/Configuring/Keywords/ for more
$mainMod = SUPER
-# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
bind = $mainMod, Return, exec, $terminal
bind = $mainMod, Q, killactive,
bind = $mainMod Shift, E, exit,
@@ -144,7 +134,6 @@ bind = $mainMod SHIFT, 0, movetoworkspacesilent, 10
# Example special workspace (scratchpad)
bind = $mainMod, T, togglespecialworkspace, telegram
-bind = $mainMod, S, togglespecialworkspace, signal
# Scroll through existing workspaces with mainMod + scroll
bind = $mainMod, mouse_down, workspace, e+1
@@ -168,3 +157,8 @@ binde = , XF86MonBrightnessUp, exec, brightnessctl set 5%+
binde = $mainMod, O, exec, switch-theme
binde = , Print, exec, grim -g "$(slurp)" - | wl-copy
+
+# On Logitech Mechanical Mini the screenshot-looking key is emitting exactly
+# this event keychord (likely for compatibility with Windows)
+binde = SUPER SHIFT, S, exec, grim -g "$(slurp)" - | wl-copy
+binde = SUPER ALT SHIFT, S, exec, grim -g "$(slurp)"