Back to sway
This commit is contained in:
parent
b6dcaf7c92
commit
1c6decbe03
|
@ -1,14 +1,19 @@
|
||||||
#!/usr/bin/env sh
|
#!/usr/bin/env sh
|
||||||
# exec "$(dirname "$0")/../sway/init"
|
|
||||||
|
|
||||||
c="$HOME/.config"
|
# sway
|
||||||
ev="$c/hypr/hyprland.conf"
|
|
||||||
ee="$c/lytedev-env"
|
|
||||||
for e in "host-desktop" "host-laptop"; do
|
|
||||||
f="$ee/$e/hyprland.d.conf"
|
|
||||||
[ -f "$f" ] && c="$f"
|
|
||||||
done
|
|
||||||
|
|
||||||
echo "Using config $c"
|
if [ "$1" = 'hyprland' ]; then
|
||||||
|
c="$HOME/.config"
|
||||||
|
ev="$c/hypr/hyprland.conf"
|
||||||
|
ee="$c/lytedev-env"
|
||||||
|
for e in "host-desktop" "host-laptop"; do
|
||||||
|
f="$ee/$e/hyprland.d.conf"
|
||||||
|
[ -f "$f" ] && ev="$f"
|
||||||
|
done
|
||||||
|
|
||||||
exec Hyprland -c "$c"
|
echo "Using config $ev"
|
||||||
|
|
||||||
|
exec Hyprland -c "$ev"
|
||||||
|
else
|
||||||
|
exec "$(dirname "$0")/../sway/init"
|
||||||
|
fi
|
||||||
|
|
|
@ -5,14 +5,13 @@
|
||||||
# + Super+Shift+b should balance the size of all selected nodes.
|
# + Super+Shift+b should balance the size of all selected nodes.
|
||||||
|
|
||||||
set $mod Mod4
|
set $mod Mod4
|
||||||
set $default_gap 0
|
set $default_gap 10
|
||||||
|
|
||||||
xwayland enable
|
xwayland enable
|
||||||
focus_wrapping no
|
focus_wrapping no
|
||||||
gaps inner $default_gap
|
gaps inner $default_gap
|
||||||
smart_borders no_gaps
|
smart_borders on
|
||||||
hide_edge_borders both
|
default_border pixel 3
|
||||||
default_border pixel 2
|
|
||||||
focus_follows_mouse no
|
focus_follows_mouse no
|
||||||
mouse_warping none
|
mouse_warping none
|
||||||
popup_during_fullscreen smart
|
popup_during_fullscreen smart
|
||||||
|
@ -173,7 +172,7 @@ bindsym $mod+shift+alt+f for_window [class=$tilers] floating toggle
|
||||||
include /etc/sway/config.d/*
|
include /etc/sway/config.d/*
|
||||||
include $XDG_CONFIG_HOME/lytedev-env/*/sway/config
|
include $XDG_CONFIG_HOME/lytedev-env/*/sway/config
|
||||||
|
|
||||||
client.focused #6c88a6 #6c88a6 #6c88a6 #6c88a6 #6c88a6
|
client.focused #74c7ec #74c7ec #74c7ec #74c7ec #74c7ec
|
||||||
client.focused_inactive #100814 #100814 #9b9ebf #100814 #100814
|
client.focused_inactive #100814 #100814 #9b9ebf #100814 #100814
|
||||||
client.unfocused #100814 #100814 #9b9ebf #100814 #100814
|
client.unfocused #100814 #100814 #9b9ebf #100814 #100814
|
||||||
|
|
||||||
|
@ -187,8 +186,10 @@ exec mako
|
||||||
# exec gammastep -t 6500:3500 -l 39.0:-94.5
|
# exec gammastep -t 6500:3500 -l 39.0:-94.5
|
||||||
# exec /usr/lib/kdeconnectd
|
# exec /usr/lib/kdeconnectd
|
||||||
|
|
||||||
exec exec kitty --single-instance fish -i
|
exec kitty --single-instance
|
||||||
exec tmux start-server
|
exec /usr/lib/polkit-kde-authentication-agent-1
|
||||||
|
exec eww daemon
|
||||||
|
exec eww open-many bar
|
||||||
|
|
||||||
# exec_always notify-send -a "sway" -i ~/.wallpaper "sway configuration loaded"
|
# exec_always notify-send -a "sway" -i ~/.wallpaper "sway configuration loaded"
|
||||||
|
|
||||||
|
|
Reference in a new issue