diff --git a/regolith3/Xresources b/regolith3/Xresources index 618ec70..10619bb 100644 --- a/regolith3/Xresources +++ b/regolith3/Xresources @@ -1,7 +1,5 @@ -regolith.wallpaper.file: /home/sublet/Pictures/Papiers peints/ed.jpg +regolith.wallpaper.file: ~/Pictures/Papiers peints/ed.jpg regolith.wallpaper.options: zoom -regolith.lockscreen.wallpaper.file: /home/sublet/Pictures/Papiers peints/ed.jpg -regolith.lockscreen.wallpaper.options: zoom gtk.theme_name: Materia-dark-compact gtk.icon_theme_name: Paper @@ -40,6 +38,7 @@ wm.workspace.17.name: 17 wm.workspace.18.name: 18 wm.workspace.19.name: 19 +wm.program.lock: $HOME/.config/regolith3/i3/scripts/i3lock.sh wm.bindsym.1: Shift+semicolon wm.bindsym.program.1: $HOME/.config/rofi.custom/emojis/emoji.sh wm.bindsym.2: Shift+v diff --git a/regolith3/i3/config.d/99_startup-config b/regolith3/i3/config.d/99_startup-config index 11a60c7..3015eeb 100644 --- a/regolith3/i3/config.d/99_startup-config +++ b/regolith3/i3/config.d/99_startup-config @@ -5,6 +5,8 @@ exec_always --no-startup-id $HOME/.config/polybar/launch.sh & exec --no-startup-id greenclip daemon & # dunst exec_always --no-startup-id $HOME/.config/dunst/start.sh & +# lockscreen +exec xss-lock --transfer-sleep-lock -- $HOME/.config/regolith3/i3/scripts/i3lock.sh & # Workspace config workspace "$ws1" output eDP1 DP1-1 diff --git a/regolith3/i3/scripts/i3lock.sh b/regolith3/i3/scripts/i3lock.sh new file mode 100755 index 0000000..30e86a1 --- /dev/null +++ b/regolith3/i3/scripts/i3lock.sh @@ -0,0 +1,6 @@ +i3lock \ + -kn \ + --ring-color 007DFF \ + --time-color FFFFFF \ + --date-color CCCCCC \ + -i "$HOME/Pictures/Papiers peints/ed-blur.png" \ No newline at end of file diff --git a/setup.sh b/setup.sh index 914fb8b..cce95ec 100755 --- a/setup.sh +++ b/setup.sh @@ -52,6 +52,7 @@ echo "📄 rofi configured\n" # regolith mkdir -p "${HOME}/.config/regolith3/i3/conf.d" +ln -s "${BASEDIR}/regolith3/i3/scripts" "${HOME}/.config/regolith3/i3" ln -s "${BASEDIR}/regolith3/i3/conf.d/99_startup-config" "${HOME}/.config/regolith3/i3/conf.d" mkdir -p "${HOME}/.config/regolith3/picom" ln -s "${BASEDIR}/regolith3/picom/config" "${HOME}/.config/regolith3/picom"