From 53e38244f45cdf757c89810f15d479ddcd7b9523 Mon Sep 17 00:00:00 2001 From: Daniel Flanagan Date: Mon, 12 Oct 2020 06:26:51 -0500 Subject: [PATCH] Desktop updates --- apps/de/sway/config | 4 +++- apps/kitty/kitty.conf | 2 +- bin/lib/arch-linux/provisioning/2-essentials.bash | 1 + bin/lock-and-sleep | 8 -------- env/desktop/bin/reboot-to-windows | 3 +++ 5 files changed, 8 insertions(+), 10 deletions(-) delete mode 100755 bin/lock-and-sleep create mode 100755 env/desktop/bin/reboot-to-windows diff --git a/apps/de/sway/config b/apps/de/sway/config index 35953d1..9940c7f 100644 --- a/apps/de/sway/config +++ b/apps/de/sway/config @@ -119,7 +119,9 @@ bindsym $mod+Control+Alt+k gaps vertical current plus 5 bindsym $mod+Control+equal gaps inner current set $default_gap bindsym $mod+Control+Shift+l exec swaylock -bindsym $mod+Control+Shift+s exec lock-and-sleep +# TODO: toggle-able swayidle? +# TODO: one-time swayidle? +# bindsym $mod+Control+Shift+s exec lock-and-disable-monitors mode "resize" { bindsym $left resize shrink width 10 px or 10 ppt diff --git a/apps/kitty/kitty.conf b/apps/kitty/kitty.conf index b698d2f..0f39402 100644 --- a/apps/kitty/kitty.conf +++ b/apps/kitty/kitty.conf @@ -1,4 +1,4 @@ -font_family Iosevka Fixed SS07 Medium +font_family iosevka-lyte repaint_delay 5 input_delay 1 diff --git a/bin/lib/arch-linux/provisioning/2-essentials.bash b/bin/lib/arch-linux/provisioning/2-essentials.bash index ed84fb9..d84bf49 100755 --- a/bin/lib/arch-linux/provisioning/2-essentials.bash +++ b/bin/lib/arch-linux/provisioning/2-essentials.bash @@ -14,6 +14,7 @@ pacaur --needed -S \ openssh mosh `# Remote Access` \ openssl `# Crypto` \ erlang elixir `# Elixir Language` \ + asdf-vm `# Runtime Version Manager` \ nodejs npm yarn `# JavaScript Runtime` \ python python-pip `# Python 3 Language` \ pass `# Password Management` \ diff --git a/bin/lock-and-sleep b/bin/lock-and-sleep deleted file mode 100755 index 9716996..0000000 --- a/bin/lock-and-sleep +++ /dev/null @@ -1,8 +0,0 @@ -#!/usr/bin/env bash - -if is_wayland; then - swaylock & -else - dm-tool switch-to-greeter & -fi -sudo systemctl suspend diff --git a/env/desktop/bin/reboot-to-windows b/env/desktop/bin/reboot-to-windows new file mode 100755 index 0000000..b37e5bc --- /dev/null +++ b/env/desktop/bin/reboot-to-windows @@ -0,0 +1,3 @@ +#!/usr/bin/env sh +sudo efibootmgr -n 0001 +sudo reboot