sway tweaks

This commit is contained in:
eneller
2025-06-25 00:41:37 +02:00
parent d182bb1c58
commit 1173f804b5
7 changed files with 159 additions and 29 deletions

View File

@@ -15,9 +15,6 @@ exec /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
# Desktop notifications
exec mako -c ~/.config/sway/mako/config
# Autotiling
exec autotiling
# Wlsunset - night colors - install this application
# exec ~/.config/sway/scripts/light.sh
@@ -26,6 +23,7 @@ exec dex -a -s /etc/xdg/autostart/:~/.config/autostart/
# nm-applet
exec nm-applet --indicator
exec blueman-tray
# Clipman wl-paste
# exec clipman restore
@@ -41,4 +39,4 @@ exec gnome-keyring-daemon --daemonize --start --components=gpg,pkcs11,secrets,ss
# exec /usr/libexec/xdg-desktop-portal
# nwg-drawer
exec_always nwg-drawer -r
exec_always nwg-drawer -r

View File

@@ -78,29 +78,11 @@ bindsym $mod+Ctrl+c exec killall conky
bindsym Ctrl+Alt+Next exec conky-rotate -n
bindsym Ctrl+Alt+Prior exec conky-rotate -p
# Variety
# trash wallpaper
bindsym Alt+t exec variety -t
# next wallpaper
bindsym Alt+n exec variety -n
bindsym Shift+Alt+n exec variety -n && wal -i $(cat $HOME/.config/variety/wallpaper/wallpaper.jpg.txt)
bindsym Alt+Right exec variety -n
# previous wallpaper
bindsym Alt+p exec variety -p
bindsym Alt+Left exec variety -p
# favorite wallpaper
bindsym Alt+f exec variety -f
# pause wallpaper
bindsym Alt+Up exec variety --pause
# resume wallpaper
bindsym Alt+Down exec variety --resume
# task manager
#bindsym $mod+Escape exec ~/.config/sway/scripts/wkill.sh
# CONTROL + ALT
bindsym Ctrl+Alt+b exec thunar
bindsym $mod+e exec thunar
bindsym Ctrl+Alt+f exec firefox
bindsym Ctrl+Alt+g exec chromium
bindsym Ctrl+Alt+p exec pamac-manager

View File

@@ -14,18 +14,14 @@ input type:touchpad {
#
# Change or switch the next setting
input type:keyboard {
xkb_layout "de"
xkb_layout eu
xkb_numlock enabled
repeat_delay 200
repeat_rate 35
}
exec_always {
'swaymsg input type:keyboard xkb_layout "$(localectl status | grep "X11 Layout" | sed -e "s/^.*X11 Layout://")"'
'swaymsg input type:keyboard xkb_variant "$(localectl status | grep "X11 Variant" | sed -e "s/^.*X11 Variant://")"'
}
input "5824:10203:MoErgo_Glove80_Left_Keyboard" {
xkb_layout "eu"
xkb_layout eu
}

View File

@@ -1,4 +1,6 @@
### Output configuration
output DP_2 resolution 2560x1440 pos 0 0
output DP_3 resolution 2560x1440 pos 2560 0
#
# Example configuration:
#

View File

@@ -0,0 +1,19 @@
# vim: filetype=i3config
# Scratchpad binds
exec_always bitwarden-desktop
for_window [instance="bitwarden"] move scratchpad
for_window [instance="bitwarden"] sticky enable
for_window [instance="bitwarden"] resize set height 1200 900
bindsym $mod+p [instance="bitwarden"] scratchpad show;
exec_always alacritty --class="dropdown_tmux" -e 'tmux'
for_window [app_id="dropdown_tmux"] move scratchpad
for_window [app_id="dropdown_tmux"] floating enable
for_window [app_id="dropdown_tmux"] sticky enable
for_window [app_id="dropdown_tmux"] resize set height 900 width 1200
bindsym $mod+Space [app_id="dropdown_tmux"] scratchpad show
# General dropdown window traits. The order can matter.
# sticky allows windows to stay visible even when switching workspaces
#for_window [instance="dropdown_tmux"] border pixel 3