hyprland updates; nvim updates; misc updates
This commit is contained in:
@ -23,12 +23,13 @@ $menu = wofi --show drun
|
||||
|
||||
# Autostart necessary processes (like notifications daemons, status bars, etc.)
|
||||
# Or execute your favorite apps at launch like this:
|
||||
exec-once = waybar
|
||||
# exec-once = waybar
|
||||
exec-once = /usr/lib//hhyprpolkitagent/hyprpolkitagent
|
||||
exec-once = hyprpanel
|
||||
exec-once = dunst
|
||||
exec-once = firefox
|
||||
exec-once = hyprpaper
|
||||
exec-once = [workspace 9 silent] spotify
|
||||
exec-once = [workspace 9 silent] deezer-desktop
|
||||
|
||||
# gnome keyring secret service
|
||||
exec-once = dbus-update-activation-environment --systemd DISPLAY WAYLAND_DISPLAY XDG_CURRENT_DESKTOP HYPRLAND_INSTANCE_SIGNATURE
|
||||
@ -136,14 +137,14 @@ decoration {
|
||||
}
|
||||
|
||||
# wofi
|
||||
layerrule = blur, wofi # apply compositor blur
|
||||
layerrule = ignorezero, wofi # keep blur even on near-opaque colors
|
||||
layerrule = dimaround, wofi # optional: dim background behind wofi
|
||||
layerrule = ignorealpha 0.90, wofi # target overall opacity for the layer
|
||||
|
||||
# waybar
|
||||
layerrule = blur, waybar
|
||||
layerrule = ignorealpha 0.15, waybar
|
||||
# layerrule = blur, wofi # apply compositor blur
|
||||
# layerrule = ignorezero, wofi # keep blur even on near-opaque colors
|
||||
# layerrule = dimaround, wofi # optional: dim background behind wofi
|
||||
# layerrule = ignorealpha 0.90, wofi # target overall opacity for the layer
|
||||
#
|
||||
# # waybar
|
||||
# layerrule = blur, waybar
|
||||
# layerrule = ignorealpha 0.15, waybar
|
||||
|
||||
# https://wiki.hypr.land/Configuring/Variables/#animations
|
||||
animations {
|
||||
@ -210,18 +211,18 @@ misc {
|
||||
|
||||
# https://wiki.hypr.land/Configuring/Variables/#input
|
||||
input {
|
||||
kb_layout = us
|
||||
kb_layout = us,de
|
||||
kb_variant = altgr-intl
|
||||
kb_model =
|
||||
kb_options =
|
||||
# kb_options = grp:caps_toggle
|
||||
kb_rules =
|
||||
|
||||
follow_mouse = 2
|
||||
|
||||
sensitivity = 0 # -1.0 - 1.0, 0 means no modification.
|
||||
|
||||
scroll_method = on_button_down
|
||||
scroll_button = 274
|
||||
# scroll_method = on_button_down
|
||||
# scroll_button = 274
|
||||
}
|
||||
|
||||
# Example per-device config
|
||||
@ -282,12 +283,12 @@ bindel = ,XF86MonBrightnessUp, exec, brightnessctl -e4 -n2 set 5%+
|
||||
bindel = ,XF86MonBrightnessDown, exec, brightnessctl -e4 -n2 set 5%-
|
||||
|
||||
# Requires playerctl
|
||||
# Spotify controls
|
||||
bind = CTRL ALT, K, exec, playerctl --player=spotify play-pause
|
||||
bind = CTRL ALT, Left, exec, playerctl --player=spotify previous
|
||||
bind = CTRL ALT, Right, exec, playerctl --player=spotify next
|
||||
bind = CTRL ALT, Up, exec, playerctl --player=spotify volume 0.05+
|
||||
bind = CTRL ALT, Down, exec, playerctl --player=spotify volume 0.05-
|
||||
# Deezer controls
|
||||
bind = CTRL ALT, K, exec, playerctl --player=deezer play-pause
|
||||
bind = CTRL ALT, Left, exec, playerctl --player=deezer previous
|
||||
bind = CTRL ALT, Right, exec, playerctl --player=deezer next
|
||||
bind = CTRL ALT, Up, exec, ~/.config/hypr/scripts/deezer-volume.sh +5%
|
||||
bind = CTRL ALT, Down, exec, ~/.config/hypr/scripts/deezer-volume.sh -5%
|
||||
|
||||
bind = ,F7,pass,class:^(discord)$
|
||||
bind = ,F8,pass,class:^(discord)$
|
||||
@ -305,18 +306,47 @@ bind = , Print, exec, hyprshot -zm region
|
||||
# See https://wiki.hypr.land/Configuring/Workspace-Rules/ for workspace rules
|
||||
|
||||
# Ignore maximize requests from apps. You'll probably like this.
|
||||
windowrule = suppressevent maximize, class:.*
|
||||
windowrule {
|
||||
name = suppress-maximize-events
|
||||
match:class = .*
|
||||
|
||||
suppress_event = maximize
|
||||
}
|
||||
|
||||
# Fix some dragging issues with XWayland
|
||||
windowrule = nofocus,class:^$,title:^$,xwayland:1,floating:1,fullscreen:0,pinned:0
|
||||
windowrule {
|
||||
name = fix-xwayland-drags
|
||||
match:class = ^$
|
||||
match:title = ^$
|
||||
match:xwayland = true
|
||||
match:float = true
|
||||
match:fullscreen = false
|
||||
match:pin = false
|
||||
|
||||
windowrulev2 = tag +jb, class:^jetbrains-.+$,floating:1
|
||||
windowrulev2 = stayfocused, tag:jb
|
||||
windowrulev2 = noinitialfocus, tag:jb
|
||||
no_focus = true
|
||||
}
|
||||
|
||||
# 1) Do not allow these windows to inhibit Hyprland shortcuts
|
||||
windowrulev2 = noshortcutsinhibit, class:^(jetbrains-.*|android-studio)$
|
||||
windowrule {
|
||||
name = jetbrains-shortcuts
|
||||
match:class = ^(jetbrains-.*|android-studio)$
|
||||
|
||||
no_shortcuts_inhibit = 1
|
||||
}
|
||||
|
||||
windowrule {
|
||||
name = jetbrains-tile
|
||||
match:class = ^(jetbrains-.*|android-studio)$
|
||||
float = 0
|
||||
}
|
||||
|
||||
windowrule {
|
||||
name = jetbrains-tab-drag
|
||||
match:class = ^(jetbrains-.*|android-studio)$
|
||||
match:title = ^(\s*)$
|
||||
|
||||
no_initial_focus = 1
|
||||
stay_focused = 1
|
||||
float = 1
|
||||
center = 1
|
||||
}
|
||||
|
||||
# 2) Float and center transient dialogs from these apps
|
||||
windowrulev2 = float, class:^(jetbrains-.*|android-studio)$, windowtype:^(dialog|utility|popup)$
|
||||
windowrulev2 = center, class:^(jetbrains-.*|android-studio)$, windowtype:^(dialog|utility|popup)$
|
||||
|
||||
Reference in New Issue
Block a user