purging a lot of the deps and cleaning up sway config
This commit is contained in:
parent
c7fede1af8
commit
dadec004c4
@ -10,17 +10,12 @@ default_border none
|
||||
gaps inner 10
|
||||
smart_gaps on
|
||||
|
||||
# exec --no-startup-id waybar;
|
||||
bar {
|
||||
swaybar_command waybar;
|
||||
}
|
||||
# setup screens
|
||||
exec_always "killall kanshi; kanshi"
|
||||
# background
|
||||
exec_always wallpaper.sh
|
||||
# waybar
|
||||
# Restarts waybar if running, starts otherwise
|
||||
exec_always pgrep waybar && (killall -SIGUSR2 waybar) || (waybar)
|
||||
|
||||
bar {
|
||||
swaybar_command waybar
|
||||
}
|
||||
|
||||
# loading layout
|
||||
assign [class="st-256color"] 1
|
||||
@ -37,13 +32,16 @@ floating_modifier $mod
|
||||
bindsym $mod+Return exec st
|
||||
|
||||
# setup idling
|
||||
# exec swayidle -w \
|
||||
# timeout 600 'swaylock-blur' \
|
||||
# timeout 900 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"' \
|
||||
# lock 'swaylock-blur'
|
||||
exec swayidle -w \
|
||||
timeout 600 'swaylock -f --screenshots --effect-blur 10x3 --clock' \
|
||||
timeout 900 'swaymsg "output * dpms off"' \
|
||||
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
|
||||
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
|
||||
|
||||
# kill focused window
|
||||
|
@ -1,4 +1,7 @@
|
||||
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 2 output DP-3
|
||||
|
@ -1 +1,3 @@
|
||||
include base
|
||||
|
||||
output LVDS-1 enable scale 1 mode 1366x768
|
||||
|
1
gui/waybar/config
Symbolic link
1
gui/waybar/config
Symbolic link
@ -0,0 +1 @@
|
||||
/home/spinach/.dotfiles/gui/waybar/desktop
|
1
gui/waybar/style.css
Symbolic link
1
gui/waybar/style.css
Symbolic link
@ -0,0 +1 @@
|
||||
/home/spinach/.dotfiles/gui/waybar/desktop-style.css
|
@ -1,4 +1,4 @@
|
||||
- link:
|
||||
~/.config/sway/config: gui/sway/desktop
|
||||
~/.config/sway/base: gui/sway/base
|
||||
~/.config/sway/lock.png: gui/sway/lock.png
|
||||
~/.local/bin/swaylock-blur: bin/swaylock-blur
|
||||
|
@ -1,4 +1,3 @@
|
||||
- link:
|
||||
~/.config/waybar/config: gui/waybar/desktop
|
||||
~/.config/waybar/style.css: gui/waybar/desktop-style.css
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user