From 8c458a9084035d47ee22d8ff825e354d4f2d6bc3 Mon Sep 17 00:00:00 2001 From: Daniel Flanagan Date: Tue, 24 Mar 2020 10:41:52 -0500 Subject: [PATCH] Add swaylock --- apps/de/sway/config | 6 +++-- apps/de/sway/init | 1 + apps/de/sway/lock | 24 +++++++++++++++++++ .../arch-linux/provisioning/2-essentials.bash | 2 ++ setup.bash | 1 + 5 files changed, 32 insertions(+), 2 deletions(-) create mode 100644 apps/de/sway/lock diff --git a/apps/de/sway/config b/apps/de/sway/config index e27aa28..be43534 100644 --- a/apps/de/sway/config +++ b/apps/de/sway/config @@ -13,8 +13,10 @@ set $menu dmenu_path | dmenu | xargs swaymsg exec -- output * bg $HOME/.wallpaper fill # TODO: configured displays? -output eDP-1 res 3200x1800 pos 0 0 scale 2 -# output DP-3 res 3440x1440 pos 1600 0 +# output eDP-1 res 3200x1800 pos 0 0 scale 2 +# output DVI-D-1 res 2560x1440@60Hz +# output DVI-D-1 transform 270 +# output DP-1 res 3440x1440@100Hz ### Input configuration # diff --git a/apps/de/sway/init b/apps/de/sway/init index 54f434c..0a394d3 100755 --- a/apps/de/sway/init +++ b/apps/de/sway/init @@ -13,6 +13,7 @@ has_command gnome-keyring-daemon && eval "$(gnome-keyring-daemon --start --compo # urxvtd & # key repeat +export WAYLAND_DISPLAY=wayland-0 export WLC_REPEAT_DELAY=200 export WLC_REPEAT_RATE=60 diff --git a/apps/de/sway/lock b/apps/de/sway/lock new file mode 100644 index 0000000..2d65222 --- /dev/null +++ b/apps/de/sway/lock @@ -0,0 +1,24 @@ +color=111111ff +image=/home/daniel/.home/.wallpaper +font=iosevka-lyte +font-size=24 + +indicator-idle-visible +indicator-radius=150 +indicator-thickness=30 + +inside-color=11111100 +inside-clear-color=11111100 +inside-ver-color=11111100 +inside-wrong-color=11111100 + +key-hl-color=a1efe4 +separator-color=11111100 + +line-color=111111cc +line-uses-ring + +ring-color=111111cc +ring-clear-color=f4bf75 +ring-ver-color=66d9ef +ring-wrong-color=f92672 diff --git a/bin/lib/arch-linux/provisioning/2-essentials.bash b/bin/lib/arch-linux/provisioning/2-essentials.bash index 0dad3f1..d9c1d8d 100755 --- a/bin/lib/arch-linux/provisioning/2-essentials.bash +++ b/bin/lib/arch-linux/provisioning/2-essentials.bash @@ -38,7 +38,9 @@ pacaur --needed -S \ gtk-engine-murrine xorg-server-devel `# GTK Theme Base and Headers?` \ bspwm-git sxhkd-git xdo-git `# Window Manager and Tools for its use` \ wlroots-git sway-git `# Wayland Compositor` \ + swaylock `# Wayland Compositor` \ waybar mako `# Wayland Bar & Notifications` \ + wl-clipboard `# Wayland Clipboard CLI` \ terminus-font ttf-iosevka-type ttf-iosevka-term `# Primary Fonts` \ ttf-font-awesome `# Icon Font` \ curl `# HTTP Utility` \ diff --git a/setup.bash b/setup.bash index ad515ee..bfad758 100755 --- a/setup.bash +++ b/setup.bash @@ -21,6 +21,7 @@ links=( "$dfp/apps/de/bspwm/rc" "$XDG_CONFIG_HOME/bspwm/bspwmrc" "$dfp/apps/de/bspwm/wallpapers" "$HOME/.fehbg" "$dfp/apps/de/sway/config" "$XDG_CONFIG_HOME/sway/config" + "$dfp/apps/de/sway/lock" "$XDG_CONFIG_HOME/swaylock/config" "$dfp/apps/de/sxhkd/rc" "$XDG_CONFIG_HOME/sxhkd/sxhkdrc" "$dfp/apps/de/x/resources" "$HOME/.Xresources" "$dfp/apps/de/x/init" "$HOME/.xinitrc"