Update hyprland
This commit is contained in:
parent
911be51b29
commit
b08b77e1dd
@ -1,12 +1,14 @@
|
|||||||
monitor = HDMI-A-1, preferred, auto, 1.25
|
monitor = HDMI-A-1, preferred, auto, 1.25
|
||||||
|
|
||||||
$terminal = ghostty
|
$terminal = ghostty
|
||||||
$fileManager = dolphin
|
$fileManager = thunar
|
||||||
$menu = wofi --show drun
|
$menu = fuzzel
|
||||||
|
|
||||||
exec-once = hyprpaper
|
exec-once = hyprpaper
|
||||||
exec-once = waybar
|
exec-once = waybar
|
||||||
exec-once = xrdb -merge "$HOME/.Xresources"
|
exec-once = xrdb -merge "$HOME/.Xresources"
|
||||||
|
exec-once = thunar --daemon
|
||||||
|
exec-once = dunst
|
||||||
|
|
||||||
env = XCURSOR_SIZE,24
|
env = XCURSOR_SIZE,24
|
||||||
env = HYPRCURSOR_SIZE,24
|
env = HYPRCURSOR_SIZE,24
|
||||||
@ -17,7 +19,7 @@ general {
|
|||||||
|
|
||||||
border_size = 4
|
border_size = 4
|
||||||
|
|
||||||
col.active_border = rgb(5e72eb) rgb(ff9190) 45deg
|
col.active_border = rgb(f12711) rgb(f5af19) 45deg
|
||||||
col.inactive_border = rgba(595959aa)
|
col.inactive_border = rgba(595959aa)
|
||||||
|
|
||||||
resize_on_border = false
|
resize_on_border = false
|
||||||
@ -32,29 +34,47 @@ xwayland {
|
|||||||
force_zero_scaling = true
|
force_zero_scaling = true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# {{{ Decoration
|
||||||
|
# See https://wiki.hyprland.org/Configuring/Variables/#decoration
|
||||||
decoration {
|
decoration {
|
||||||
rounding = 10
|
rounding = 10
|
||||||
rounding_power = 2
|
rounding_power = 2.0
|
||||||
|
|
||||||
active_opacity = 1.0
|
active_opacity = 1.0
|
||||||
inactive_opacity = 1.0
|
inactive_opacity = 1.0
|
||||||
|
fullscreen_opacity = 1.0
|
||||||
|
|
||||||
|
dim_inactive = false
|
||||||
|
dim_strength = 0.5
|
||||||
|
|
||||||
|
|
||||||
|
# See https://wiki.hyprland.org/Configuring/Variables/#shadow
|
||||||
shadow {
|
shadow {
|
||||||
enabled = true
|
enabled = false
|
||||||
range = 4
|
|
||||||
render_power = 3
|
|
||||||
color = rgba(1a1a1aee)
|
color = rgba(1a1a1aee)
|
||||||
|
range = 8
|
||||||
|
render_power = 3
|
||||||
|
sharp = false
|
||||||
|
ignore_window = true
|
||||||
|
offset = 0 0
|
||||||
|
scale = 1.0
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# See https://wiki.hyprland.org/Configuring/Variables/#blur
|
||||||
blur {
|
blur {
|
||||||
enabled = true
|
enabled = false
|
||||||
size = 3
|
size = 8
|
||||||
passes = 1
|
passes = 1
|
||||||
|
ignore_opacity = true
|
||||||
|
noise = 0.1
|
||||||
|
contrast = 0.9
|
||||||
|
brightness = 0.8
|
||||||
vibrancy = 0.1696
|
vibrancy = 0.1696
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
# }}}
|
||||||
|
# {{{ Animations
|
||||||
|
# See https://wiki.hyprland.org/Configuring/Animations/
|
||||||
animations {
|
animations {
|
||||||
enabled = yes, please :)
|
enabled = yes, please :)
|
||||||
|
|
||||||
@ -83,6 +103,7 @@ animations {
|
|||||||
animation = workspacesIn, 1, 1.21, almostLinear, fade
|
animation = workspacesIn, 1, 1.21, almostLinear, fade
|
||||||
animation = workspacesOut, 1, 1.94, almostLinear, fade
|
animation = workspacesOut, 1, 1.94, almostLinear, fade
|
||||||
}
|
}
|
||||||
|
# }}}
|
||||||
|
|
||||||
# Ref https://wiki.hyprland.org/Configuring/Workspace-Rules/
|
# Ref https://wiki.hyprland.org/Configuring/Workspace-Rules/
|
||||||
# "Smart gaps" / "No gaps when only"
|
# "Smart gaps" / "No gaps when only"
|
||||||
@ -108,14 +129,10 @@ misc {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
#############
|
|
||||||
### INPUT ###
|
|
||||||
#############
|
|
||||||
|
|
||||||
# https://wiki.hyprland.org/Configuring/Variables/#input
|
# https://wiki.hyprland.org/Configuring/Variables/#input
|
||||||
input {
|
input {
|
||||||
kb_layout = de
|
kb_layout = de
|
||||||
kb_variant = neo_qwertz
|
# kb_variant = neo_qwertz
|
||||||
kb_model = pc105
|
kb_model = pc105
|
||||||
kb_options =
|
kb_options =
|
||||||
kb_rules =
|
kb_rules =
|
||||||
@ -141,23 +158,20 @@ device {
|
|||||||
sensitivity = -0.5
|
sensitivity = -0.5
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# {{{ Keybindings
|
||||||
###################
|
|
||||||
### KEYBINDINGS ###
|
|
||||||
###################
|
|
||||||
|
|
||||||
# See https://wiki.hyprland.org/Configuring/Keywords/
|
# See https://wiki.hyprland.org/Configuring/Keywords/
|
||||||
$mainMod = SUPER # Sets "Windows" key as main modifier
|
$mainMod = SUPER # Sets "Windows" key as main modifier
|
||||||
|
|
||||||
# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
|
# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
|
||||||
bind = $mainMod, return, exec, $terminal
|
|
||||||
bind = $mainMod, Q, killactive,
|
bind = $mainMod, Q, killactive,
|
||||||
bind = $mainMod, M, exit,
|
bind = $mainMod, M, exit,
|
||||||
bind = $mainMod, E, exec, $fileManager
|
|
||||||
bind = $mainMod, V, togglefloating,
|
bind = $mainMod, V, togglefloating,
|
||||||
|
bind = $mainMod, F, fullscreen, 1
|
||||||
|
bind = $mainMod SHIFT, F, fullscreen, 0
|
||||||
|
|
||||||
|
bind = $mainMod, return, exec, $terminal
|
||||||
|
bind = $mainMod, E, exec, $fileManager
|
||||||
bind = $mainMod, R, exec, $menu
|
bind = $mainMod, R, exec, $menu
|
||||||
bind = $mainMod, P, pseudo, # dwindle
|
|
||||||
bind = $mainMod, J, togglesplit, # dwindle
|
|
||||||
|
|
||||||
# Move focus with mainMod + arrow keys
|
# Move focus with mainMod + arrow keys
|
||||||
bind = $mainMod, left, movefocus, l
|
bind = $mainMod, left, movefocus, l
|
||||||
@ -165,6 +179,11 @@ bind = $mainMod, right, movefocus, r
|
|||||||
bind = $mainMod, up, movefocus, u
|
bind = $mainMod, up, movefocus, u
|
||||||
bind = $mainMod, down, movefocus, d
|
bind = $mainMod, down, movefocus, d
|
||||||
|
|
||||||
|
bind = $mainMod, H, movefocus, l
|
||||||
|
bind = $mainMod, L, movefocus, r
|
||||||
|
bind = $mainMod, K, movefocus, u
|
||||||
|
bind = $mainMod, J, movefocus, d
|
||||||
|
|
||||||
# Switch workspaces with mainMod + [0-9]
|
# Switch workspaces with mainMod + [0-9]
|
||||||
bind = $mainMod, 1, workspace, 1
|
bind = $mainMod, 1, workspace, 1
|
||||||
bind = $mainMod, 2, workspace, 2
|
bind = $mainMod, 2, workspace, 2
|
||||||
@ -215,18 +234,22 @@ bindl = , XF86AudioPause, exec, playerctl play-pause
|
|||||||
bindl = , XF86AudioPlay, exec, playerctl play-pause
|
bindl = , XF86AudioPlay, exec, playerctl play-pause
|
||||||
bindl = , XF86AudioPrev, exec, playerctl previous
|
bindl = , XF86AudioPrev, exec, playerctl previous
|
||||||
|
|
||||||
##############################
|
# }}}
|
||||||
### WINDOWS AND WORKSPACES ###
|
# {{{ Window Rules
|
||||||
##############################
|
|
||||||
|
|
||||||
# See https://wiki.hyprland.org/Configuring/Window-Rules/ for more
|
# See https://wiki.hyprland.org/Configuring/Window-Rules/ for more
|
||||||
# See https://wiki.hyprland.org/Configuring/Workspace-Rules/ for workspace rules
|
# See https://wiki.hyprland.org/Configuring/Workspace-Rules/ for workspace rules
|
||||||
|
|
||||||
# Example windowrule
|
|
||||||
# windowrule = float,class:^(kitty)$,title:^(kitty)$
|
|
||||||
|
|
||||||
# Ignore maximize requests from apps. You'll probably like this.
|
|
||||||
windowrule = suppressevent maximize, class:.*
|
windowrule = suppressevent maximize, class:.*
|
||||||
|
|
||||||
|
# Use `hyprctl clients` to find the class of an application
|
||||||
|
|
||||||
|
windowrule = workspace 1, class:vivaldi.*
|
||||||
|
windowrule = workspace 3, class:discord
|
||||||
|
windowrule = workspace 3, class:Signal
|
||||||
|
windowrule = workspace 5, class:Spotify
|
||||||
|
|
||||||
# Fix some dragging issues with XWayland
|
# Fix some dragging issues with XWayland
|
||||||
windowrule = nofocus,class:^$,title:^$,xwayland:1,floating:1,fullscreen:0,pinned:0
|
windowrule = nofocus,class:^$,title:^$,xwayland:1,floating:1,fullscreen:0,pinned:0
|
||||||
|
|
||||||
|
# }}}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user