From 5f89becff7cf8f4fd83e069459f6b8b5d773b956 Mon Sep 17 00:00:00 2001 From: spl3g Date: Fri, 8 Mar 2024 16:26:58 +0300 Subject: thats a lot of deletions --- home-manager/laptop/hyprland/hyprland.conf | 46 ++++++++++++++++-------------- 1 file changed, 24 insertions(+), 22 deletions(-) (limited to 'home-manager/laptop/hyprland/hyprland.conf') diff --git a/home-manager/laptop/hyprland/hyprland.conf b/home-manager/laptop/hyprland/hyprland.conf index 81ef9eb..e60503a 100644 --- a/home-manager/laptop/hyprland/hyprland.conf +++ b/home-manager/laptop/hyprland/hyprland.conf @@ -1,7 +1,7 @@ -monitor=,preferred,auto,1 +monitor=,preferred,auto,1,mirror,eDP-1 # Execute your favorite apps at launch -exec-once = waybar & swww init +exec-once = swww init # Set programs that you use $terminal = alacritty @@ -11,12 +11,6 @@ $scripts=~/.config/hypr/scripts # Some default env vars. env = XCURSOR_SIZE,18 -env = QT_QPA_PLATFORMTHEME, gtk3 -env = QT_STYLE_OVERRIDE, gtk2 -env = QT_QPA_PLATFORM, wayland -env = TERMINAL, "alacritty" -env = BROWSER, "firefox" - # For all categories, see https://wiki.hyprland.org/Configuring/Variables/ input { @@ -30,7 +24,7 @@ input { touchpad { natural_scroll = yes - # disable_while_typing = no + disable_while_typing = no } sensitivity = 0.1 # -1.0 - 1.0, 0 means no modification. @@ -109,9 +103,17 @@ windowrulev2 = noborder, title:^(Firefox — Sharing Indicator)$ windowrulev2 = rounding 0, title:^(Firefox — Sharing Indicator)$ windowrulev2 = float, title:^(firefox)$, title:^(Picture-in-Picture)$ windowrulev2 = pin, title:^(firefox)$, title:^(Picture-in-Picture)$ +windowrulev2 = float, title:^(Save File)$ +windowrulev2 = pin, title:^(Save File)$ +windowrulev2 = float, title:^(Torrent Options)$ +windowrulev2 = pin, title:^(Torrent Options)$ +windowrulev2 = opacity 0.0 override 0.0 override,class:^(xwaylandvideobridge)$ +windowrulev2 = noanim,class:^(xwaylandvideobridge)$ +windowrulev2 = noinitialfocus,class:^(xwaylandvideobridge)$ +windowrulev2 = maxsize 1 1,class:^(xwaylandvideobridge)$ +windowrulev2 = noblur,class:^(xwaylandvideobridge)$ layerrule = blur, waybar - # See https://wiki.hyprland.org/Configuring/Keywords/ for more $mainMod = SUPER @@ -128,28 +130,28 @@ bind = $mainMod SHIFT, Q, killactive, bind = $mainMod SHIFT, E, exit, # Apps -bind = $mainMod, B, exec, firefox +bind = $mainMod, B, exec, brave --enable-features=TouchpadOverscrollHistoryNavigation bind = $mainMod, T, exec, telegram-desktop bind = $mainMod, E, exec, emacsclient -c -a "emacs" bind = $mainMod CONTROL, E, exec, emacs # Screenshooting -bind = , Print, exec, $scripts/hshot -m -bind = ALT, Print, exec, $scripts/hshot -w -bind = SHIFT, Print, exec, $scripts/hshot -s -bind = CONTROL, Print, exec, $scripts/hshot -m -c -bind = ALT_CONTROL, Print, exec, $scripts/hshot -w -c -bind = CONTROL_SHIFT, Print, exec, $scripts/hshot -s -c +bind = , Print, exec, grimblast save screen +bind = ALT, Print, exec, grimblast save active +bind = SHIFT, Print, exec, grimblast save area +bind = CONTROL, Print, exec, grimblast copy screen +bind = ALT_CONTROL, Print, exec, grimblast copy active +bind = CONTROL_SHIFT, Print, exec, grimblast copy area # Volume -$volDev = wpctl status | grep '*' -m 1 | awk '{print $3 - 0}' | xargs -I _ -bind = ,0x1008FF11,exec,$volDev wpctl set-volume _ 5%- -bind = ,0x1008FF13,exec,$volDev wpctl set-volume _ 5%+ -bind = ,0x1008FF12,exec,$volDev wpctl set-mute _ toggle +bind = ,0x1008FF11,exec,wpctl set-volume @DEFAULT_SINK@ 5%- +bind = ,0x1008FF13,exec,wpctl set-volume @DEFAULT_SINK@ 5%+ +bind = ,0x1008FF12,exec,wpctl set-mute @DEFAULT_SINK@ toggle +bind = ,XF86AudioMicMute, exec, wpctl set-mute @DEFAULT_SOURCE@ toggle # Brightness bind = ,XF86MonBrightnessUp,exec,brightnessctl s +5% -bind = ,0x1008FF03,exec,brightnessctl s 5%- +bind = ,XF86MonBrightnessDown,exec,brightnessctl s 5%- # Move focus with mainMod + arrow keys bind = $mainMod, J, movefocus, d -- cgit v1.2.3