aboutsummaryrefslogtreecommitdiff
path: root/.config/hypr
diff options
context:
space:
mode:
Diffstat (limited to '.config/hypr')
-rw-r--r--.config/hypr/hyprland.conf162
-rw-r--r--.config/hypr/hyprland.conf.bak156
-rw-r--r--.config/hypr/hyprpaper.conf2
3 files changed, 320 insertions, 0 deletions
diff --git a/.config/hypr/hyprland.conf b/.config/hypr/hyprland.conf
new file mode 100644
index 0000000..6eb0967
--- /dev/null
+++ b/.config/hypr/hyprland.conf
@@ -0,0 +1,162 @@
+monitor=DP-1,highrr,auto,auto
+monitor=HDMI-A-1,highres,0x0,auto
+monitor=eDP-1,highres,auto,1.5
+
+exec-once = hyprpaper & wl-clip-persist --clipboard regular & /usr/lib/polkit-gnome & wp-notifyd & waybar & wal -R & swaync & spotify
+exec-once = blueman-applet & nm-applet
+
+source=$HOME/.cache/wal/colors-hyprland.conf
+
+# Some default env vars.
+env = XCURSOR_SIZE,24
+
+# For all categories, see https://wiki.hyprland.org/Configuring/Variables/
+input {
+ kb_layout = de
+ follow_mouse = 1
+
+ touchpad {
+ natural_scroll = yes
+ }
+
+}
+
+device:logitech-g-pro--1 {
+ sensitivity = -0.5
+}
+
+general {
+ gaps_in = 5
+ gaps_out = 10
+
+ border_size = 2
+ col.active_border = $accent
+ col.inactive_border = $background
+
+ layout = dwindle
+}
+
+decoration {
+ rounding = 5
+
+ active_opacity = 0.8
+ inactive_opacity = 0.7
+
+ blur {
+ enabled = true
+ size = 4
+ passes = 4
+ ignore_opacity = true
+ contrast = 1.1
+ brightness = 1.0
+ }
+
+ drop_shadow = false
+ shadow_range = 30
+ shadow_render_power = 4
+ col.shadow = $background
+}
+
+animations {
+ enabled = yes
+
+ bezier = myBezier, 0.05, 0.9, 0.1, 1.05
+
+ animation = windows, 1, 7, myBezier
+ animation = windowsOut, 1, 7, default, popin 80%
+ animation = border, 1, 10, default
+ animation = fade, 1, 7, default
+ animation = workspaces, 1, 6, default
+}
+
+misc {
+ disable_hyprland_logo = true
+ vrr = 1
+}
+
+dwindle {
+ pseudotile = yes # master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below
+ preserve_split = yes # you probably want this
+}
+
+master {
+ new_is_master = true
+}
+
+xwayland {
+ force_zero_scaling = true
+}
+
+layerrule = ignorealpha 0.2, wofi
+layerrule = blur, wofi
+layerrule = ignorealpha 0.5, waybar
+layerrule = blur, waybar
+layerrule = ignorealpha 0.5, swaync-control-center
+layerrule = ignorealpha 0.5, swaync-notification-window
+layerrule = blur, swaync-control-center
+layerrule = blur, swaync-notification-window
+layerrule = ignorealpha 0.5, gtk-layer-shell
+layerrule = blur, gtk-layer-shell
+
+windowrulev2 = noborder,class:(steam)
+
+# Bindings
+$mainMod = SUPER
+
+bind = $mainMod, l, exec, gtklock -d
+bind = $mainMod, s, exec, hyprshot --mode region
+bind = $mainMod, r, exec, wofi --show run
+bind = $mainMod, d, exec, wofi --show drun
+bind = $mainMod, c, exec, hyprpicker -r -a
+bind = $mainMod, return, exec, kitty
+bind = $mainMod, q, killactive,
+bind = $mainMod, m, exit,
+bind = $mainMod, f, fullscreen
+bind = $mainMod, v, togglefloating,
+bind = $mainMod, P, pseudo, # dwindle
+
+bind =, XF86AudioRaiseVolume, exec, wpctl set-volume -l 1.0 @DEFAULT_AUDIO_SINK@ 5%+
+bind =, XF86AudioLowerVolume, exec, wpctl set-volume -l 1.0 @DEFAULT_AUDIO_SINK@ 5%-
+bind =, XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle
+
+bind = , XF86AudioPlay, exec, playerctl play-pause
+bind = , XF86AudioNext, exec, playerctl next
+bind = , XF86AudioPrev, exec, playerctl previous
+bind = , XF86Audiostop, exec, playerctl stop
+
+bind = $mainMod, left, movefocus, l
+bind = $mainMod, right, movefocus, r
+bind = $mainMod, up, movefocus, u
+bind = $mainMod, down, movefocus, d
+
+# Switch workspaces with mainMod + [0-9]
+bind = $mainMod, 1, workspace, 1
+bind = $mainMod, 2, workspace, 2
+bind = $mainMod, 3, workspace, 3
+bind = $mainMod, 4, workspace, 4
+bind = $mainMod, 5, workspace, 5
+bind = $mainMod, 6, workspace, 6
+bind = $mainMod, 7, workspace, 7
+bind = $mainMod, 8, workspace, 8
+bind = $mainMod, 9, workspace, 9
+bind = $mainMod, 0, workspace, 10
+
+# Move active window to a workspace with mainMod + SHIFT + [0-9]
+bind = $mainMod SHIFT, 1, movetoworkspace, 1
+bind = $mainMod SHIFT, 2, movetoworkspace, 2
+bind = $mainMod SHIFT, 3, movetoworkspace, 3
+bind = $mainMod SHIFT, 4, movetoworkspace, 4
+bind = $mainMod SHIFT, 5, movetoworkspace, 5
+bind = $mainMod SHIFT, 6, movetoworkspace, 6
+bind = $mainMod SHIFT, 7, movetoworkspace, 7
+bind = $mainMod SHIFT, 8, movetoworkspace, 8
+bind = $mainMod SHIFT, 9, movetoworkspace, 9
+bind = $mainMod SHIFT, 0, movetoworkspace, 10
+
+# Scroll through existing workspaces with mainMod + scroll
+bind = $mainMod, mouse_down, workspace, e+1
+bind = $mainMod, mouse_up, workspace, e-1
+
+# Move/resize windows with mainMod + LMB/RMB and dragging
+bindm = $mainMod, mouse:272, movewindow
+bindm = $mainMod, mouse:273, resizewindow
diff --git a/.config/hypr/hyprland.conf.bak b/.config/hypr/hyprland.conf.bak
new file mode 100644
index 0000000..6f43610
--- /dev/null
+++ b/.config/hypr/hyprland.conf.bak
@@ -0,0 +1,156 @@
+monitor=DP-1,highrr,auto,auto
+monitor=HDMI-A-1,highres,0x0,auto
+
+exec-once = hyprpaper & wl-clip-persist --clipboard regular & wp-notifyd & waybar & wal -R & swaync & spotify
+
+source=$HOME/.cache/wal/colors-hyprland.conf
+
+# Some default env vars.
+env = XCURSOR_SIZE,24
+
+# For all categories, see https://wiki.hyprland.org/Configuring/Variables/
+input {
+ kb_layout = de
+ follow_mouse = 1
+
+ touchpad {
+ natural_scroll = yes
+ }
+
+}
+
+device:logitech-g-pro--1 {
+ sensitivity = -0.5
+}
+
+general {
+ gaps_in = 5
+ gaps_out = 10
+
+ border_size = 2
+ col.active_border = $accent
+ col.inactive_border = $background
+
+ layout = dwindle
+}
+
+decoration {
+ rounding = 5
+
+ active_opacity = 0.8
+ inactive_opacity = 0.7
+
+ blur {
+ enabled = true
+ size = 4
+ passes = 4
+ ignore_opacity = true
+ contrast = 1.1
+ brightness = 1.0
+ }
+
+ drop_shadow = false
+ shadow_range = 30
+ shadow_render_power = 4
+ col.shadow = $background
+}
+
+animations {
+ enabled = yes
+
+ bezier = myBezier, 0.05, 0.9, 0.1, 1.05
+
+ animation = windows, 1, 7, myBezier
+ animation = windowsOut, 1, 7, default, popin 80%
+ animation = border, 1, 10, default
+ animation = fade, 1, 7, default
+ animation = workspaces, 1, 6, default
+}
+
+misc {
+ disable_hyprland_logo = true
+ vrr = 1
+}
+
+dwindle {
+ pseudotile = yes # master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below
+ preserve_split = yes # you probably want this
+}
+
+master {
+ new_is_master = true
+}
+
+layerrule = ignorealpha 0.2, wofi
+layerrule = blur, wofi
+layerrule = ignorealpha 0.5, waybar
+layerrule = blur, waybar
+layerrule = ignorealpha 0.5, swaync-control-center
+layerrule = ignorealpha 0.5, swaync-notification-window
+layerrule = blur, swaync-control-center
+layerrule = blur, swaync-notification-window
+layerrule = ignorealpha 0.5, gtk-layer-shell
+layerrule = blur, gtk-layer-shell
+
+windowrulev2 = noborder,class:(steam)
+
+# Bindings
+$mainMod = SUPER
+
+bind = $mainMod, l, exec, gtklock -d
+bind = $mainMod, s, exec, hyprshot --mode region
+bind = $mainMod, r, exec, wofi --show run
+bind = $mainMod, d, exec, wofi --show drun
+bind = $mainMod, c, exec, hyprpicker -r -a
+bind = $mainMod, return, exec, kitty
+bind = $mainMod, q, killactive,
+bind = $mainMod, m, exit,
+bind = $mainMod, f, fullscreen
+bind = $mainMod, v, togglefloating,
+bind = $mainMod, P, pseudo, # dwindle
+
+bind =, XF86AudioRaiseVolume, exec, wpctl set-volume -l 1.0 @DEFAULT_AUDIO_SINK@ 5%+
+bind =, XF86AudioLowerVolume, exec, wpctl set-volume -l 1.0 @DEFAULT_AUDIO_SINK@ 5%-
+bind =, XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle
+
+bind = , XF86AudioPlay, exec, playerctl play-pause
+bind = , XF86AudioNext, exec, playerctl next
+bind = , XF86AudioPrev, exec, playerctl previous
+bind = , XF86Audiostop, exec, playerctl stop
+
+bind = $mainMod, left, movefocus, l
+bind = $mainMod, right, movefocus, r
+bind = $mainMod, up, movefocus, u
+bind = $mainMod, down, movefocus, d
+
+# Switch workspaces with mainMod + [0-9]
+bind = $mainMod, 1, workspace, 1
+bind = $mainMod, 2, workspace, 2
+bind = $mainMod, 3, workspace, 3
+bind = $mainMod, 4, workspace, 4
+bind = $mainMod, 5, workspace, 5
+bind = $mainMod, 6, workspace, 6
+bind = $mainMod, 7, workspace, 7
+bind = $mainMod, 8, workspace, 8
+bind = $mainMod, 9, workspace, 9
+bind = $mainMod, 0, workspace, 10
+
+# Move active window to a workspace with mainMod + SHIFT + [0-9]
+bind = $mainMod SHIFT, 1, movetoworkspace, 1
+bind = $mainMod SHIFT, 2, movetoworkspace, 2
+bind = $mainMod SHIFT, 3, movetoworkspace, 3
+bind = $mainMod SHIFT, 4, movetoworkspace, 4
+bind = $mainMod SHIFT, 5, movetoworkspace, 5
+bind = $mainMod SHIFT, 6, movetoworkspace, 6
+bind = $mainMod SHIFT, 7, movetoworkspace, 7
+bind = $mainMod SHIFT, 8, movetoworkspace, 8
+bind = $mainMod SHIFT, 9, movetoworkspace, 9
+bind = $mainMod SHIFT, 0, movetoworkspace, 10
+
+# Scroll through existing workspaces with mainMod + scroll
+bind = $mainMod, mouse_down, workspace, e+1
+bind = $mainMod, mouse_up, workspace, e-1
+
+# Move/resize windows with mainMod + LMB/RMB and dragging
+bindm = $mainMod, mouse:272, movewindow
+bindm = $mainMod, mouse:273, resizewindow
diff --git a/.config/hypr/hyprpaper.conf b/.config/hypr/hyprpaper.conf
new file mode 100644
index 0000000..ea4bba0
--- /dev/null
+++ b/.config/hypr/hyprpaper.conf
@@ -0,0 +1,2 @@
+preload = ~/Pictures/Hintergründe/japanese woman with red oil umbrella.jpg
+wallpaper = ,~/Pictures/Hintergründe/japanese woman with red oil umbrella.jpg