purging a lot of the deps and cleaning up sway config

This commit is contained in:
spinach 2024-02-27 12:29:44 -05:00
parent c7fede1af8
commit dadec004c4
8 changed files with 21 additions and 17 deletions

View File

@ -1,6 +1,6 @@
sway sway
swayidle swayidle
swaylock swaylock-effects
swaybg swaybg
waybar waybar
feh feh

View File

@ -10,17 +10,12 @@ default_border none
gaps inner 10 gaps inner 10
smart_gaps on smart_gaps on
# exec --no-startup-id waybar;
bar {
swaybar_command waybar;
}
# setup screens
exec_always "killall kanshi; kanshi"
# background # background
exec_always wallpaper.sh exec_always wallpaper.sh
# waybar
# Restarts waybar if running, starts otherwise bar {
exec_always pgrep waybar && (killall -SIGUSR2 waybar) || (waybar) swaybar_command waybar
}
# loading layout # loading layout
assign [class="st-256color"] 1 assign [class="st-256color"] 1
@ -37,13 +32,16 @@ floating_modifier $mod
bindsym $mod+Return exec st bindsym $mod+Return exec st
# setup idling # setup idling
# exec swayidle -w \ exec swayidle -w \
# timeout 600 'swaylock-blur' \ timeout 600 'swaylock -f --screenshots --effect-blur 10x3 --clock' \
# timeout 900 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"' \ timeout 900 'swaymsg "output * dpms off"' \
# lock 'swaylock-blur' resume 'swaymsg "output * dpms on"' \
timeout 10 'if pgrep -x swaylock; then swaymsg "output * power off"; fi' \
resume 'swaymsg "output * power on"'
# lock 'swaylock -f --screenshots --effect-blur 10x3 --clock'
# lock the screen # lock the screen
bindsym $mod+q exec swaylock-blur bindsym $mod+q exec "swaylock -f --screenshots --effect-blur 10x3 --clock"
# bindsym $mod+q exec sleep 1 && killall -SIGUSR1 swayidle # bindsym $mod+q exec sleep 1 && killall -SIGUSR1 swayidle
# kill focused window # kill focused window

View File

@ -1,4 +1,7 @@
include base include base
output DP-2 enable scale 1 mode 3840x2160 position 2560,0
output DP-3 enable scale 1 mode 2560x1440 position 0,380
workspace 1 output DP-2 workspace 1 output DP-2
workspace 2 output DP-3 workspace 2 output DP-3

View File

@ -1 +1,3 @@
include base include base
output LVDS-1 enable scale 1 mode 1366x768

1
gui/waybar/config Symbolic link
View File

@ -0,0 +1 @@
/home/spinach/.dotfiles/gui/waybar/desktop

1
gui/waybar/style.css Symbolic link
View File

@ -0,0 +1 @@
/home/spinach/.dotfiles/gui/waybar/desktop-style.css

View File

@ -1,4 +1,4 @@
- link: - link:
~/.config/sway/config: gui/sway/desktop ~/.config/sway/config: gui/sway/desktop
~/.config/sway/base: gui/sway/base
~/.config/sway/lock.png: gui/sway/lock.png ~/.config/sway/lock.png: gui/sway/lock.png
~/.local/bin/swaylock-blur: bin/swaylock-blur

View File

@ -1,4 +1,3 @@
- link: - link:
~/.config/waybar/config: gui/waybar/desktop ~/.config/waybar/config: gui/waybar/desktop
~/.config/waybar/style.css: gui/waybar/desktop-style.css ~/.config/waybar/style.css: gui/waybar/desktop-style.css