aboutsummaryrefslogtreecommitdiff
path: root/.config/hypr/hyprland.conf.bak
blob: 6f4361098c256ef8fc60d08e06ae69ca5e7d9a6d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
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