add swaylock-effects
This commit is contained in:
parent
8641139d8e
commit
a330adaf1e
|
@ -260,9 +260,31 @@ install_sway() {
|
||||||
--no-install-recommends
|
--no-install-recommends
|
||||||
|
|
||||||
mv /home/${USERNAME}/.bashrc /home/${USERNAME}/.bashrc~
|
mv /home/${USERNAME}/.bashrc /home/${USERNAME}/.bashrc~
|
||||||
ln -s /home/${USERNAME}/
|
ln -s /home/${USERNAME}/dotfiles/.bashrc /home/${USERNAME}/.bashrc
|
||||||
cp ../sway/mako.conf /home/${USERNAME}/.config/mako/conf
|
cp ../sway/mako.conf /home/${USERNAME}/.config/mako/conf
|
||||||
|
|
||||||
|
(
|
||||||
|
git clone https://github.com/Biont/sway-launcher-desktop /home/${USERNAME}/projects/sway-launcher-desktop
|
||||||
|
)
|
||||||
|
|
||||||
|
# build swaylock-effects because its not available on Debian
|
||||||
|
# https://github.com/voidgloom/swaylock-effects
|
||||||
|
(
|
||||||
|
apt update
|
||||||
|
apt install -y \
|
||||||
|
wayland-protocols \
|
||||||
|
libwayland-client++0 \
|
||||||
|
libcairo2-dev \
|
||||||
|
libwayland-client0 \
|
||||||
|
--no-install-recommends
|
||||||
|
|
||||||
|
TARGET=/home/${USERNAME}/projects/swaylock-effects
|
||||||
|
git clone https://github.com/voidgloom/swaylock-effects ${TARGET}
|
||||||
|
cd ${TARGET}
|
||||||
|
meson build && ninja -C build && sudo ninja -C build install
|
||||||
|
sudo chmod a+s /usr/local/bin/swaylock
|
||||||
|
)
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
install_i3() {
|
install_i3() {
|
||||||
|
|
16
sway/config
16
sway/config
|
@ -30,6 +30,21 @@ set $menu exec $term --class=launcher -e /home/fschl/projects/sway-launcher-desk
|
||||||
bindsym $mod+d exec $menu
|
bindsym $mod+d exec $menu
|
||||||
|
|
||||||
# bindsym Ctrl+Shift+l exec i3lock-fancy
|
# bindsym Ctrl+Shift+l exec i3lock-fancy
|
||||||
|
bindsym Ctrl+Shift+l exec swaylock \
|
||||||
|
--screenshots \
|
||||||
|
--clock \
|
||||||
|
--indicator \
|
||||||
|
--indicator-radius 100 \
|
||||||
|
--indicator-thickness 7 \
|
||||||
|
--effect-blur 7x5 \
|
||||||
|
--effect-vignette 0.5:0.5 \
|
||||||
|
--ring-color 859900\
|
||||||
|
--key-hl-color 2aa198\
|
||||||
|
--line-color 00000000 \
|
||||||
|
--inside-color 00000088 \
|
||||||
|
--separator-color 00000000 \
|
||||||
|
--grace 2 \
|
||||||
|
--fade-in 0.2
|
||||||
|
|
||||||
input * {
|
input * {
|
||||||
xkb_layout "de"
|
xkb_layout "de"
|
||||||
|
@ -164,6 +179,7 @@ bindsym $mod+Shift+8 move container to workspace $WS8
|
||||||
bindsym $mod+Shift+9 move container to workspace $WS9
|
bindsym $mod+Shift+9 move container to workspace $WS9
|
||||||
bindsym $mod+Shift+0 move container to workspace 10
|
bindsym $mod+Shift+0 move container to workspace 10
|
||||||
|
|
||||||
|
# https://github.com/francma/wob
|
||||||
set $WOBSOCK $XDG_RUNTIME_DIR/wob.sock
|
set $WOBSOCK $XDG_RUNTIME_DIR/wob.sock
|
||||||
exec mkfifo $WOBSOCK && tail -f $WOBSOCK | wob
|
exec mkfifo $WOBSOCK && tail -f $WOBSOCK | wob
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue