~earboxer/dotfiles

dfa7806d3f5ceca0a13b079f179f1274c583a3de — Zach DeCook a month ago 1c4ebc9 master
hyprland: update config
1 files changed, 21 insertions(+), 9 deletions(-)

M .config/hypr/hyprland.conf
M .config/hypr/hyprland.conf => .config/hypr/hyprland.conf +21 -9
@@ 11,13 11,20 @@ monitor=,preferred,auto,auto

# Some default env vars.
env = XCURSOR_SIZE,24
exec-once = mkdir -p /dev/shm/zach
exec-once = chmod 700 /dev/shm/zach
env = XDG_RUNTIME_DIR,/dev/shm/zach
env = HYPRCURSOR_THEME,rose-pine-hyprcursor

# Execute your favorite apps at launch
# exec-once = waybar & hyprpaper & firefox
exec-once = swaybg -i ~/Pictures/background.jpg
exec-once = waybar
exec-once = mako
exec-once = syncthing serve --no-browser
exec-once = /usr/libexec/pipewire-launcher
# start nextcloud after waybar
exec-once = sleep .5 && nextcloud

# Source a file (multi-file configs)
# source = ~/.config/hypr/myColors.conf


@@ 27,8 34,8 @@ $terminal = alacritty
$fileManager = nautilus -w
$menu = zmenu

# Screensaver and lock screen
$lock = swaylock -f --color 1e1e2eFF
# Screensaver and lock screen (swaylock-effects)
$lock = swaylock -f --screenshots --effect-blur 10x10 --effect-vignette .5:1
exec-once = swayidle -w timeout 3000 '$lock' timeout 3600 'hyprctl dispatch dpms off' resume 'hyprctl dispatch dpms on' before-sleep '$lock'

# For all categories, see https://wiki.hyprland.org/Configuring/Variables/


@@ 63,6 70,7 @@ general {

    # Please see https://wiki.hyprland.org/Configuring/Tearing/ before you turn this on
    allow_tearing = false
    resize_on_border = true
}

decoration {


@@ 76,7 84,7 @@ decoration {
        passes = 1
    }

    drop_shadow = yes
    drop_shadow = no
    shadow_range = 4
    shadow_render_power = 3
    col.shadow = rgba(1a1a1aee)


@@ 120,20 128,18 @@ misc {
    # See https://wiki.hyprland.org/Configuring/Variables/ for more
    force_default_wallpaper = 0 # Set to 0 to disable the anime mascot wallpapers
    background_color = 0x113355
    # https://wiki.hyprland.org/hyprland-wiki/pages/FAQ/#how-do-i-make-hyprland-draw-as-little-power-as-possible-on-my-laptop
    vfr = true
}

# Example per-device config
# See https://wiki.hyprland.org/Configuring/Keywords/#executing for more
device:epic-mouse-v1 {
    sensitivity = -0.5
}

# 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
windowrulev2 = nomaximizerequest, class:.* # You'll probably like this.


# See https://wiki.hyprland.org/Configuring/Keywords/ for more


@@ 213,11 219,17 @@ bindm = $mainMod, mouse:273, resizewindow

binde=, XF86AudioRaiseVolume, exec, wpctl set-volume -l 1.5 @DEFAULT_AUDIO_SINK@ 5%+
binde=, XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-

binde=SHIFT, XF86AudioRaiseVolume, exec, wpctl set-volume -l 1.5 @DEFAULT_AUDIO_SINK@ 5%+ && mpv /usr/share/sounds/freedesktop/stereo/audio-volume-change.oga
binde=SHIFT, XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%- && mpv /usr/share/sounds/freedesktop/stereo/audio-volume-change.oga

binde =, XF86MonBrightnessDown, exec, brightnessctl -m set 1%-
binde =, XF86MonBrightnessUp, exec, brightnessctl -m set +5%
bindel =, XF86MonBrightnessDown, exec, brightnessctl -m set 1%-
bindel =, XF86MonBrightnessUp, exec, brightnessctl -m set +5%
 
# Screenlock
bind = $mainMod, L, exec, $lock

bind = $mainMod,p,       exec, grimshot save active
bind = $mainMod SHIFT,p, exec, grimshot save area
bind = $mainMod ALT,p,  exec, grimshot save output
bind = $mainMod CTRL,p,  exec, grimshot save window