chore: update config
This commit is contained in:
parent
ea842efa4d
commit
3a23b4d1d9
1 changed files with 48 additions and 52 deletions
|
|
@ -5,13 +5,10 @@ env = HYPRCURSOR_THEME,McMojave
|
||||||
env = HYPRCURSOR_SIZE,30
|
env = HYPRCURSOR_SIZE,30
|
||||||
env = TERMINAL,st
|
env = TERMINAL,st
|
||||||
env = QT_QPA_PLATFORM,wayland
|
env = QT_QPA_PLATFORM,wayland
|
||||||
|
env = __GL_THREADED_OPTIMIZATIONS,0
|
||||||
|
|
||||||
opengl {
|
ecosystem {
|
||||||
nvidia_anti_flicker = false
|
no_update_news = true
|
||||||
}
|
|
||||||
|
|
||||||
cursor {
|
|
||||||
no_hardware_cursors = true
|
|
||||||
}
|
}
|
||||||
|
|
||||||
# For all categories, see https://wiki.hyprland.org/Configuring/Variables/
|
# For all categories, see https://wiki.hyprland.org/Configuring/Variables/
|
||||||
|
|
@ -30,14 +27,13 @@ input {
|
||||||
|
|
||||||
touchpad {
|
touchpad {
|
||||||
natural_scroll = yes
|
natural_scroll = yes
|
||||||
|
disable_while_typing = false
|
||||||
}
|
}
|
||||||
|
|
||||||
repeat_delay = 300
|
repeat_delay = 300
|
||||||
repeat_rate = 50
|
repeat_rate = 50
|
||||||
|
|
||||||
sensitivity = 0 # -1.0 - 1.0, 0 means no modification.
|
sensitivity = 0 # -1.0 - 1.0, 0 means no modification.
|
||||||
|
|
||||||
# kb_options = caps:swapescape
|
|
||||||
}
|
}
|
||||||
|
|
||||||
general {
|
general {
|
||||||
|
|
@ -58,6 +54,17 @@ general {
|
||||||
allow_tearing = false
|
allow_tearing = false
|
||||||
}
|
}
|
||||||
|
|
||||||
|
group {
|
||||||
|
groupbar {
|
||||||
|
font_family = "FiraCode"
|
||||||
|
font_size = 11
|
||||||
|
col.active = rgba(444444ff)
|
||||||
|
col.inactive = rgba(000000ff)
|
||||||
|
height = 15
|
||||||
|
gradients = true
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
blurls = waybar
|
blurls = waybar
|
||||||
decoration {
|
decoration {
|
||||||
# See https://wiki.hyprland.org/Configuring/Variables/ for more
|
# See https://wiki.hyprland.org/Configuring/Variables/ for more
|
||||||
|
|
@ -65,7 +72,7 @@ decoration {
|
||||||
rounding = 10
|
rounding = 10
|
||||||
|
|
||||||
blur {
|
blur {
|
||||||
enabled = true
|
enabled = false
|
||||||
size = 3
|
size = 3
|
||||||
passes = 2
|
passes = 2
|
||||||
}
|
}
|
||||||
|
|
@ -94,8 +101,7 @@ animations {
|
||||||
|
|
||||||
dwindle {
|
dwindle {
|
||||||
# See https://wiki.hyprland.org/Configuring/Dwindle-Layout/ for more
|
# See https://wiki.hyprland.org/Configuring/Dwindle-Layout/ for more
|
||||||
pseudotile = yes # master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below
|
preserve_split = yes
|
||||||
preserve_split = yes # you probably want this
|
|
||||||
}
|
}
|
||||||
|
|
||||||
master {
|
master {
|
||||||
|
|
@ -106,49 +112,27 @@ master {
|
||||||
}
|
}
|
||||||
|
|
||||||
# Replicate old "smart gaps"/"no gaps when only" option
|
# Replicate old "smart gaps"/"no gaps when only" option
|
||||||
workspace = w[tv1], gapsout:0, gapsin:0
|
workspace = w[tv1], gapsout:0, gapsin:0, rounding:0, bordersize:0
|
||||||
workspace = f[1], gapsout:0, gapsin:0
|
workspace = f[1], gapsout:0, gapsin:0, rounding:0, bordersize:0
|
||||||
windowrulev2 = bordersize 0, floating:0, onworkspace:w[tv1]
|
|
||||||
windowrulev2 = rounding 0, floating:0, onworkspace:w[tv1]
|
|
||||||
windowrulev2 = bordersize 0, floating:0, onworkspace:f[1]
|
|
||||||
windowrulev2 = rounding 0, floating:0, onworkspace:f[1]
|
|
||||||
windowrulev2 = float, class:nm-tray
|
|
||||||
|
|
||||||
gestures {
|
|
||||||
# See https://wiki.hyprland.org/Configuring/Variables/ for more
|
|
||||||
workspace_swipe = off
|
|
||||||
}
|
|
||||||
|
|
||||||
misc {
|
misc {
|
||||||
# See https://wiki.hyprland.org/Configuring/Variables/ for more
|
# See https://wiki.hyprland.org/Configuring/Variables/ for more
|
||||||
force_default_wallpaper = 0 # Set to 0 to disable the anime mascot wallpapers
|
force_default_wallpaper = 0 # Set to 0 to disable the anime mascot wallpapers
|
||||||
# enable_swallow = true
|
|
||||||
# swallow_regex = ^(st-256color)$
|
|
||||||
mouse_move_enables_dpms = true
|
mouse_move_enables_dpms = true
|
||||||
}
|
}
|
||||||
|
|
||||||
# Window rules
|
|
||||||
windowrule = tile,title:^(VRChat)$
|
|
||||||
windowrule = tile,title:^(nsxiv)$
|
|
||||||
|
|
||||||
# windowrulev2 = suppressevent maximize, class:.* # Some windows try to maximize themselves instantly
|
|
||||||
# windowrulev2 = suppressevent fullscreen, class:.*
|
|
||||||
windowrulev2 = pin,title:^(dragon)$
|
|
||||||
|
|
||||||
# When hiding waybar, fixes the blur layer still being present
|
|
||||||
layerrule = ignorezero, waybar
|
|
||||||
|
|
||||||
$mainMod = SUPER
|
$mainMod = SUPER
|
||||||
|
|
||||||
# Program spawning hotkeys
|
# Program spawning hotkeys
|
||||||
bind = CONTROL ALT, BACKSPACE, exec, st -e zsh -c 'btop'
|
bind = CONTROL ALT, BACKSPACE, exec, st -t 'btop' -e zsh -c 'btop'
|
||||||
bind = $mainMod CONTROL, W, exec, [floating] foot -W 78x38 -e nmtui
|
bind = $mainMod CONTROL, W, exec, [float] foot -W 78x38 -e nmtui
|
||||||
bind = $mainMod, RETURN, exec, st
|
bind = $mainMod, RETURN, exec, st
|
||||||
bind = $mainMod, W, exec, zen
|
bind = $mainMod SHIFT, RETURN, exec, st -e zsh -c "nvim -c ':term' -c 'startinsert'"
|
||||||
bind = $mainMod, E, exec, st -e zsh -c 'tmp="$(mktemp -t "yazi-cwd.XXXXX")"; yazi "$@" --cwd-file="$tmp"; printf "\033]0;st\007"; if cwd="$(cat -- "$tmp")" && [ -n "$cwd" ] && [ "$cwd" != "$PWD" ]; then; cd -- "$cwd"; fi; rm -f -- "$tmp"; exec $SHELL'
|
bind = $mainMod, W, exec, zen-beta
|
||||||
|
bind = $mainMod, E, exec, st -t "Yazi" -e zsh -c 'tmp="$(mktemp -t "yazi-cwd.XXXXX")"; yazi "$@" --cwd-file="$tmp"; printf "\033]0;st\007"; if cwd="$(cat -- "$tmp")" && [ -n "$cwd" ] && [ "$cwd" != "$PWD" ]; then; cd -- "$cwd"; fi; rm -f -- "$tmp"; exec $SHELL'
|
||||||
bind = $mainMod SHIFT, E, exec, emacsclient -c -a 'emacs'
|
bind = $mainMod SHIFT, E, exec, emacsclient -c -a 'emacs'
|
||||||
bind = $mainMod, C, exec, st -e zsh -c 'khal interactive'
|
bind = $mainMod, C, exec, st -e zsh -c 'khal interactive'
|
||||||
bind = $mainMod, M, exec, st -e zsh -c 'neomutt'
|
bind = $mainMod, M, exec, evolution
|
||||||
|
|
||||||
# Menu hoykeys
|
# Menu hoykeys
|
||||||
bind = $mainMod, R, exec, fuzzel
|
bind = $mainMod, R, exec, fuzzel
|
||||||
|
|
@ -176,24 +160,27 @@ bind = $mainMod, D, exec, hyprctl dispatch submap menu-submap; sleep 2; hyprctl
|
||||||
submap = menu-submap
|
submap = menu-submap
|
||||||
bind = ,A, exec, menu-accent
|
bind = ,A, exec, menu-accent
|
||||||
bind = ,A, submap, reset
|
bind = ,A, submap, reset
|
||||||
bind = ,B, exec, [floating] foot -W 80x17 -e dash -c -i 'menu-bookmark'
|
bind = ,B, exec, [float] foot -W 80x17 -e dash -c -i 'menu-bookmark'
|
||||||
bind = ,B, submap, reset
|
bind = ,B, submap, reset
|
||||||
bind = ,M, exec, [floating] foot -W 78x38 -e dash -c -i 'menu-man'
|
bind = ,M, exec, [float] foot -W 78x38 -e dash -c -i 'menu-man'
|
||||||
bind = ,M, submap, reset
|
bind = ,M, submap, reset
|
||||||
|
bind = ,N, exec, [float] foot -W 50x10 -e dash -c -i 'menu-project'
|
||||||
|
bind = ,N, submap, reset
|
||||||
bind = ,W, exec, networkmanager_dmenu
|
bind = ,W, exec, networkmanager_dmenu
|
||||||
bind = ,W, submap, reset
|
bind = ,W, submap, reset
|
||||||
bind = ,O, exec, menu-wpio sink
|
bind = ,O, exec, menu-wpio sink
|
||||||
bind = ,O, submap, reset
|
bind = ,O, submap, reset
|
||||||
bind = ,I, exec, menu-wpio source
|
bind = ,I, exec, menu-wpio source
|
||||||
bind = ,I, submap, reset
|
bind = ,I, submap, reset
|
||||||
bind = ,L, exec, hyprmonitors menu
|
# bind = ,L, exec, hyprmonitors menu
|
||||||
bind = ,L, submap, reset
|
# bind = ,L, submap, reset
|
||||||
bind = ,P, exec, [floating] foot -W 80x17 -e zsh -c -i 'menu-pass'
|
bind = ,P, exec, [float] foot -W 80x17 -e zsh -c -i 'menu-pass'
|
||||||
bind = ,P, submap, reset
|
bind = ,P, submap, reset
|
||||||
submap = reset
|
submap = reset
|
||||||
|
|
||||||
# Hide waybar
|
# Hide top bar
|
||||||
bind = $mainMod, B, exec, pkill -SIGUSR1 waybar
|
# bind = $mainMod, B, exec, pkill -SIGUSR1 waybar
|
||||||
|
bind = $mainMod, B, exec, qs ipc call bar toggleVis
|
||||||
|
|
||||||
# Kill commands
|
# Kill commands
|
||||||
bind = $mainMod CONTROL SHIFT, Q, exit,
|
bind = $mainMod CONTROL SHIFT, Q, exit,
|
||||||
|
|
@ -210,8 +197,8 @@ bind = $mainMod, J, layoutmsg, cyclenext
|
||||||
bind = $mainMod SHIFT, J, layoutmsg, swapnext
|
bind = $mainMod SHIFT, J, layoutmsg, swapnext
|
||||||
bind = $mainMod, K, layoutmsg, cycleprev
|
bind = $mainMod, K, layoutmsg, cycleprev
|
||||||
bind = $mainMod SHIFT, K, layoutmsg, swapprev
|
bind = $mainMod SHIFT, K, layoutmsg, swapprev
|
||||||
bind = $mainMod SHIFT, L, splitratio, +0.05
|
bind = $mainMod SHIFT, L, layoutmsg, mfact +0.05
|
||||||
bind = $mainMod SHIFT, H, splitratio, -0.05
|
bind = $mainMod SHIFT, H, layoutmsg, mfact -0.05
|
||||||
|
|
||||||
# Changing number of masters
|
# Changing number of masters
|
||||||
bind = $mainMod, O, layoutmsg, addmaster
|
bind = $mainMod, O, layoutmsg, addmaster
|
||||||
|
|
@ -223,11 +210,16 @@ bind = $mainMod SHIFT, T, layoutmsg, orientationtop
|
||||||
|
|
||||||
# Special windows
|
# Special windows
|
||||||
bind = $mainMod, F, togglefloating,
|
bind = $mainMod, F, togglefloating,
|
||||||
bind = $mainMod, F, resizeactive, exact 50% 50%
|
bind = $mainMod, F, resizeactive, exact 960 540
|
||||||
bind = $mainMod SHIFT, F, fullscreenstate, 0, 2
|
bind = $mainMod SHIFT, F, fullscreen
|
||||||
|
bind = $mainMod CONTROL SHIFT, F, fullscreenstate, 0, 2
|
||||||
bind = $mainMod, S, togglespecialworkspace, magic
|
bind = $mainMod, S, togglespecialworkspace, magic
|
||||||
bind = $mainMod SHIFT, S, movetoworkspace, special:magic
|
bind = $mainMod SHIFT, S, movetoworkspace, special:magic
|
||||||
|
|
||||||
|
# Groups
|
||||||
|
bind = $mainMod, G, togglegroup
|
||||||
|
bind = $mainMod, tab, changegroupactive
|
||||||
|
|
||||||
# Switch workspaces with mainMod + [0-9]
|
# Switch workspaces with mainMod + [0-9]
|
||||||
bind = $mainMod, 1, exec, hyprdwm goto 1
|
bind = $mainMod, 1, exec, hyprdwm goto 1
|
||||||
bind = $mainMod, 2, exec, hyprdwm goto 2
|
bind = $mainMod, 2, exec, hyprdwm goto 2
|
||||||
|
|
@ -279,5 +271,9 @@ bind = $mainMod, mouse_up, workspace, e-1
|
||||||
bindm = $mainMod, mouse:272, movewindow
|
bindm = $mainMod, mouse:272, movewindow
|
||||||
bindm = $mainMod, mouse:273, resizewindow
|
bindm = $mainMod, mouse:273, resizewindow
|
||||||
|
|
||||||
|
exec-once = gsettings set org.gnome.desktop.interface gtk-theme "Adwaita-dark" # for GTK3 apps
|
||||||
|
exec-once = gsettings set org.gnome.desktop.interface color-scheme "prefer-dark" # for GTK4 apps
|
||||||
|
exec-once = gsettings set com.usebottles.bottles dark-theme true
|
||||||
|
|
||||||
exec-once = startw
|
exec-once = startw
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue