aboutsummaryrefslogtreecommitdiff
path: root/.config/hypr
diff options
context:
space:
mode:
authorPatrick Spek <p.spek@tyil.nl>2023-09-20 06:13:19 +0200
committerPatrick Spek <p.spek@tyil.nl>2023-09-20 06:13:19 +0200
commit52123415276f6eab7f9134a2db9e67d1d1d6ccc5 (patch)
tree6ae31e34063ea590e72aa9b0135cfab00b9584d1 /.config/hypr
parent310173caa805c7b97e4bfcc96d979177011d4fca (diff)
Basic config for trying out hyprland
Diffstat (limited to '.config/hypr')
-rw-r--r--.config/hypr/hyprland.conf114
1 files changed, 114 insertions, 0 deletions
diff --git a/.config/hypr/hyprland.conf b/.config/hypr/hyprland.conf
new file mode 100644
index 0000000..fada0f1
--- /dev/null
+++ b/.config/hypr/hyprland.conf
@@ -0,0 +1,114 @@
+monitor=,preferred,auto,1
+
+exec-once=waybar -c ~/.config/waybar/config-hyprland-top.json
+exec-once=waybar -c ~/.config/waybar/config-hyprland-bot.json
+exec-once=dunst
+exec-once=swayidle
+# TODO: Wallpaper
+# TODO: polkit agent
+# TODO: PipeWire
+
+input {
+ kb_file=
+ kb_layout=
+ kb_variant=
+ kb_model=
+ kb_options=
+ kb_rules=
+
+ follow_mouse=1
+
+ touchpad {
+ natural_scroll=no
+ }
+
+ sensitivity=0 # -1.0 - 1.0, 0 means no modification.
+}
+
+general {
+ main_mod=SUPER
+ layout=master
+
+ gaps_in=4
+ gaps_out=8
+ border_size=2
+ col.active_border=0x663381da
+ col.inactive_border=0x66cccccc
+
+ apply_sens_to_raw=0 # whether to apply the sensitivity to raw input (e.g. used by games where you aim using your mouse)
+
+ damage_tracking=full # leave it on full unless you hate your GPU and want to make it suffer
+}
+
+decoration {
+ rounding=0
+ blur=1
+ blur_size=3 # minimum 1
+ blur_passes=1 # minimum 1
+ blur_new_optimizations=1
+}
+
+animations {
+ enabled=0
+ animation=windows,1,7,default
+ animation=border,1,10,default
+ animation=fade,1,10,default
+ animation=workspaces,1,6,default
+}
+
+dwindle {
+ pseudotile=0 # enable pseudotiling on dwindle
+}
+
+gestures {
+ workspace_swipe=no
+}
+
+# example window rules
+# for windows named/classed as abc and xyz
+#windowrule=move 69 420,abc
+#windowrule=size 420 69,abc
+#windowrule=tile,xyz
+#windowrule=float,abc
+#windowrule=pseudo,abc
+#windowrule=monitor 0,xyz
+
+# Keybinds
+bind=SUPER,RETURN,exec,alacritty
+bind=SUPER,X,killactive,
+bind=SUPER_SHIFT,X,exit,
+bind=SUPER,E,exec,fuzzel
+bind=SUPER_SHIFT,S,exec,loginctl lock-session
+
+bind=SUPER,J,layoutmsg,cyclenext
+bind=SUPER,K,layoutmsg,cycleprev
+bind=SUPER_SHIFT,RETURN,layoutmsg,swapwithmaster
+bind=SUPER_SHIFT,J,layoutmsg,swapnext
+bind=SUPER_SHIFT,K,layoutmsg,swapprev
+bind=SUPER_SHIFT,H,layoutmsg,addmaster
+bind=SUPER_SHIFT,L,layoutmsg,removemaster
+bind=SUPER,SPACE,layoutmsg,orientationnext
+bind=SUPER_SHIFT,SPACE,layoutmsg,orientationprev
+
+bind=SUPER,2,workspace,1
+bind=SUPER,3,workspace,2
+bind=SUPER,4,workspace,3
+bind=SUPER,5,workspace,4
+bind=SUPER,6,workspace,5
+bind=SUPER,7,workspace,6
+bind=SUPER,8,workspace,7
+bind=SUPER,9,workspace,8
+bind=SUPER,0,workspace,9
+
+bind=SUPER_SHIFT,2,movetoworkspace,1
+bind=SUPER_SHIFT,3,movetoworkspace,2
+bind=SUPER_SHIFT,4,movetoworkspace,3
+bind=SUPER_SHIFT,5,movetoworkspace,4
+bind=SUPER_SHIFT,6,movetoworkspace,5
+bind=SUPER_SHIFT,7,movetoworkspace,6
+bind=SUPER_SHIFT,8,movetoworkspace,7
+bind=SUPER_SHIFT,9,movetoworkspace,8
+bind=SUPER_SHIFT,0,movetoworkspace,9
+
+bind=SUPER,mouse_down,workspace,e+1
+bind=SUPER,mouse_up,workspace,e-1