diff options
author | Yigit Sever | 2024-08-30 11:06:19 +0200 |
---|---|---|
committer | Yigit Sever | 2024-08-30 11:06:19 +0200 |
commit | c2c54ed574d00d96a772e096abdfa2da3b60fdd6 (patch) | |
tree | bf61440b8c30dca5b69b949c5cd04f2b69c81379 /.config/hypr/conf | |
parent | 81cb7e952301e6ef240ae11434e05207cce39788 (diff) | |
download | dotfiles-c2c54ed574d00d96a772e096abdfa2da3b60fdd6.tar.gz dotfiles-c2c54ed574d00d96a772e096abdfa2da3b60fdd6.tar.bz2 dotfiles-c2c54ed574d00d96a772e096abdfa2da3b60fdd6.zip |
hypr: start tracking
Diffstat (limited to '.config/hypr/conf')
-rw-r--r-- | .config/hypr/conf/autostart.conf | 39 | ||||
-rw-r--r-- | .config/hypr/conf/keybinds.conf | 94 | ||||
-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 | 67 |
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 | ||
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/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 | ||
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 menu # ins | ||
14 | bind = $mainMod, 0, exec, swaync-client --hide-latest | ||
15 | bind = $mainMod+SHIFT, 0, exec, swaync-client -t | ||
16 | bindr = SUPER+SHIFT, escape, exec, $HOME/.local/bin/wpower.sh | ||
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 | # 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 | ||
39 | env = SLURP_ARGS, -d -B F050F022 -b 10101022 -c ff00ff | ||
40 | |||
41 | bind = ,Print, exec, ~/.local/bin/screenshot.sh | ||
42 | bind = SHIFT, 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 | ||
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 | ||
2 | monitor=eDP-1,highres,auto,1 | ||
3 | |||
4 | # # autoconfig any additional monitor | ||
5 | monitor=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 @@ | |||
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..178a1bc --- /dev/null +++ b/.config/hypr/conf/windowrules.conf | |||
@@ -0,0 +1,67 @@ | |||
1 | # See https://wiki.hyprland.org/Configuring/Window-Rules/ | ||
2 | windowrulev2 = suppressevent maximize, class:.* | ||
3 | |||
4 | # polkit auth agent | ||
5 | windowrulev2 = float, class:org.kde.polkit-kde-authentication-agent-1 | ||
6 | |||
7 | # yad | ||
8 | windowrulev2 = float, class:yad | ||
9 | |||
10 | # Libre Office | ||
11 | windowrulev2 = size 800 600, class:soffice,title:Export | ||
12 | |||
13 | # Blueman | ||
14 | windowrulev2 = float,class:^(blueman-manager)$ | ||
15 | |||
16 | # NetworkManager | ||
17 | windowrulev2 = float,class:^(nm-connection-editor)$ | ||
18 | |||
19 | # Pavucontrol | ||
20 | windowrulev2 = float,class:^(org.pulseaudio.pavucontrol)$ | ||
21 | windowrulev2 = size 800 600,class:^(org.pulseaudio.pavucontrol)$ | ||
22 | |||
23 | # copyq | ||
24 | windowrulev2 = float, class:com.github.hluk.copyq | ||
25 | windowrulev2 = noborder, class:com.github.hluk.copyq | ||
26 | windowrulev2 = noblur, class:com.github.hluk.copyq | ||
27 | windowrulev2 = dimaround, class:com.github.hluk.copyq | ||
28 | windowrulev2 = move 70% 10%, class:com.github.hluk.copyq | ||
29 | |||
30 | # Firefox | ||
31 | windowrulev2 = workspace name:browser silent, class:firefox | ||
32 | |||
33 | # Browser Picture in Picture | ||
34 | windowrulev2 = float, title:^(Picture-in-Picture)$ | ||
35 | windowrulev2 = pin, title:^(Picture-in-Picture)$ | ||
36 | windowrulev2 = move 72% 40%, title:^(Picture-in-Picture)$ | ||
37 | windowrulev2 = size 520 390, title:^(Picture-in-Picture)$ | ||
38 | |||
39 | # Discord Popout | ||
40 | windowrulev2 = float, title:^(Discord Popout)$ | ||
41 | windowrulev2 = pin, title:^(Discord Popout)$ | ||
42 | windowrulev2 = move 72% 40%, title:^(Discord Popout)$ | ||
43 | windowrulev2 = size 573 354, title:^(Discord Popout)$ | ||
44 | |||
45 | # Xwaylandvideobridge | ||
46 | windowrulev2 = opacity 0.0 override,class:^(xwaylandvideobridge)$ | ||
47 | windowrulev2 = noanim,class:^(xwaylandvideobridge)$ | ||
48 | windowrulev2 = noinitialfocus,class:^(xwaylandvideobridge)$ | ||
49 | windowrulev2 = maxsize 1 1,class:^(xwaylandvideobridge)$ | ||
50 | windowrulev2 = noblur,class:^(xwaylandvideobridge)$ | ||
51 | |||
52 | # Zotero | ||
53 | windowrulev2 = workspace name:zotero silent, class:Zotero | ||
54 | |||
55 | windowrulev2 = float, class:^(Zotero)$,title:^(Progress)$ | ||
56 | windowrulev2 = noinitialfocus, class:^(Zotero)$,title:^(Progress)$ | ||
57 | windowrulev2 = move 1579 954, class:^(Zotero)$,title:^(Progress)$ | ||
58 | windowrulev2 = size 300 72, class:^(Zotero)$,title:^(Progress)$ | ||
59 | windowrulev2 = size 445 195, class:^(Zotero)$,title:^(New Collection)$ | ||
60 | |||
61 | # Thunar | ||
62 | windowrulev2 = float, class:^(Thunar)$,title:^(File Operation Progress)$ | ||
63 | windowrulev2 = noinitialfocus, class:^(Thunar)$,title:^(File Operation Progress)$ | ||
64 | windowrulev2 = size 505 100, class:^(Thunar)$,title:^(File Operation Progress)$ | ||
65 | |||
66 | # Spotify | ||
67 | windowrulev2 = workspace name:music silent, class:^(Spotify)$ | ||