diff options
-rw-r--r-- | config | 8 | ||||
-rw-r--r-- | scripts/i3lock.sh | 2 |
2 files changed, 5 insertions, 5 deletions
@@ -207,7 +207,7 @@ exec --no-startup-id nm-applet bindsym Print exec scrot -e 'mv $f ~/Descargas/' # Fondo de pantalla -exec_always --no-startup-id "feh --bg-scale /home/$USER/.config/i3/images/background.png" +exec_always --no-startup-id "feh --bg-scale $HOME/.config/i3/images/background.png" # Transparencia exec --no-startup-id compton -cCGb @@ -247,7 +247,7 @@ mode "$mode_mount" { bindsym $mod+m mode "$mode_mount" # i3lock -bindsym Pause exec "sh /home/$USER/.config/i3/scripts/i3lock.sh" +bindsym Pause exec "sh $HOME/.config/i3/scripts/i3lock.sh" ## Manual management of external displays # Set the shortcuts and what they do @@ -330,8 +330,8 @@ client.urgent #D33682 #D33682 #FDF6E3 #DC322F bar { position top - status_command i3blocks -c /home/$USER/.config/i3/i3blocks.conf # Mostrar status de monitoreo - # status_command 2>/tmp/i3blocks.err i3blocks -vvv -c /home/$USER/.config/i3/i3blocks.conf | tee /tmp/i3blocks.out # Debug + status_command i3blocks -c $HOME/.config/i3/i3blocks.conf # Mostrar status de monitoreo + # status_command 2>/tmp/i3blocks.err i3blocks -vvv -c $HOME/.config/i3/i3blocks.conf | tee /tmp/i3blocks.out # Debug font pango:Hack 8 colors { diff --git a/scripts/i3lock.sh b/scripts/i3lock.sh index 1db4209..8fc3d8e 100644 --- a/scripts/i3lock.sh +++ b/scripts/i3lock.sh @@ -7,6 +7,6 @@ trap revert HUP INT TERM xset +dpms dpms 0 0 5 scrot -d 1 /tmp/locking_screen.png convert -blur 0x8 /tmp/locking_screen.png /tmp/screen_blur.png -convert -composite /tmp/screen_blur.png ~/.config/i3/images/imagelock.png -gravity South -geometry -20x1200 /tmp/screen.png +convert -composite /tmp/screen_blur.png "$HOME/.config/i3/images/imagelock.png" -gravity South -geometry -20x1200 /tmp/screen.png i3lock -i /tmp/screen.png revert "$@" |