Add swaylock

This commit is contained in:
Daniel Flanagan 2020-03-24 10:41:52 -05:00
parent 28b04c4d41
commit 8c458a9084
Signed by: lytedev
GPG key ID: 5B2020A0F9921EF4
5 changed files with 32 additions and 2 deletions

View file

@ -13,8 +13,10 @@ set $menu dmenu_path | dmenu | xargs swaymsg exec --
output * bg $HOME/.wallpaper fill output * bg $HOME/.wallpaper fill
# TODO: configured displays? # TODO: configured displays?
output eDP-1 res 3200x1800 pos 0 0 scale 2 # output eDP-1 res 3200x1800 pos 0 0 scale 2
# output DP-3 res 3440x1440 pos 1600 0 # output DVI-D-1 res 2560x1440@60Hz
# output DVI-D-1 transform 270
# output DP-1 res 3440x1440@100Hz
### Input configuration ### Input configuration
# #

View file

@ -13,6 +13,7 @@ has_command gnome-keyring-daemon && eval "$(gnome-keyring-daemon --start --compo
# urxvtd & # urxvtd &
# key repeat # key repeat
export WAYLAND_DISPLAY=wayland-0
export WLC_REPEAT_DELAY=200 export WLC_REPEAT_DELAY=200
export WLC_REPEAT_RATE=60 export WLC_REPEAT_RATE=60

24
apps/de/sway/lock Normal file
View file

@ -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

View file

@ -38,7 +38,9 @@ pacaur --needed -S \
gtk-engine-murrine xorg-server-devel `# GTK Theme Base and Headers?` \ gtk-engine-murrine xorg-server-devel `# GTK Theme Base and Headers?` \
bspwm-git sxhkd-git xdo-git `# Window Manager and Tools for its use` \ bspwm-git sxhkd-git xdo-git `# Window Manager and Tools for its use` \
wlroots-git sway-git `# Wayland Compositor` \ wlroots-git sway-git `# Wayland Compositor` \
swaylock `# Wayland Compositor` \
waybar mako `# Wayland Bar & Notifications` \ waybar mako `# Wayland Bar & Notifications` \
wl-clipboard `# Wayland Clipboard CLI` \
terminus-font ttf-iosevka-type ttf-iosevka-term `# Primary Fonts` \ terminus-font ttf-iosevka-type ttf-iosevka-term `# Primary Fonts` \
ttf-font-awesome `# Icon Font` \ ttf-font-awesome `# Icon Font` \
curl `# HTTP Utility` \ curl `# HTTP Utility` \

View file

@ -21,6 +21,7 @@ links=(
"$dfp/apps/de/bspwm/rc" "$XDG_CONFIG_HOME/bspwm/bspwmrc" "$dfp/apps/de/bspwm/rc" "$XDG_CONFIG_HOME/bspwm/bspwmrc"
"$dfp/apps/de/bspwm/wallpapers" "$HOME/.fehbg" "$dfp/apps/de/bspwm/wallpapers" "$HOME/.fehbg"
"$dfp/apps/de/sway/config" "$XDG_CONFIG_HOME/sway/config" "$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/sxhkd/rc" "$XDG_CONFIG_HOME/sxhkd/sxhkdrc"
"$dfp/apps/de/x/resources" "$HOME/.Xresources" "$dfp/apps/de/x/resources" "$HOME/.Xresources"
"$dfp/apps/de/x/init" "$HOME/.xinitrc" "$dfp/apps/de/x/init" "$HOME/.xinitrc"