From 79010ceedac2b95fb49853d018b95e323bf90c2e Mon Sep 17 00:00:00 2001 From: Yigit Sever Date: Sun, 21 Apr 2019 11:24:33 +0300 Subject: Change home locking --- .config/i3/config##desktop.Linux.Maus | 4 ++-- bin/power.sh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.config/i3/config##desktop.Linux.Maus b/.config/i3/config##desktop.Linux.Maus index 33a0e55..bfc6f02 100644 --- a/.config/i3/config##desktop.Linux.Maus +++ b/.config/i3/config##desktop.Linux.Maus @@ -15,7 +15,7 @@ exec --no-startup-id nm-applet & exec --no-startup-id xrandr --output DVI-D-0 --off --output HDMI-0 --mode 1920x1080 --pos 0x0 --rotate left --output DVI-I-1 --primary --mode 1920x1080 --pos 1132x608 --rotate normal --output DVI-I-0 --off --output DP-1 --off --output DP-0 --off & # lock screen -exec --no-startup-id xidlehook --not-when-fullscreen --not-when-audio --timer normal 300 'betterlockscreen -l dimblur -t "Welcome Back"' '' +exec --no-startup-id xidlehook --not-when-fullscreen --not-when-audio --timer normal 300 'i3lock -i ~/Dropbox/Wallpapers/pots.jpg --clock --time-font="FuraCode Nerd Font" --timesize=144 --datestr="" --timecolor=fefefeee --timestr="%H:%M" --radius=45 --timepos="ix:iy-250"' '' #launch polybar exec--no-startup-id $HOME/.config/polybar/launch.sh @@ -187,7 +187,7 @@ mode "resize" { # session mode " (L)ock (S)ignout (R)eboot (P)oweroff" { - bindsym $mod+l exec betterlockscreen -l dimblur -t "Welcome back" + bindsym $mod+l exec i3lock -i ~/Dropbox/Wallpapers/pots.jpg --clock --time-font="FuraCode Nerd Font" --timesize=144 --datestr="" --timecolor=fefefeee --timestr="%H:%M" --radius=45 --timepos="ix:iy-250" bindsym $mod+r exec systemctl reboot bindsym $mod+p exec systemctl poweroff bindsym $mod+s exit diff --git a/bin/power.sh b/bin/power.sh index 02051f1..fa7afe2 100755 --- a/bin/power.sh +++ b/bin/power.sh @@ -16,7 +16,7 @@ chosen=$(echo -e "lock\nshutdown\nrestart" | rofi -dmenu -i) # https://www.freedesktop.org/software/systemd/man/systemd-sleep.conf.html#Description if [[ $chosen = "lock" ]]; then - betterlockscreen -l dimblur -t "Welcome back" + i3lock -i ~/Dropbox/Wallpapers/pots.jpg --clock --time-font="FuraCode Nerd Font" --timesize=144 --datestr="" --timecolor=fefefeee --timestr="%H:%M" --radius=45 --timepos="ix:iy-250" elif [[ $chosen = "shutdown" ]]; then systemctl poweroff elif [[ $chosen = "restart" ]]; then -- cgit v1.2.3-70-g09d2