diff options
Diffstat (limited to '.config/hypr/conf')
| -rw-r--r-- | .config/hypr/conf/autostart.conf | 39 | ||||
| -rw-r--r-- | .config/hypr/conf/gestures.conf | 2 | ||||
| -rw-r--r-- | .config/hypr/conf/keybinds.conf | 96 | ||||
| -rw-r--r-- | .config/hypr/conf/monitor.conf | 5 | ||||
| -rw-r--r-- | .config/hypr/conf/sound_brightness_notifications.conf | 9 | ||||
| -rw-r--r-- | .config/hypr/conf/windowrules.conf | 81 | 
6 files changed, 232 insertions, 0 deletions
| diff --git a/.config/hypr/conf/autostart.conf b/.config/hypr/conf/autostart.conf new file mode 100644 index 0000000..b8792f1 --- /dev/null +++ b/.config/hypr/conf/autostart.conf | |||
| @@ -0,0 +1,39 @@ | |||
| 1 | # See https://wiki.hyprland.org/Configuring/Keywords/#executing | ||
| 2 | # autostart | ||
| 3 | |||
| 4 | # Setup XDG for screen sharing | ||
| 5 | exec-once = ~/.local/bin/xdg.sh | ||
| 6 | |||
| 7 | # Polkit | ||
| 8 | exec-once = /usr/lib/polkit-kde-authentication-agent-1 | ||
| 9 | |||
| 10 | # Sway Notification Center | ||
| 11 | exec-once = swaync | ||
| 12 | |||
| 13 | # Polybar | ||
| 14 | exec-once = waybar | ||
| 15 | |||
| 16 | # Dropbox | ||
| 17 | exec-once = nextcloud --background | ||
| 18 | |||
| 19 | # Clipboard Manager | ||
| 20 | exec-once = copyq --start-server | ||
| 21 | |||
| 22 | # Wallpaper | ||
| 23 | exec-once = hyprpaper | ||
| 24 | |||
| 25 | # Daily Reminders | ||
| 26 | exec-once = remind -z -k'notify-send --app-name="remind" --icon="fcitx-remind-active" "⏰ reminder!" "%s" &' ~/.reminders | ||
| 27 | |||
| 28 | # Start playerctl daemon, spotify/youtube etc. binder | ||
| 29 | exec-once = playerctld daemon | ||
| 30 | |||
| 31 | # For hyprshade scheduling, f.lux | ||
| 32 | exec-once = dbus-update-activation-environment --systemd HYPRLAND_INSTANCE_SIGNATURE | ||
| 33 | exec-once = hyprshade auto | ||
| 34 | |||
| 35 | # Network Manager Applet | ||
| 36 | exec-once = nm-applet | ||
| 37 | |||
| 38 | # Cursor | ||
| 39 | exec-once = hyprctl setcursor capitaine-cursors-light 28 | ||
| diff --git a/.config/hypr/conf/gestures.conf b/.config/hypr/conf/gestures.conf new file mode 100644 index 0000000..ac2ade3 --- /dev/null +++ b/.config/hypr/conf/gestures.conf | |||
| @@ -0,0 +1,2 @@ | |||
| 1 | gesture = 3, horizontal, workspace | ||
| 2 | gesture = 3, vertical, fullscreen | ||
| diff --git a/.config/hypr/conf/keybinds.conf b/.config/hypr/conf/keybinds.conf new file mode 100644 index 0000000..ecb142c --- /dev/null +++ b/.config/hypr/conf/keybinds.conf | |||
| @@ -0,0 +1,96 @@ | |||
| 1 | # Key bindings | ||
| 2 | |||
| 3 | # See https://wiki.hyprland.org/Configuring/Keywords/ | ||
| 4 | $mainMod = SUPER | ||
| 5 | $terminal = foot | ||
| 6 | $fileManager = thunar | ||
| 7 | $menu = tofi-drun | xargs hyprctl dispatch exec -- | ||
| 8 | |||
| 9 | # Applications | ||
| 10 | bind = $mainMod+SHIFT, code:41, exec, $fileManager # f | ||
| 11 | bind = $mainMod, RETURN, exec, $terminal | ||
| 12 | bind = $mainMod, code:71, exec, $HOME/.local/bin/mailsync # f5 | ||
| 13 | bind = ,code:118, exec, copyq show # ins | ||
| 14 | bind = $mainMod, 0, exec, swaync-client --hide-latest | ||
| 15 | bind = $mainMod+SHIFT, 0, exec, swaync-client -t | ||
| 16 | bindr = $mainMod+SHIFT, escape, exec, wlogout | ||
| 17 | bindr = $mainMod, code:42, exec, $HOME/.local/bin/done # g | ||
| 18 | bindr = $mainMod, code:30, exec, $HOME/.local/bin/bukuadd_c # u | ||
| 19 | bindr = $mainMod, code:35, exec, $HOME/.local/bin/td # ] | ||
| 20 | |||
| 21 | bind = $mainMod+SHIFT, code:24, killactive, # q | ||
| 22 | bind = $mainMod, code:55, togglefloating, # v | ||
| 23 | bind = $mainMod, code:40, exec, $menu # d | ||
| 24 | bind = $mainMod, code:27, pseudo, # p, dwindle | ||
| 25 | bind = $mainMod, code:26, togglesplit, # e, dwindle | ||
| 26 | bind = $mainMod, code:41, fullscreen, 2 # f | ||
| 27 | |||
| 28 | bindl = , XF86AudioPlay, exec, playerctl play-pause | ||
| 29 | bindl = , XF86AudioNext, exec, playerctl next | ||
| 30 | bindl = , XF86AudioPrev, exec, playerctl previous | ||
| 31 | |||
| 32 | # Colour picker | ||
| 33 | # https://wimpysworld.com/posts/fuzzel-hyprpicker/ | ||
| 34 | bind = $mainMod, code:32, exec, $HOME/.local/bin/fuzzel_hyprpicker.sh | ||
| 35 | |||
| 36 | # Screenshots: | ||
| 37 | |||
| 38 | # Optionally, customize slurp's appearance | ||
| 39 | env = SLURP_ARGS, -d -B F050F022 -b 10101022 -c ff00ff | ||
| 40 | |||
| 41 | bind = SHIFT, Print, exec, grimblast copysave area | ||
| 42 | bind = ,Print, exec, grimblast copy area | ||
| 43 | |||
| 44 | # Move focus | ||
| 45 | bind = $mainMod, code:43, movefocus, l | ||
| 46 | bind = $mainMod, code:44, movefocus, d | ||
| 47 | bind = $mainMod, code:45, movefocus, u | ||
| 48 | bind = $mainMod, code:46, movefocus, r | ||
| 49 | |||
| 50 | # Move window | ||
| 51 | bind = $mainMod+SHIFT, code:43, movewindow, l | ||
| 52 | bind = $mainMod+SHIFT, code:44, movewindow, d | ||
| 53 | bind = $mainMod+SHIFT, code:45, movewindow, u | ||
| 54 | bind = $mainMod+SHIFT, code:46, movewindow, r | ||
| 55 | |||
| 56 | # Switch workspaces with mainMod + [0-9] | ||
| 57 | bind = $mainMod, 1, workspace, 1 | ||
| 58 | bind = $mainMod, 2, workspace, 2 | ||
| 59 | bind = $mainMod, 3, workspace, 3 | ||
| 60 | bind = $mainMod, 4, workspace, 4 | ||
| 61 | bind = $mainMod, 5, workspace, 5 | ||
| 62 | bind = $mainMod, 6, workspace, 6 | ||
| 63 | bind = $mainMod, 7, workspace, 7 | ||
| 64 | bind = $mainMod, 8, workspace, 8 | ||
| 65 | bind = $mainMod, 9, workspace, 9 | ||
| 66 | bind = $mainMod, code:21, workspace, name:browser | ||
| 67 | bind = $mainMod, code:49, workspace, name:zotero | ||
| 68 | bind = $mainMod, code:60, workspace, name:desktop | ||
| 69 | bind = $mainMod, code:59, workspace, name:console | ||
| 70 | bind = $mainMod, code:58, workspace, name:music | ||
| 71 | |||
| 72 | # Example special workspace (scratchpad) | ||
| 73 | bind = $mainMod, code:20, togglespecialworkspace, magic # - | ||
| 74 | bind = $mainMod SHIFT, code:20, movetoworkspace, special:magic | ||
| 75 | |||
| 76 | # Move active window to a workspace with mainMod + SHIFT + [0-9] | ||
| 77 | bind = $mainMod SHIFT, 1, movetoworkspace, 1 | ||
| 78 | bind = $mainMod SHIFT, 2, movetoworkspace, 2 | ||
| 79 | bind = $mainMod SHIFT, 3, movetoworkspace, 3 | ||
| 80 | bind = $mainMod SHIFT, 4, movetoworkspace, 4 | ||
| 81 | bind = $mainMod SHIFT, 5, movetoworkspace, 5 | ||
| 82 | bind = $mainMod SHIFT, 6, movetoworkspace, 6 | ||
| 83 | bind = $mainMod SHIFT, 7, movetoworkspace, 7 | ||
| 84 | bind = $mainMod SHIFT, 8, movetoworkspace, 8 | ||
| 85 | bind = $mainMod SHIFT, 9, movetoworkspace, 9 | ||
| 86 | bind = $mainMod SHIFT, code:21, movetoworkspace, name:browser | ||
| 87 | bind = $mainMod SHIFT, code:49, movetoworkspace, name:zotero | ||
| 88 | bind = $mainMod SHIFT, code:60, movetoworkspace, name:desktop | ||
| 89 | bind = $mainMod SHIFT, code:59, movetoworkspace, name:console | ||
| 90 | bind = $mainMod SHIFT, code:58, movetoworkspace, name:music | ||
| 91 | |||
| 92 | # Move/resize windows with mainMod + LMB/RMB and dragging | ||
| 93 | bindm = $mainMod, mouse:272, movewindow | ||
| 94 | bindm = $mainMod, mouse:273, resizewindow | ||
| 95 | |||
| 96 | bindl=,switch:Lid Switch, exec, ~/.config/hypr/scripts/switch.sh | ||
| diff --git a/.config/hypr/conf/monitor.conf b/.config/hypr/conf/monitor.conf new file mode 100644 index 0000000..de07cbe --- /dev/null +++ b/.config/hypr/conf/monitor.conf | |||
| @@ -0,0 +1,5 @@ | |||
| 1 | # qualle monitor | ||
| 2 | monitor=eDP-1,highres,auto,1 | ||
| 3 | |||
| 4 | # # autoconfig any additional monitor | ||
| 5 | monitor=HDMI-A-1,highres,auto-up,1 | ||
| diff --git a/.config/hypr/conf/sound_brightness_notifications.conf b/.config/hypr/conf/sound_brightness_notifications.conf new file mode 100644 index 0000000..e198237 --- /dev/null +++ b/.config/hypr/conf/sound_brightness_notifications.conf | |||
| @@ -0,0 +1,9 @@ | |||
| 1 | bind = , XF86MonBrightnessUp, exec, lightctl up | ||
| 2 | bind = , XF86MonBrightnessDown, exec, lightctl down | ||
| 3 | |||
| 4 | bindl = , XF86AudioMicMute, exec, volumectl -m toggle-mute | ||
| 5 | bindl = , XF86AudioMute, exec, volumectl toggle-mute | ||
| 6 | bindle = , XF86AudioRaiseVolume, exec, volumectl -u up | ||
| 7 | bindle = , XF86AudioLowerVolume, exec, volumectl -u down | ||
| 8 | |||
| 9 | exec-once = avizo-service | ||
| diff --git a/.config/hypr/conf/windowrules.conf b/.config/hypr/conf/windowrules.conf new file mode 100644 index 0000000..ab0676b --- /dev/null +++ b/.config/hypr/conf/windowrules.conf | |||
| @@ -0,0 +1,81 @@ | |||
| 1 | # See https://wiki.hyprland.org/Configuring/Window-Rules/ | ||
| 2 | windowrule = suppressevent maximize, class:.* | ||
| 3 | |||
| 4 | # polkit auth agent | ||
| 5 | windowrule = float, class:org.kde.polkit-kde-authentication-agent-1 | ||
| 6 | |||
| 7 | # yad | ||
| 8 | windowrule = float, class:yad | ||
| 9 | |||
| 10 | # Libre Office | ||
| 11 | windowrule = size 800 600, class:soffice,title:Export | ||
| 12 | |||
| 13 | # Blueman | ||
| 14 | windowrule = float,class:^(blueman-manager)$ | ||
| 15 | |||
| 16 | # NetworkManager | ||
| 17 | windowrule = float,class:^(nm-connection-editor)$ | ||
| 18 | |||
| 19 | # Pavucontrol | ||
| 20 | windowrule = float,class:^(org.pulseaudio.pavucontrol)$ | ||
| 21 | windowrule = size 800 600,class:^(org.pulseaudio.pavucontrol)$ | ||
| 22 | |||
| 23 | # copyq | ||
| 24 | windowrule = float, class:com.github.hluk.copyq | ||
| 25 | windowrule = noborder, class:com.github.hluk.copyq | ||
| 26 | windowrule = noblur, class:com.github.hluk.copyq | ||
| 27 | windowrule = dimaround, class:com.github.hluk.copyq | ||
| 28 | windowrule = move 55% 15%, class:com.github.hluk.copyq | ||
| 29 | windowrule = size 35% 65%, class:com.github.hluk.copyq | ||
| 30 | |||
| 31 | # Firefox | ||
| 32 | windowrule = workspace name:browser silent, class:firefox | ||
| 33 | |||
| 34 | # Browser Picture in Picture | ||
| 35 | windowrule = float, title:^(Picture-in-Picture)$ | ||
| 36 | windowrule = pin, title:^(Picture-in-Picture)$ | ||
| 37 | windowrule = move 72% 40%, title:^(Picture-in-Picture)$ | ||
| 38 | windowrule = size 520 390, title:^(Picture-in-Picture)$ | ||
| 39 | |||
| 40 | # Discord Popout | ||
| 41 | windowrule = float, title:^(Discord Popout)$ | ||
| 42 | windowrule = pin, title:^(Discord Popout)$ | ||
| 43 | windowrule = move 72% 40%, title:^(Discord Popout)$ | ||
| 44 | windowrule = size 573 354, title:^(Discord Popout)$ | ||
| 45 | |||
| 46 | # Xwaylandvideobridge | ||
| 47 | windowrule = opacity 0.0 override,class:^(xwaylandvideobridge)$ | ||
| 48 | windowrule = noanim,class:^(xwaylandvideobridge)$ | ||
| 49 | windowrule = noinitialfocus,class:^(xwaylandvideobridge)$ | ||
| 50 | windowrule = maxsize 1 1,class:^(xwaylandvideobridge)$ | ||
| 51 | windowrule = noblur,class:^(xwaylandvideobridge)$ | ||
| 52 | |||
| 53 | # Zotero | ||
| 54 | windowrule = workspace name:zotero silent, class:Zotero | ||
| 55 | |||
| 56 | windowrule = float, class:^(Zotero)$,title:^(Progress)$ | ||
| 57 | windowrule = noinitialfocus, class:^(Zotero)$,title:^(Progress)$ | ||
| 58 | windowrule = move 1579 954, class:^(Zotero)$,title:^(Progress)$ | ||
| 59 | windowrule = size 300 72, class:^(Zotero)$,title:^(Progress)$ | ||
| 60 | windowrule = size 445 195, class:^(Zotero)$,title:^(New Collection)$ | ||
| 61 | |||
| 62 | # Thunar | ||
| 63 | windowrule = float, class:^(Thunar)$,title:^(File Operation Progress)$ | ||
| 64 | windowrule = noinitialfocus, class:^(Thunar)$,title:^(File Operation Progress)$ | ||
| 65 | windowrule = size 505 100, class:^(Thunar)$,title:^(File Operation Progress)$ | ||
| 66 | windowrule = float, class:^(Thunar)$,title:^(Rename).*$ | ||
| 67 | |||
| 68 | # engrampa | ||
| 69 | windowrule = float, class:^(engrampa)$,title:^(Extract archive)$ | ||
| 70 | |||
| 71 | # Spotify | ||
| 72 | windowrule = workspace name:music silent, class:^(Spotify)$ | ||
| 73 | |||
| 74 | # Thunderbird | ||
| 75 | windowrule = float, class:^(thunderbird)$,title:^(Edit Item)$ | ||
| 76 | windowrule = size 720 790, class:^(thunderbird)$,title:^(Edit Item)$ | ||
| 77 | windowrule = float, class:^(thunderbird)$,title:^(TbSync account manager)$ | ||
| 78 | windowrule = size 1100 880, class:^(thunderbird)$,title:^(Edit Item)$ | ||
| 79 | |||
| 80 | # Zoom | ||
| 81 | windowrule=stayfocused,class:(zoom),initialTitle:(menu window) | ||
