sway refactor

This commit is contained in:
thek4n 2025-11-11 23:33:21 +03:00
parent d439428671
commit 9ae72acb0e
5 changed files with 11 additions and 19 deletions

View File

@ -9,5 +9,3 @@ exec swayidle -w \
# Notifications
#systemctl --user enable --now dbus.service
exec --no-startup-id mako
exec --no-startup-id layout_change_handler

View File

@ -0,0 +1,10 @@
# vim: ft=swayconfig
# Sway bar
bar {
position bottom
status_command i3blocks
}
exec --no-startup-id layout_change_handler

View File

@ -15,6 +15,7 @@
include ~/.config/sway/bindings.conf
include ~/.config/sway/autostart.conf
include ~/.config/sway/bar.conf
include ~/.config/sway/other.conf
include ~/.config/sway/config.d/*.conf

View File

@ -24,12 +24,6 @@ for_window [title="Picture-in-Picture"] border pixel 0
no_focus [title="^Peek preview$"]
no_focus [class="feh"]
bar {
position bottom
status_command i3blocks
}
output * bg "$(find ~/.wallpaper -type f | shuf -n 1)" fill
exec_always test -f ~/.Xresources && xrdb -merge ~/.Xresources

View File

@ -1,11 +0,0 @@
#!/bin/bash
echo "here" > /tmp/test
current=$(setxkbmap -query | grep layout | awk '{print $2}')
if [ "${current}" = "us" ]; then
setxkbmap -model pc105 -option ctrl:nocaps ru
else
setxkbmap -model pc105 -option ctrl:nocaps us
fi