Recent Hyprland tweaks
This commit is contained in:
parent
b3810ec697
commit
02b4cdcabb
4 changed files with 37 additions and 24 deletions
|
|
@ -58,6 +58,7 @@ xserverauthfile=$XAUTHORITY # Stop the accumulation of ~/.serverauth.### files
|
||||||
# read the *_IM_MODULE and XMODIFIER variables.
|
# read the *_IM_MODULE and XMODIFIER variables.
|
||||||
source ~/.config/zsh/.zshenv
|
source ~/.config/zsh/.zshenv
|
||||||
autorandr -c -d "default"
|
autorandr -c -d "default"
|
||||||
|
export TERMINAL=/usr/local/bin/st
|
||||||
|
|
||||||
# Start important daemons
|
# Start important daemons
|
||||||
kill $(pidof fcitx5) 2>/dev/null
|
kill $(pidof fcitx5) 2>/dev/null
|
||||||
|
|
|
||||||
|
|
@ -9,8 +9,8 @@ monitor=,highrr,auto,auto
|
||||||
|
|
||||||
# Wayland related environment variables.
|
# Wayland related environment variables.
|
||||||
env = XCURSOR_SIZE,24
|
env = XCURSOR_SIZE,24
|
||||||
env = WLR_NO_HARDWARE_CURSORS=1
|
env = WLR_NO_HARDWARE_CURSORS,1
|
||||||
|
env = TERMINAL,footclient
|
||||||
|
|
||||||
# For all categories, see https://wiki.hyprland.org/Configuring/Variables/
|
# For all categories, see https://wiki.hyprland.org/Configuring/Variables/
|
||||||
input {
|
input {
|
||||||
|
|
@ -20,7 +20,10 @@ input {
|
||||||
kb_options =
|
kb_options =
|
||||||
kb_rules =
|
kb_rules =
|
||||||
|
|
||||||
|
# Mouse settings
|
||||||
follow_mouse = 1
|
follow_mouse = 1
|
||||||
|
accel_profile = adaptive # Or else cannot move camera in games
|
||||||
|
sensitivity = 1
|
||||||
|
|
||||||
touchpad {
|
touchpad {
|
||||||
natural_scroll = yes
|
natural_scroll = yes
|
||||||
|
|
@ -106,15 +109,12 @@ misc {
|
||||||
|
|
||||||
# Example per-device config
|
# Example per-device config
|
||||||
# See https://wiki.hyprland.org/Configuring/Keywords/#executing for more
|
# See https://wiki.hyprland.org/Configuring/Keywords/#executing for more
|
||||||
device:epic-mouse-v1 {
|
# device:epic-mouse-v1 {
|
||||||
sensitivity = -0.5
|
# sensitivity = -0.5
|
||||||
}
|
# }
|
||||||
|
|
||||||
# Example windowrule v1
|
# Window rules
|
||||||
# windowrule = float, ^(kitty)$
|
windowrule = tile,title:^(VRChat)$
|
||||||
# Example windowrule v2
|
|
||||||
# windowrulev2 = float,class:^(kitty)$,title:^(kitty)$
|
|
||||||
# See https://wiki.hyprland.org/Configuring/Window-Rules/ for more
|
|
||||||
|
|
||||||
$mainMod = SUPER
|
$mainMod = SUPER
|
||||||
|
|
||||||
|
|
@ -130,16 +130,19 @@ bind = $mainMod, P, exec, rofi-pass
|
||||||
bind = $mainMod, R, exec, menu-run
|
bind = $mainMod, R, exec, menu-run
|
||||||
|
|
||||||
# System control keybinds
|
# System control keybinds
|
||||||
binde = $mainMod, MINUS, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 1%-
|
binde = $mainMod, MINUS, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 1%-; notify-send -r 44 "$(wpctl get-volume @DEFAULT_AUDIO_SINK@)"
|
||||||
binde = $mainMod SHIFT, MINUS, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-
|
binde = $mainMod SHIFT, MINUS, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-; notify-send -r 44 "$(wpctl get-volume @DEFAULT_AUDIO_SINK@)"
|
||||||
binde = $mainMod, EQUAL, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 1%+
|
binde = $mainMod, EQUAL, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 1%+; notify-send -r 44 "$(wpctl get-volume @DEFAULT_AUDIO_SINK@)"
|
||||||
binde = $mainMod SHIFT, EQUAL, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+
|
binde = $mainMod SHIFT, EQUAL, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+; notify-send -r 44 "$(wpctl get-volume @DEFAULT_AUDIO_SINK@)"
|
||||||
binde = ,F7, exec, change-brightness up
|
binde = ,F7, exec, change-brightness up
|
||||||
binde = ,XF86MonBrightnessUp, exec, change-brightness up
|
binde = ,XF86MonBrightnessUp, exec, change-brightness up
|
||||||
binde = ,F6, exec, change-brightness down
|
binde = ,F6, exec, change-brightness down
|
||||||
binde = ,XF86MonBrightnessDown, exec, change-brightness down
|
binde = ,XF86MonBrightnessDown, exec, change-brightness down
|
||||||
bind = $mainMod, L, exec, hyprctl dispatch dpms off; swaylock -e -c 000000
|
bind = $mainMod, L, exec, hyprctl dispatch dpms off; swaylock -e -c 000000
|
||||||
|
|
||||||
|
# Hide waybar
|
||||||
|
bind = $mainMod, B, exec, pkill -SIGUSR1 waybar
|
||||||
|
|
||||||
# Kill commands
|
# Kill commands
|
||||||
bind = $mainMod CONTROL SHIFT, Q, exit,
|
bind = $mainMod CONTROL SHIFT, Q, exit,
|
||||||
bind = $mainMod, Q, killactive,
|
bind = $mainMod, Q, killactive,
|
||||||
|
|
@ -193,11 +196,17 @@ bind = $mainMod SHIFT, 8, exec, hyprdwm moveto 8
|
||||||
bind = $mainMod SHIFT, 9, exec, hyprdwm moveto 9
|
bind = $mainMod SHIFT, 9, exec, hyprdwm moveto 9
|
||||||
bind = $mainMod SHIFT, 9, exec, hyprdwm moveto 10
|
bind = $mainMod SHIFT, 9, exec, hyprdwm moveto 10
|
||||||
|
|
||||||
# Moving between monitors
|
# Moving windows between monitors
|
||||||
bind = $mainMod, COMMA, movewindow, mon:l
|
bind = $mainMod SHIFT, COMMA, movewindow, mon:l
|
||||||
bind = $mainMod, LEFT, movewindow, mon:l
|
bind = $mainMod SHIFT, LEFT, movewindow, mon:l
|
||||||
bind = $mainMod, PERIOD, movewindow, mon:r
|
bind = $mainMod SHIFT, PERIOD, movewindow, mon:r
|
||||||
bind = $mainMod, RIGHT, movewindow, mon:r
|
bind = $mainMod SHIFT, RIGHT, movewindow, mon:r
|
||||||
|
|
||||||
|
# Moving focus between monitors
|
||||||
|
bind = $mainMod, COMMA, exec, hyprctl dispatch focusmonitor l
|
||||||
|
bind = $mainMod, LEFT, exec, hyprctl dispatch focusmonitor l
|
||||||
|
bind = $mainMod, PERIOD, exec, hyprctl dispatch focusmonitor r
|
||||||
|
bind = $mainMod, RIGHT, exec, hyprctl dispatch focusmonitor r
|
||||||
|
|
||||||
# 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
|
||||||
|
|
@ -210,13 +219,15 @@ bindm = $mainMod, mouse:273, resizewindow
|
||||||
exec-once = swww init # Do this early so the daemon has time to load
|
exec-once = swww init # Do this early so the daemon has time to load
|
||||||
|
|
||||||
# Set default workspace per monitor
|
# Set default workspace per monitor
|
||||||
exec-once = hyprctl dispatch focusmonitor 1; hyprctl dispatch exec 'hyprdwm goto 1'
|
exec-once = sleep 1 && hyprctl dispatch focusmonitor 1; hyprctl dispatch exec 'hyprdwm goto 1'
|
||||||
exec-once = hyprctl dispatch focusmonitor 2; hyprctl dispatch exec 'hyprdwm goto 1'
|
exec-once = sleep 1 && hyprctl dispatch focusmonitor 2; hyprctl dispatch exec 'hyprdwm goto 1'
|
||||||
exec-once = hyprctl dispatch focusmonitor 3; hyprctl dispatch exec 'hyprdwm goto 1'
|
exec-once = sleep 1 && hyprctl dispatch focusmonitor 3; hyprctl dispatch exec 'hyprdwm goto 1'
|
||||||
|
|
||||||
exec-once = waybar
|
exec-once = waybar
|
||||||
exec-once = hyprland-autoname-workspaces
|
exec-once = hyprland-autoname-workspaces
|
||||||
exec-once = kanshi
|
# exec-once = kanshi
|
||||||
|
exec-once = ~/.local/bin/hyprmonitors
|
||||||
|
|
||||||
exec-once = fcitx5
|
exec-once = fcitx5
|
||||||
exec-once = foot --server
|
exec-once = foot --server
|
||||||
exec-once = sleep 1 && swww img ~/.config/wallpaper
|
exec-once = sleep 1 && swww img ~/.config/wallpaper
|
||||||
|
|
|
||||||
|
|
@ -38,6 +38,7 @@ workspace = "{id}:{delim}{clients}" # {id}, {delim} and {clients} are supported
|
||||||
"(?i)spotify" = " "
|
"(?i)spotify" = " "
|
||||||
"(?i)chromium" = " "
|
"(?i)chromium" = " "
|
||||||
"(?i)emacs" = " "
|
"(?i)emacs" = " "
|
||||||
|
"(?i)steam" = " "
|
||||||
|
|
||||||
# [class_active]
|
# [class_active]
|
||||||
# DEFAULT = "*{icon}*"
|
# DEFAULT = "*{icon}*"
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@
|
||||||
|
|
||||||
"modules-left": ["hyprland/workspaces", "custom/scratch", "hyprland/mode", "hyprland/window"],
|
"modules-left": ["hyprland/workspaces", "custom/scratch", "hyprland/mode", "hyprland/window"],
|
||||||
"modules-center": [],
|
"modules-center": [],
|
||||||
"modules-right": ["memory", "network", "pulseaudio", "clock", "tray", "battery"],
|
"modules-right": ["memory", "network", "pulseaudio", "battery", "tray", "clock"],
|
||||||
|
|
||||||
"hyprland/workspaces": {
|
"hyprland/workspaces": {
|
||||||
"disable-scroll": true,
|
"disable-scroll": true,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue