|
@@ -12,7 +12,7 @@ $mainMod = SUPER
|
|
|
$terminal = kitty
|
|
$terminal = kitty
|
|
|
$fileManager = nautilus
|
|
$fileManager = nautilus
|
|
|
$menu = fuzzel
|
|
$menu = fuzzel
|
|
|
-$browser = brave
|
|
|
|
|
|
|
+$browser = chromium
|
|
|
|
|
|
|
|
#################
|
|
#################
|
|
|
### AUTOSTART ###
|
|
### AUTOSTART ###
|
|
@@ -334,8 +334,10 @@ bindel = ,XF86AudioRaiseVolume, exec, wpctl set-volume -l 1 @DEFAULT_AUDIO_SINK@
|
|
|
bindel = ,XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-
|
|
bindel = ,XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-
|
|
|
bindel = ,XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle
|
|
bindel = ,XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle
|
|
|
bindel = ,XF86AudioMicMute, exec, wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle
|
|
bindel = ,XF86AudioMicMute, exec, wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle
|
|
|
-bindel = ,XF86MonBrightnessUp, exec, ~/.config/hypr/scripts/brightness.sh 5%+
|
|
|
|
|
-bindel = ,XF86MonBrightnessDown, exec, ~/.config/hypr/scripts/brightness.sh 5%-
|
|
|
|
|
|
|
+bindel = ,XF86MonBrightnessUp, exec, ~/.config/hypr/scripts/display-brightness.sh 5%+
|
|
|
|
|
+bindel = ,XF86MonBrightnessDown, exec, ~/.config/hypr/scripts/display-brightness.sh 5%-
|
|
|
|
|
+bindel = $mainMod, XF86MonBrightnessUp, exec, ~/.config/hypr/scripts/keyboard-brightness.sh 5%+
|
|
|
|
|
+bindel = $mainMod, XF86MonBrightnessDown, exec, ~/.config/hypr/scripts/keyboard-brightness.sh 5%-
|
|
|
|
|
|
|
|
# Requires playerctl
|
|
# Requires playerctl
|
|
|
bindl = , XF86AudioNext, exec, playerctl next
|
|
bindl = , XF86AudioNext, exec, playerctl next
|
|
@@ -350,11 +352,8 @@ bindl = , XF86AudioPrev, exec, playerctl previous
|
|
|
# See https://wiki.hypr.land/Configuring/Window-Rules/ for more
|
|
# See https://wiki.hypr.land/Configuring/Window-Rules/ for more
|
|
|
# See https://wiki.hypr.land/Configuring/Workspace-Rules/ for workspace rules
|
|
# See https://wiki.hypr.land/Configuring/Workspace-Rules/ for workspace rules
|
|
|
|
|
|
|
|
-# Example windowrules that are useful
|
|
|
|
|
-
|
|
|
|
|
windowrule {
|
|
windowrule {
|
|
|
name = opaque-floating
|
|
name = opaque-floating
|
|
|
-
|
|
|
|
|
match:float = true
|
|
match:float = true
|
|
|
|
|
|
|
|
opacity = 1.0 override 1.0 override
|
|
opacity = 1.0 override 1.0 override
|
|
@@ -368,23 +367,22 @@ windowrule {
|
|
|
suppress_event = maximize
|
|
suppress_event = maximize
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+# Fix some dragging issues with XWayland
|
|
|
windowrule {
|
|
windowrule {
|
|
|
- # Fix some dragging issues with XWayland
|
|
|
|
|
name = fix-xwayland-drags
|
|
name = fix-xwayland-drags
|
|
|
match:class = ^$
|
|
match:class = ^$
|
|
|
|
|
+
|
|
|
match:title = ^$
|
|
match:title = ^$
|
|
|
match:xwayland = true
|
|
match:xwayland = true
|
|
|
match:float = true
|
|
match:float = true
|
|
|
match:fullscreen = false
|
|
match:fullscreen = false
|
|
|
match:pin = false
|
|
match:pin = false
|
|
|
-
|
|
|
|
|
no_focus = true
|
|
no_focus = true
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
# Hyprland-run windowrule
|
|
# Hyprland-run windowrule
|
|
|
windowrule {
|
|
windowrule {
|
|
|
name = move-hyprland-run
|
|
name = move-hyprland-run
|
|
|
-
|
|
|
|
|
match:class = hyprland-run
|
|
match:class = hyprland-run
|
|
|
|
|
|
|
|
move = 20 monitor_h-120
|
|
move = 20 monitor_h-120
|
|
@@ -392,20 +390,42 @@ windowrule {
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
windowrule {
|
|
windowrule {
|
|
|
- name = browser-opacity
|
|
|
|
|
-
|
|
|
|
|
- match:class = ^(chromium|brave-browser)$
|
|
|
|
|
|
|
+ name = browser-opacity-and-workspace
|
|
|
|
|
+ match:class = ^($browser)$
|
|
|
|
|
|
|
|
opacity = 1.0 override 1.0 override
|
|
opacity = 1.0 override 1.0 override
|
|
|
opaque = true
|
|
opaque = true
|
|
|
|
|
+ workspace = 2
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-# Xwayland Video Bridge
|
|
|
|
|
windowrule {
|
|
windowrule {
|
|
|
name = xwayland-video-bridge
|
|
name = xwayland-video-bridge
|
|
|
match:class = ^(xwaylandvideobridge)$
|
|
match:class = ^(xwaylandvideobridge)$
|
|
|
|
|
+
|
|
|
opacity = 0.0 override 0.0 override
|
|
opacity = 0.0 override 0.0 override
|
|
|
|
|
+ workspace = 9
|
|
|
no_initial_focus = true
|
|
no_initial_focus = true
|
|
|
max_size = 1 1
|
|
max_size = 1 1
|
|
|
no_blur = true
|
|
no_blur = true
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
|
|
+windowrule{
|
|
|
|
|
+ name = keepassxc-workspace
|
|
|
|
|
+ match:class = ^(org.keepassxc.KeePassXC)$
|
|
|
|
|
+
|
|
|
|
|
+ workspace = 5
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+windowrule{
|
|
|
|
|
+ name = localsend-workspace
|
|
|
|
|
+ match:class = ^(localsend)$
|
|
|
|
|
+
|
|
|
|
|
+ workspace = 10
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+windowrule{
|
|
|
|
|
+ name = logseq-workspace
|
|
|
|
|
+ match:class = ^(Logseq)$
|
|
|
|
|
+
|
|
|
|
|
+ workspace = 6
|
|
|
|
|
+}
|