chore(sway): update configs

This commit is contained in:
Lucas Barbieri 2024-07-30 16:36:33 -03:00
parent b684d92dfc
commit fd4dad8ffe
5 changed files with 11 additions and 4 deletions

View File

@ -44,6 +44,7 @@ alias neofetch="fastfetch"
alias kvm="sh ~/scripts/kvm.sh" alias kvm="sh ~/scripts/kvm.sh"
alias windows="sudo grub-set-default 0; sudo grub-reboot 'Microsoft Windows UEFI/GPT'; systemctl reboot" alias windows="sudo grub-set-default 0; sudo grub-reboot 'Microsoft Windows UEFI/GPT'; systemctl reboot"
alias ff="fastfetch" alias ff="fastfetch"
alias feh="imv"
export BAT_THEME="Solarized (light)" export BAT_THEME="Solarized (light)"
export FPATH="/hdd/docs/eza/completions/zsh:$FPATH" export FPATH="/hdd/docs/eza/completions/zsh:$FPATH"
@ -55,5 +56,6 @@ eval `dircolors /yang/docs/dircolors.256dark`
[ -f "/yang/.ghcup/env" ] && source "/yang/.ghcup/env" # ghcup-env [ -f "/yang/.ghcup/env" ] && source "/yang/.ghcup/env" # ghcup-env
if [ -z "${WAYLAND_DISPLAY}" ] && [ "${XDG_VTNR}" -eq 1 ]; then if [ -z "${WAYLAND_DISPLAY}" ] && [ "${XDG_VTNR}" -eq 1 ]; then
export XDG_CURRENT_DESKTOP="sway"
dbus-run-session sway dbus-run-session sway
fi fi

View File

@ -84,7 +84,7 @@ bindsym $mod+e exec pcmanfm
bindsym Print exec ~/.local/bin/way-print.sh p bindsym Print exec ~/.local/bin/way-print.sh p
bindsym Shift+Print exec ~/.local/bin/way-print.sh s bindsym Shift+Print exec ~/.local/bin/way-print.sh s
bindsym Control+Shift+Print exec ~/.local/bin/way-print.sh t bindsym Control+Shift+Print exec ~/.local/bin/way-print.sh t
bindsym Control+Print exec ~/.local/bin/way-print.sh m bindsym Control+Print exec ~/.local/bin/print-window.sh
# audio # audio
bindsym XF86AudioRaiseVolume exec wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+ bindsym XF86AudioRaiseVolume exec wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+

View File

@ -1,6 +1,6 @@
output { output {
HDMI-A-1 pos 0 0 HDMI-A-1 pos 0 0 mode --custom 2560x1080@75Hz
DP-3 pos 0 -1080 DP-3 disable pos 0 -1080
DP-2 pos 2560 0 DP-2 pos 2560 0
} }

View File

@ -15,6 +15,9 @@ exec {
dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP=sway dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP=sway
rm -rf ~/tmp/* rm -rf ~/tmp/*
~/scripts/swww.sh ~/scripts/swww.sh
otd-daemon
~/scripts/weechat.sh
dunst &
} }
# vim: ts=2 sts=2 sw=2 ft=swayconfig # vim: ts=2 sts=2 sw=2 ft=swayconfig

View File

@ -19,7 +19,9 @@ for_window [class="XIVLauncher.Core"] move to workspace 9, floating enable
for_window [class=".*csgo.*"] move to workspace 9, floating enable for_window [class=".*csgo.*"] move to workspace 9, floating enable
assign [class="gamescope"] 9 assign [class="gamescope"] 9
for_window [class="gamescope"] floating enable for_window [class="gamescope"] floating enable
for_window [class="cs2"] move to workspace 9, fullscreen enable
for_window [class=".*steam_.*"] move to workspace 9, floating enable for_window [class=".*steam_.*"] move to workspace 9, floating enable
for_window [class="Melvor Idle"] move to workspace 10
# firefox tweaks # firefox tweaks
for_window [title = "Firefox - Sharing Indicator"] kill for_window [title = "Firefox - Sharing Indicator"] kill