diff options
author | Yigit Sever | 2019-04-21 11:24:33 +0300 |
---|---|---|
committer | Yigit Sever | 2019-04-21 11:24:33 +0300 |
commit | 79010ceedac2b95fb49853d018b95e323bf90c2e (patch) | |
tree | b3a9e32aea29c460dabdf8f571459dd6bec922b9 | |
parent | 875c01c7c58a22259a8b91ab235a98a1cf7343d5 (diff) | |
download | dotfiles-79010ceedac2b95fb49853d018b95e323bf90c2e.tar.gz dotfiles-79010ceedac2b95fb49853d018b95e323bf90c2e.tar.bz2 dotfiles-79010ceedac2b95fb49853d018b95e323bf90c2e.zip |
Change home locking
-rw-r--r-- | .config/i3/config##desktop.Linux.Maus | 4 | ||||
-rwxr-xr-x | 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 & | |||
15 | 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 & | 15 | 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 & |
16 | 16 | ||
17 | # lock screen | 17 | # lock screen |
18 | exec --no-startup-id xidlehook --not-when-fullscreen --not-when-audio --timer normal 300 'betterlockscreen -l dimblur -t "Welcome Back"' '' | 18 | 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"' '' |
19 | #launch polybar | 19 | #launch polybar |
20 | exec--no-startup-id $HOME/.config/polybar/launch.sh | 20 | exec--no-startup-id $HOME/.config/polybar/launch.sh |
21 | 21 | ||
@@ -187,7 +187,7 @@ mode "resize" { | |||
187 | 187 | ||
188 | # session | 188 | # session |
189 | mode " (L)ock (S)ignout (R)eboot (P)oweroff" { | 189 | mode " (L)ock (S)ignout (R)eboot (P)oweroff" { |
190 | bindsym $mod+l exec betterlockscreen -l dimblur -t "Welcome back" | 190 | 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" |
191 | bindsym $mod+r exec systemctl reboot | 191 | bindsym $mod+r exec systemctl reboot |
192 | bindsym $mod+p exec systemctl poweroff | 192 | bindsym $mod+p exec systemctl poweroff |
193 | bindsym $mod+s exit | 193 | 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) | |||
16 | # https://www.freedesktop.org/software/systemd/man/systemd-sleep.conf.html#Description | 16 | # https://www.freedesktop.org/software/systemd/man/systemd-sleep.conf.html#Description |
17 | 17 | ||
18 | if [[ $chosen = "lock" ]]; then | 18 | if [[ $chosen = "lock" ]]; then |
19 | betterlockscreen -l dimblur -t "Welcome back" | 19 | 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" |
20 | elif [[ $chosen = "shutdown" ]]; then | 20 | elif [[ $chosen = "shutdown" ]]; then |
21 | systemctl poweroff | 21 | systemctl poweroff |
22 | elif [[ $chosen = "restart" ]]; then | 22 | elif [[ $chosen = "restart" ]]; then |