summaryrefslogtreecommitdiffstats
path: root/.config/hypr/conf
diff options
context:
space:
mode:
Diffstat (limited to '.config/hypr/conf')
-rw-r--r--.config/hypr/conf/autostart.conf39
-rw-r--r--.config/hypr/conf/keybinds.conf94
-rw-r--r--.config/hypr/conf/monitor.conf5
-rw-r--r--.config/hypr/conf/sound_brightness_notifications.conf9
-rw-r--r--.config/hypr/conf/windowrules.conf67
5 files changed, 214 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
5exec-once = ~/.local/bin/xdg.sh
6
7# Polkit
8exec-once = /usr/lib/polkit-kde-authentication-agent-1
9
10# Sway Notification Center
11exec-once = swaync
12
13# Polybar
14exec-once = waybar
15
16# Dropbox
17exec-once = nextcloud --background
18
19# Clipboard Manager
20exec-once = copyq --start-server
21
22# Wallpaper
23exec-once = hyprpaper
24
25# Daily Reminders
26exec-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
29exec-once = playerctld daemon
30
31# For hyprshade scheduling, f.lux
32exec-once = dbus-update-activation-environment --systemd HYPRLAND_INSTANCE_SIGNATURE
33exec-once = hyprshade auto
34
35# Network Manager Applet
36exec-once = nm-applet
37
38# Cursor
39exec-once = hyprctl setcursor capitaine-cursors-light 28
diff --git a/.config/hypr/conf/keybinds.conf b/.config/hypr/conf/keybinds.conf
new file mode 100644
index 0000000..3ea1a83
--- /dev/null
+++ b/.config/hypr/conf/keybinds.conf
@@ -0,0 +1,94 @@
1# Key bindings
2
3# See https://wiki.hyprland.org/Configuring/Keywords/
4$mainMod = SUPER
5$terminal = kitty
6$fileManager = thunar
7$menu = tofi-drun | xargs hyprctl dispatch exec --
8
9# Applications
10bind = $mainMod+SHIFT, code:41, exec, $fileManager # f
11bind = $mainMod, RETURN, exec, $terminal
12bind = $mainMod, code:71, exec, $HOME/.local/bin/mailsync # f5
13bind = ,code:118, exec, copyq menu # ins
14bind = $mainMod, 0, exec, swaync-client --hide-latest
15bind = $mainMod+SHIFT, 0, exec, swaync-client -t
16bindr = SUPER+SHIFT, escape, exec, $HOME/.local/bin/wpower.sh
17bindr = $mainMod, code:42, exec, $HOME/.local/bin/done # g
18bindr = $mainMod, code:30, exec, $HOME/.local/bin/bukuadd_c # u
19bindr = $mainMod, code:35, exec, $HOME/.local/bin/td # ]
20
21bind = $mainMod+SHIFT, code:24, killactive, # q
22bind = $mainMod, code:55, togglefloating, # v
23bind = $mainMod, code:40, exec, $menu # d
24bind = $mainMod, code:27, pseudo, # p, dwindle
25bind = $mainMod, code:26, togglesplit, # e, dwindle
26bind = $mainMod, code:41, fullscreen, 2 # f
27
28bindl = , XF86AudioPlay, exec, playerctl play-pause
29bindl = , XF86AudioNext, exec, playerctl next
30bindl = , XF86AudioPrev, exec, playerctl previous
31
32# Screenshots:
33# Super+P: Current window
34# Super+Shift+p: Select area
35# Super+Alt+p Current output
36# Super+Ctrl+p All outputs
37
38# Optionally, customize slurp's appearance
39env = SLURP_ARGS, -d -B F050F022 -b 10101022 -c ff00ff
40
41bind = ,Print, exec, ~/.local/bin/screenshot.sh
42bind = SHIFT, Print, exec, grimblast copy area
43
44# Move focus
45bind = $mainMod, code:43, movefocus, l
46bind = $mainMod, code:44, movefocus, d
47bind = $mainMod, code:45, movefocus, u
48bind = $mainMod, code:46, movefocus, r
49
50# Move window
51bind = $mainMod+SHIFT, code:43, movewindow, l
52bind = $mainMod+SHIFT, code:44, movewindow, d
53bind = $mainMod+SHIFT, code:45, movewindow, u
54bind = $mainMod+SHIFT, code:46, movewindow, r
55
56# Switch workspaces with mainMod + [0-9]
57bind = $mainMod, 1, workspace, 1
58bind = $mainMod, 2, workspace, 2
59bind = $mainMod, 3, workspace, 3
60bind = $mainMod, 4, workspace, 4
61bind = $mainMod, 5, workspace, 5
62bind = $mainMod, 6, workspace, 6
63bind = $mainMod, 7, workspace, 7
64bind = $mainMod, 8, workspace, 8
65bind = $mainMod, 9, workspace, 9
66bind = $mainMod, code:21, workspace, name:browser
67bind = $mainMod, code:49, workspace, name:zotero
68bind = $mainMod, code:60, workspace, name:desktop
69bind = $mainMod, code:59, workspace, name:console
70bind = $mainMod, code:58, workspace, name:music
71
72# Example special workspace (scratchpad)
73bind = $mainMod, code:20, togglespecialworkspace, magic # -
74bind = $mainMod SHIFT, code:20, movetoworkspace, special:magic
75
76# Move active window to a workspace with mainMod + SHIFT + [0-9]
77bind = $mainMod SHIFT, 1, movetoworkspace, 1
78bind = $mainMod SHIFT, 2, movetoworkspace, 2
79bind = $mainMod SHIFT, 3, movetoworkspace, 3
80bind = $mainMod SHIFT, 4, movetoworkspace, 4
81bind = $mainMod SHIFT, 5, movetoworkspace, 5
82bind = $mainMod SHIFT, 6, movetoworkspace, 6
83bind = $mainMod SHIFT, 7, movetoworkspace, 7
84bind = $mainMod SHIFT, 8, movetoworkspace, 8
85bind = $mainMod SHIFT, 9, movetoworkspace, 9
86bind = $mainMod SHIFT, code:21, movetoworkspace, name:browser
87bind = $mainMod SHIFT, code:49, movetoworkspace, name:zotero
88bind = $mainMod SHIFT, code:60, movetoworkspace, name:desktop
89bind = $mainMod SHIFT, code:59, movetoworkspace, name:console
90bind = $mainMod SHIFT, code:58, movetoworkspace, name:music
91
92# Move/resize windows with mainMod + LMB/RMB and dragging
93bindm = $mainMod, mouse:272, movewindow
94bindm = $mainMod, mouse:273, resizewindow
diff --git a/.config/hypr/conf/monitor.conf b/.config/hypr/conf/monitor.conf
new file mode 100644
index 0000000..e04dfb1
--- /dev/null
+++ b/.config/hypr/conf/monitor.conf
@@ -0,0 +1,5 @@
1# qualle monitor
2monitor=eDP-1,highres,auto,1
3
4# # autoconfig any additional monitor
5monitor=HDMI-A-1,highres,auto-up,1.25
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 @@
1bind = , XF86MonBrightnessUp, exec, lightctl up
2bind = , XF86MonBrightnessDown, exec, lightctl down
3
4bindl = , XF86AudioMicMute, exec, volumectl -m toggle-mute
5bindl = , XF86AudioMute, exec, volumectl toggle-mute
6bindle = , XF86AudioRaiseVolume, exec, volumectl -u up
7bindle = , XF86AudioLowerVolume, exec, volumectl -u down
8
9exec-once = avizo-service
diff --git a/.config/hypr/conf/windowrules.conf b/.config/hypr/conf/windowrules.conf
new file mode 100644
index 0000000..178a1bc
--- /dev/null
+++ b/.config/hypr/conf/windowrules.conf
@@ -0,0 +1,67 @@
1# See https://wiki.hyprland.org/Configuring/Window-Rules/
2windowrulev2 = suppressevent maximize, class:.*
3
4# polkit auth agent
5windowrulev2 = float, class:org.kde.polkit-kde-authentication-agent-1
6
7# yad
8windowrulev2 = float, class:yad
9
10# Libre Office
11windowrulev2 = size 800 600, class:soffice,title:Export
12
13# Blueman
14windowrulev2 = float,class:^(blueman-manager)$
15
16# NetworkManager
17windowrulev2 = float,class:^(nm-connection-editor)$
18
19# Pavucontrol
20windowrulev2 = float,class:^(org.pulseaudio.pavucontrol)$
21windowrulev2 = size 800 600,class:^(org.pulseaudio.pavucontrol)$
22
23# copyq
24windowrulev2 = float, class:com.github.hluk.copyq
25windowrulev2 = noborder, class:com.github.hluk.copyq
26windowrulev2 = noblur, class:com.github.hluk.copyq
27windowrulev2 = dimaround, class:com.github.hluk.copyq
28windowrulev2 = move 70% 10%, class:com.github.hluk.copyq
29
30# Firefox
31windowrulev2 = workspace name:browser silent, class:firefox
32
33# Browser Picture in Picture
34windowrulev2 = float, title:^(Picture-in-Picture)$
35windowrulev2 = pin, title:^(Picture-in-Picture)$
36windowrulev2 = move 72% 40%, title:^(Picture-in-Picture)$
37windowrulev2 = size 520 390, title:^(Picture-in-Picture)$
38
39# Discord Popout
40windowrulev2 = float, title:^(Discord Popout)$
41windowrulev2 = pin, title:^(Discord Popout)$
42windowrulev2 = move 72% 40%, title:^(Discord Popout)$
43windowrulev2 = size 573 354, title:^(Discord Popout)$
44
45# Xwaylandvideobridge
46windowrulev2 = opacity 0.0 override,class:^(xwaylandvideobridge)$
47windowrulev2 = noanim,class:^(xwaylandvideobridge)$
48windowrulev2 = noinitialfocus,class:^(xwaylandvideobridge)$
49windowrulev2 = maxsize 1 1,class:^(xwaylandvideobridge)$
50windowrulev2 = noblur,class:^(xwaylandvideobridge)$
51
52# Zotero
53windowrulev2 = workspace name:zotero silent, class:Zotero
54
55windowrulev2 = float, class:^(Zotero)$,title:^(Progress)$
56windowrulev2 = noinitialfocus, class:^(Zotero)$,title:^(Progress)$
57windowrulev2 = move 1579 954, class:^(Zotero)$,title:^(Progress)$
58windowrulev2 = size 300 72, class:^(Zotero)$,title:^(Progress)$
59windowrulev2 = size 445 195, class:^(Zotero)$,title:^(New Collection)$
60
61# Thunar
62windowrulev2 = float, class:^(Thunar)$,title:^(File Operation Progress)$
63windowrulev2 = noinitialfocus, class:^(Thunar)$,title:^(File Operation Progress)$
64windowrulev2 = size 505 100, class:^(Thunar)$,title:^(File Operation Progress)$
65
66# Spotify
67windowrulev2 = workspace name:music silent, class:^(Spotify)$