updated hyprland config
This commit is contained in:
parent
6865cd761f
commit
b91afebd2a
@ -1,25 +1,8 @@
|
|||||||
|
|
||||||
#
|
|
||||||
# Please note not all available settings / options are set here.
|
|
||||||
# For a full list, see the wiki
|
|
||||||
#
|
|
||||||
|
|
||||||
# See https://wiki.hyprland.org/Configuring/Monitors/
|
|
||||||
monitor=,preferred,auto,auto
|
monitor=,preferred,auto,auto
|
||||||
|
|
||||||
|
# Load colors
|
||||||
|
source = ~/.config/hypr/nord-colors.conf
|
||||||
|
|
||||||
# See https://wiki.hyprland.org/Configuring/Keywords/ for more
|
|
||||||
|
|
||||||
# Execute your favorite apps at launch
|
|
||||||
# exec-once = waybar & hyprpaper & firefox
|
|
||||||
|
|
||||||
# Source a file (multi-file configs)
|
|
||||||
# source = ~/.config/hypr/myColors.conf
|
|
||||||
|
|
||||||
# Some default env vars.
|
|
||||||
env = XCURSOR_SIZE,24
|
|
||||||
|
|
||||||
# For all categories, see https://wiki.hyprland.org/Configuring/Variables/
|
|
||||||
input {
|
input {
|
||||||
kb_layout = us
|
kb_layout = us
|
||||||
kb_variant =
|
kb_variant =
|
||||||
@ -27,46 +10,55 @@ input {
|
|||||||
kb_options =
|
kb_options =
|
||||||
kb_rules =
|
kb_rules =
|
||||||
|
|
||||||
|
numlock_by_default = true
|
||||||
|
|
||||||
follow_mouse = 1
|
follow_mouse = 1
|
||||||
|
|
||||||
touchpad {
|
touchpad {
|
||||||
natural_scroll = no
|
natural_scroll = no
|
||||||
}
|
}
|
||||||
|
|
||||||
sensitivity = 0 # -1.0 - 1.0, 0 means no modification.
|
|
||||||
}
|
}
|
||||||
|
|
||||||
general {
|
general {
|
||||||
# See https://wiki.hyprland.org/Configuring/Variables/ for more
|
|
||||||
|
|
||||||
gaps_in = 5
|
gaps_in = 5
|
||||||
gaps_out = 7
|
gaps_out = 3
|
||||||
border_size = 2
|
border_size = 2
|
||||||
col.active_border = rgba(33ccffee) rgba(00ff99ee) 45deg
|
col.active_border = $color3
|
||||||
col.inactive_border = rgba(595959aa)
|
col.inactive_border = $color0
|
||||||
layout = dwindle
|
layout = dwindle
|
||||||
}
|
}
|
||||||
|
|
||||||
decoration {
|
decoration {
|
||||||
# See https://wiki.hyprland.org/Configuring/Variables/ for more
|
|
||||||
|
|
||||||
rounding = 5
|
rounding = 5
|
||||||
blur = yes
|
blur {
|
||||||
blur_size = 3
|
enabled = true
|
||||||
blur_passes = 1
|
special = false
|
||||||
blur_new_optimizations = on
|
size = 2
|
||||||
|
}
|
||||||
drop_shadow = yes
|
drop_shadow = yes
|
||||||
shadow_range = 4
|
shadow_range = 4
|
||||||
shadow_render_power = 3
|
shadow_render_power = 3
|
||||||
col.shadow = rgba(1a1a1aee)
|
col.shadow = rgba(1a1a1aee)
|
||||||
|
dim_special = 0.6
|
||||||
|
}
|
||||||
|
|
||||||
|
misc {
|
||||||
|
# disable_hyprland_logo = true
|
||||||
|
# disable_splash_rendering = true
|
||||||
|
force_hypr_chan = true
|
||||||
|
animate_manual_resizes = true
|
||||||
|
animate_mouse_windowdragging = true
|
||||||
|
|
||||||
|
mouse_move_enables_dpms = true
|
||||||
|
key_press_enables_dpms = true
|
||||||
|
|
||||||
|
enable_swallow = true
|
||||||
|
# swallow_regex = class regex
|
||||||
}
|
}
|
||||||
|
|
||||||
animations {
|
animations {
|
||||||
enabled = yes
|
enabled = yes
|
||||||
|
|
||||||
# Some default animations, see https://wiki.hyprland.org/Configuring/Animations/ for more
|
|
||||||
|
|
||||||
bezier = myBezier, 0.05, 0.9, 0.1, 1.05
|
bezier = myBezier, 0.05, 0.9, 0.1, 1.05
|
||||||
|
|
||||||
animation = windows, 1, 7, myBezier
|
animation = windows, 1, 7, myBezier
|
||||||
@ -78,64 +70,62 @@ animations {
|
|||||||
}
|
}
|
||||||
|
|
||||||
dwindle {
|
dwindle {
|
||||||
# See https://wiki.hyprland.org/Configuring/Dwindle-Layout/ for more
|
pseudotile = yes
|
||||||
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 {
|
||||||
# See https://wiki.hyprland.org/Configuring/Master-Layout/ for more
|
|
||||||
new_is_master = true
|
new_is_master = true
|
||||||
}
|
}
|
||||||
|
|
||||||
gestures {
|
gestures {
|
||||||
# See https://wiki.hyprland.org/Configuring/Variables/ for more
|
|
||||||
workspace_swipe = off
|
workspace_swipe = off
|
||||||
}
|
}
|
||||||
|
|
||||||
binds {
|
binds {
|
||||||
workspace_back_and_forth=true
|
workspace_back_and_forth = true
|
||||||
|
allow_workspace_cycles = true
|
||||||
}
|
}
|
||||||
|
|
||||||
# Example per-device config
|
|
||||||
# See https://wiki.hyprland.org/Configuring/Keywords/#executing for more
|
|
||||||
device:zly-zelotes-game-mouse {
|
device:zly-zelotes-game-mouse {
|
||||||
sensitivity = -1
|
sensitivity = -1
|
||||||
}
|
}
|
||||||
|
|
||||||
# Window/Layer-Rules
|
|
||||||
|
|
||||||
|
# Window and layer rules
|
||||||
layerrule = noanim,rofi
|
layerrule = noanim,rofi
|
||||||
windowrulev2 = workspace special, class:^(Spotify)$
|
windowrulev2 = workspace special:spotify silent, class:^(Spotify)$
|
||||||
|
windowrulev2 = workspace special:term silent, class:^(scratchpad)$
|
||||||
# Example windowrule v1
|
|
||||||
# windowrule = float, ^(kitty)$
|
|
||||||
# Example windowrule v2
|
|
||||||
# windowrulev2 = float,class:^(kitty)$,title:^(kitty)$
|
|
||||||
# See https://wiki.hyprland.org/Configuring/Window-Rules/ for more
|
|
||||||
|
|
||||||
# Env
|
# Env
|
||||||
env = MOZ_ENABLE_WAYLAND,1
|
env = MOZ_ENABLE_WAYLAND,1
|
||||||
env = SDL_VIDEODRIVER,wayland
|
env = SDL_VIDEODRIVER,wayland
|
||||||
|
env = GDK_BACKEND=wayland,x11
|
||||||
|
env = QT_QPA_PLATFORM=wayland;xcb
|
||||||
|
env = XCURSOR_SIZE=24
|
||||||
|
|
||||||
# Autostart
|
# Autostart
|
||||||
exec-once = waybar
|
exec-once = waybar
|
||||||
exec-once = swaync
|
exec-once = swaync
|
||||||
exec-once = hyprpaper
|
exec-once = hyprpaper
|
||||||
|
exec-once = swayidle -w
|
||||||
|
exec-once = alacritty --class scratchpad
|
||||||
|
|
||||||
# See https://wiki.hyprland.org/Configuring/Keywords/ for more
|
# Keybinds
|
||||||
$mainMod = SUPER
|
$mainMod = SUPER
|
||||||
$mainModShift = SUPER_SHIFT
|
$mainModShift = SUPER_SHIFT
|
||||||
|
|
||||||
bind = $mainMod, Return, exec, alacritty
|
bind = $mainMod, Return, exec, alacritty
|
||||||
bind = $mainModShift, Q, exec, $XDG_CONFIG_HOME/hypr/killscript.sh
|
#bind = $mainModShift, Q, exec, $XDG_CONFIG_HOME/hypr/killscript.sh
|
||||||
|
bind = $mainMod, Tab, focuscurrentorlast
|
||||||
|
bind = $mainModShift, Q, killactive
|
||||||
bind = $mainModShift, E, exec, $XDG_CONFIG_HOME/rofi/powermenu.sh
|
bind = $mainModShift, E, exec, $XDG_CONFIG_HOME/rofi/powermenu.sh
|
||||||
bind = $mainModShift, Space, togglefloating
|
bind = $mainModShift, Space, togglefloating
|
||||||
bind = $mainMod, D, exec, rofi -show drun -theme $XDG_CONFIG_HOME/rofi/launcher.rasi
|
bind = $mainMod, D, exec, rofi -show drun -theme $XDG_CONFIG_HOME/rofi/launcher.rasi
|
||||||
bind = $mainMod, M, exec, $XDG_CONFIG_HOME/waybar/mute-toggle.sh
|
bind = $mainMod, M, exec, $XDG_CONFIG_HOME/waybar/mute-toggle.sh
|
||||||
#bind = $mainMod, P, pseudo, # dwindle
|
|
||||||
bind = $mainMod, J, togglesplit, # dwindle
|
bind = $mainMod, J, togglesplit, # dwindle
|
||||||
bind = $mainMod, F, fullscreen
|
bind = $mainMod, F, fullscreen
|
||||||
|
bind =, Print, exec, $XDG_DATA_HOME/scripts/share-screenshot.sh
|
||||||
|
|
||||||
# Audio buttons
|
# Audio buttons
|
||||||
binde =, XF86AudioRaiseVolume, exec, playerctl --player=spotify,%any volume 0.05+
|
binde =, XF86AudioRaiseVolume, exec, playerctl --player=spotify,%any volume 0.05+
|
||||||
@ -169,16 +159,16 @@ bind = $mainMod, 9, workspace, 9
|
|||||||
bind = $mainMod, 0, workspace, 10
|
bind = $mainMod, 0, workspace, 10
|
||||||
|
|
||||||
# Move active window to a workspace with mainMod + SHIFT + [0-9]
|
# Move active window to a workspace with mainMod + SHIFT + [0-9]
|
||||||
bind = $mainMod SHIFT, 1, movetoworkspace, 1
|
bind = $mainMod SHIFT, 1, movetoworkspacesilent, 1
|
||||||
bind = $mainMod SHIFT, 2, movetoworkspace, 2
|
bind = $mainMod SHIFT, 2, movetoworkspacesilent, 2
|
||||||
bind = $mainMod SHIFT, 3, movetoworkspace, 3
|
bind = $mainMod SHIFT, 3, movetoworkspacesilent, 3
|
||||||
bind = $mainMod SHIFT, 4, movetoworkspace, 4
|
bind = $mainMod SHIFT, 4, movetoworkspacesilent, 4
|
||||||
bind = $mainMod SHIFT, 5, movetoworkspace, 5
|
bind = $mainMod SHIFT, 5, movetoworkspacesilent, 5
|
||||||
bind = $mainMod SHIFT, 6, movetoworkspace, 6
|
bind = $mainMod SHIFT, 6, movetoworkspacesilent, 6
|
||||||
bind = $mainMod SHIFT, 7, movetoworkspace, 7
|
bind = $mainMod SHIFT, 7, movetoworkspacesilent, 7
|
||||||
bind = $mainMod SHIFT, 8, movetoworkspace, 8
|
bind = $mainMod SHIFT, 8, movetoworkspacesilent, 8
|
||||||
bind = $mainMod SHIFT, 9, movetoworkspace, 9
|
bind = $mainMod SHIFT, 9, movetoworkspacesilent, 9
|
||||||
bind = $mainMod SHIFT, 0, movetoworkspace, 10
|
bind = $mainMod SHIFT, 0, movetoworkspacesilent, 10
|
||||||
|
|
||||||
# Scroll through existing workspaces with mainMod + scroll
|
# Scroll through existing workspaces with mainMod + scroll
|
||||||
bind = $mainMod, mouse_down, workspace, e+1
|
bind = $mainMod, mouse_down, workspace, e+1
|
||||||
@ -189,5 +179,6 @@ bindm = $mainMod, mouse:272, movewindow
|
|||||||
bindm = $mainMod, mouse:273, resizewindow
|
bindm = $mainMod, mouse:273, resizewindow
|
||||||
|
|
||||||
# Scratchpad
|
# Scratchpad
|
||||||
bind = $mainMod, F1, togglespecialworkspace
|
bind = $mainMod, F1, togglespecialworkspace, term
|
||||||
|
bind = $mainMod, F2, togglespecialworkspace, spotify
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user