Sync divergent branches

This commit is contained in:
agryphus 2024-02-27 20:09:03 -05:00
parent 0363631454
commit a79c4b287c
5 changed files with 107 additions and 56 deletions

View file

@ -1,10 +1,10 @@
# See https://wiki.hyprland.org/Configuring/Monitors/
monitor=,highrr,auto,auto
monitor=eDP-1, 1920x1080@60Hz, 1280x1480, 1
monitor=DP-5, 1920x1080@60Hz, 1920x400, 1
monitor=DP-7, 2560x1440@60Hz, 3840x0, 1, transform, 3
monitor=DP-6, disable
# Wayland related environment variables.
env = XCURSOR_SIZE,24
env = WLR_NO_HARDWARE_CURSORS,1
@ -39,7 +39,8 @@ general {
gaps_in = 6
gaps_out = 12
border_size = 2
col.active_border = rgba(33ccffee) rgba(00ff99ee) 45deg
# col.active_border = rgba(33ccffee) rgba(00ff99ee) 45deg
col.active_border = rgba(ffffffff) rgba(ffffffff) 45deg
col.inactive_border = rgba(595959aa)
layout = master
@ -48,6 +49,7 @@ general {
allow_tearing = false
}
blurls = waybar
decoration {
# See https://wiki.hyprland.org/Configuring/Variables/ for more
@ -56,10 +58,10 @@ decoration {
blur {
enabled = true
size = 3
passes = 1
passes = 2
}
drop_shadow = yes
drop_shadow = no
shadow_range = 4
shadow_render_power = 3
col.shadow = rgba(1a1a1aee)
@ -102,16 +104,15 @@ gestures {
misc {
# See https://wiki.hyprland.org/Configuring/Variables/ for more
force_default_wallpaper = 0 # Set to 0 to disable the anime mascot wallpapers
enable_swallow = true
swallow_regex = ^(st|foot|footclient)$
# enable_swallow = true
# swallow_regex = ^(st|foot|footclient)$
mouse_move_enables_dpms = true
}
# Window rules
windowrule = tile,title:^(VRChat)$
windowrule = tile,title:^(nsxiv)$
windowrule = rounding 0,title:^(rofi.*)$
# windowrule = opacity 0.99,title:^(Obsidian.*)$
windowrule = bordercolor rgb(FF0000) rgb(880808),title:^(rofi.*)$
$mainMod = SUPER
@ -119,9 +120,8 @@ $mainMod = SUPER
bind = CONTROL ALT, BACKSPACE, exec, foot -e zsh -c 'btop'
bind = $mainMod, RETURN, exec, foot
bind = $mainMod, W, exec, firefox
bind = $mainMod, E, exec, foot -e zsh -c 'local tmp="$(mktemp -t "yazi-cwd.XXXXX")"; yazi "$@" --cwd-file="$tmp"; if cwd="$(cat -- "$tmp")" && [ -n "$cwd" ] && [ "$cwd" != "$PWD" ]; then; cd -- "$cwd"; fi; rm -f -- "$tmp"'
bind = $mainMod, E, exec, foot -e zsh -c 'tmp="$(mktemp -t "yazi-cwd.XXXXX")"; yazi "$@" --cwd-file="$tmp"; 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, C, exec, emacsclient -c -a "emacs" -n --eval '(progn (set-frame-font "FiraCode Nerd Font") (cfw:open-org-calendar))'
bind = $mainMod, C, exec, foot -e zsh -c 'khal interactive'
bind = $mainMod, M, exec, foot -e zsh -c 'neomutt'
@ -129,26 +129,29 @@ bind = $mainMod, M, exec, foot -e zsh -c 'neomutt'
bind = $mainMod, R, exec, fuzzel
# System control keybinds
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%-; notify-send -r 44 "$(wpctl get-volume @DEFAULT_AUDIO_SINK@)"
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%+; notify-send -r 44 "$(wpctl get-volume @DEFAULT_AUDIO_SINK@)"
binde = ,F7, exec, change-brightness up
binde = ,XF86MonBrightnessUp, exec, change-brightness up
binde = ,F6, exec, change-brightness down
binde = ,XF86MonBrightnessDown, exec, change-brightness down
bind = $mainMod, L, exec, hyprctl dispatch dpms off; swaylock -e -c 000000
bind = $mainMod SHIFT, R, exec, pkill ags; ags
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%-; notify-send -r 44 "$(wpctl get-volume @DEFAULT_AUDIO_SINK@)"
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%+; notify-send -r 44 "$(wpctl get-volume @DEFAULT_AUDIO_SINK@)"
binde = ,F7, exec, change-brightness up
binde = ,XF86MonBrightnessUp, exec, change-brightness up
binde = ,F6, exec, change-brightness down
binde = ,XF86MonBrightnessDown,exec, change-brightness down
bind = $mainMod, L, exec, hyprctl dispatch dpms off; swaylock -e -c 000000
bind = $mainMod SHIFT, R, exec, pkill ags; ags # Reload AGS
bind = $mainMod CONTROL SHIFT, R, exec, startw # Reload all graphical daemons
# Print area, screen, and all, respectively
bind = $mainMod, P, exec, grimblast --freeze copysave area /tmp/screenshot; mv /tmp/screenshot ~/$(rofi -dmenu -l 0 -p "Screenshot filename:" < /dev/null).png
bind = $mainMod SHIFT, P, exec, grimblast --freeze copysave output /tmp/screenshot; mv /tmp/screenshot ~/$(rofi -dmenu -l 0 -p "Screenshot filename:" < /dev/null).png
bind = $mainMod CONTROL SHIFT, P, exec, grimblast --freeze copysave screen /tmp/screenshot; mv /tmp/screenshot ~/$(rofi -dmenu -l 0 -p "Screenshot filename:" < /dev/null).png
bind = $mainMod, P, exec, menu-screenshot area
bind = $mainMod SHIFT, P, exec, menu-screenshot output
bind = $mainMod CONTROL SHIFT, P, exec, menu-screenshot screen
# Launch menu scripts with Super-D keychord
bind = $mainMod, D, exec, hyprctl dispatch submap menu-submap; sleep 2; hyprctl dispatch submap reset
submap = menu-submap
bind = ,A, exec, menu-accent
bind = ,A, submap, reset
bind = ,M, exec, menu-man
bind = ,M, submap, reset
bind = ,O, exec, menu-wpio sink
@ -221,16 +224,16 @@ bind = $mainMod SHIFT, 9, exec, hyprdwm moveto 9
bind = $mainMod SHIFT, 9, exec, hyprdwm moveto 10
# Moving windows between monitors
bind = $mainMod SHIFT, COMMA, movewindow, mon:l
bind = $mainMod SHIFT, LEFT, movewindow, mon:l
bind = $mainMod SHIFT, PERIOD, movewindow, mon:r
bind = $mainMod SHIFT, RIGHT, movewindow, mon:r
bind = $mainMod SHIFT, COMMA, movewindow, mon:-1
bind = $mainMod SHIFT, LEFT, movewindow, mon:-1
bind = $mainMod SHIFT, PERIOD, movewindow, mon:+1
bind = $mainMod SHIFT, RIGHT, movewindow, mon:+1
# 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
bind = $mainMod, COMMA, exec, hyprctl dispatch focusmonitor -1
bind = $mainMod, LEFT, exec, hyprctl dispatch focusmonitor -1
bind = $mainMod, PERIOD, exec, hyprctl dispatch focusmonitor +1
bind = $mainMod, RIGHT, exec, hyprctl dispatch focusmonitor +1
# Scroll through existing workspaces with mainMod + scroll
bind = $mainMod, mouse_down, workspace, e+1