From 50cbc6e11bc96fe27e3bb1aff08047ee82b66ee7 Mon Sep 17 00:00:00 2001 From: j3s Date: Wed, 16 Sep 2020 16:33:02 -0500 Subject: [PATCH] * --- .config/sway/config | 13 +++++++++---- bin/vpm | 3 +++ 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/.config/sway/config b/.config/sway/config index 4f942dc..4383330 100644 --- a/.config/sway/config +++ b/.config/sway/config @@ -36,10 +36,10 @@ output DP-1 disable # # Example configuration: # -# exec swayidle -w \ -# timeout 300 'swaylock -f -c 000000' \ -# timeout 600 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"' \ -# before-sleep 'swaylock -f -c 000000' +#exec swayidle -w \ +# timeout 300 'swaylock -f -c 000000' \ +# timeout 600 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"' \ +# before-sleep 'swaylock -f -c 000000' # # This will lock your screen after 300 seconds of inactivity, then turn off # your displays after another 300 seconds, and turn your screens back on when @@ -165,6 +165,11 @@ input "type:keyboard" { # Move focus to the parent container # bindsym $mod+a focus parent + + # Float config + # use swaymsg -t get_tree to find class or app_id + for_window [class="Steam"] floating enable + for_window [class="Mumble"] floating enable # # Scratchpad: # diff --git a/bin/vpm b/bin/vpm index f6dcfcd..f5b3dae 100755 --- a/bin/vpm +++ b/bin/vpm @@ -4,6 +4,9 @@ case $1 in install) xbps-install -S "$2" ;; + reinstall) + xbps-install -f "$2" + ;; remove) xbps-remove -R "$2" ;; -- 2.51.2