summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYigit Sever2019-04-21 11:24:33 +0300
committerYigit Sever2019-04-21 11:24:33 +0300
commit79010ceedac2b95fb49853d018b95e323bf90c2e (patch)
treeb3a9e32aea29c460dabdf8f571459dd6bec922b9
parent875c01c7c58a22259a8b91ab235a98a1cf7343d5 (diff)
downloaddotfiles-79010ceedac2b95fb49853d018b95e323bf90c2e.tar.gz
dotfiles-79010ceedac2b95fb49853d018b95e323bf90c2e.tar.bz2
dotfiles-79010ceedac2b95fb49853d018b95e323bf90c2e.zip
Change home locking
-rw-r--r--.config/i3/config##desktop.Linux.Maus4
-rwxr-xr-xbin/power.sh2
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 &
15exec --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 & 15exec --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
18exec --no-startup-id xidlehook --not-when-fullscreen --not-when-audio --timer normal 300 'betterlockscreen -l dimblur -t "Welcome Back"' '' 18exec --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
20exec--no-startup-id $HOME/.config/polybar/launch.sh 20exec--no-startup-id $HOME/.config/polybar/launch.sh
21 21
@@ -187,7 +187,7 @@ mode "resize" {
187 187
188# session 188# session
189mode " (L)ock (S)ignout (R)eboot (P)oweroff" { 189mode " (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
18if [[ $chosen = "lock" ]]; then 18if [[ $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"
20elif [[ $chosen = "shutdown" ]]; then 20elif [[ $chosen = "shutdown" ]]; then
21 systemctl poweroff 21 systemctl poweroff
22elif [[ $chosen = "restart" ]]; then 22elif [[ $chosen = "restart" ]]; then