small pixel drawing of a pufferfish dotfiles

Disable link setting & idle
j3s j3s@c3f.net
Thu, 16 Jan 2020 09:26:15 -0600
commit

1dab9a9567fbb7d69008c5e5467723cf2b9c5af9

parent

59b6236f79ddb2d3edad0fb3fe45c53400e67ae2

2 files changed, 7 insertions(+), 7 deletions(-)

jump to
M .config/sway/config.config/sway/config

@@ -27,17 +27,17 @@ #

# clamshell mode set $laptop eDP-1 -bindswitch --reload lid:on output $laptop disable ; exec sudo ip link set down wlp2s0 -bindswitch --reload lid:off output $laptop enable ; exec sudo ip link set up wlp2s0 +bindswitch --reload lid:on output $laptop disable +bindswitch --reload lid:off output $laptop enable # You can get the names of your outputs by running: swaymsg -t get_outputs ### Idle configuration -exec swayidle -w \ - timeout 700 'swaylock -f -c 000000' \ - timeout 900 'swaymsg "output * dpms off"' \ - resume 'swaymsg "output * dpms on"' \ - before-sleep 'swaylock -f -c 000000' +# exec swayidle -w \ +# timeout 700 'swaylock -f -c 000000' \ +# timeout 900 'swaymsg "output * dpms off"' \ +# resume 'swaymsg "output * dpms on"' \ +# before-sleep 'swaylock -f -c 000000' # This will lock your screen after 700 seconds of inactivity, then turn off # your displays after another 900 seconds, and turn your screens back on when # resumed. It will also lock your screen before your computer goes to sleep.