mirror of
https://github.com/captn3m0/dotfiles.git
synced 2024-09-28 04:22:53 +00:00
better lock screen
This commit is contained in:
parent
ffef8c0595
commit
7ff6f8374e
@ -621,19 +621,21 @@ function sprint() {
|
||||
}
|
||||
|
||||
# https://github.com/uber/makisu
|
||||
|
||||
#
|
||||
function makisu_build() {
|
||||
makisu_version=${MAKISU_VERSION:-v0.1.8}
|
||||
|
||||
makisu_version=${MAKISU_VERSION:-v0.1.10}
|
||||
cd ${@: -1}
|
||||
docker run -i --rm --net host \
|
||||
-v /var/run/docker.sock:/docker.sock \
|
||||
-e DOCKER_HOST=unix:///docker.sock \
|
||||
-v $(pwd):/makisu-context \
|
||||
-v /tmp/makisu-storage:/makisu-storage \
|
||||
gcr.io/makisu-project/makisu:$makisu_version build \
|
||||
--modifyfs=true --load \
|
||||
${@:1:-1} /makisu-context
|
||||
# popd
|
||||
--commit=explicit \
|
||||
--modifyfs=true \
|
||||
--load \
|
||||
${@:1:${#@}-1} /makisu-context
|
||||
cd -
|
||||
}
|
||||
|
||||
eval "$(starship init bash)"
|
||||
|
@ -1,9 +1,10 @@
|
||||
{
|
||||
"auths": {
|
||||
"https://index.docker.io/v1/": {}
|
||||
"https://index.docker.io/v1/": {},
|
||||
"quay.io": {}
|
||||
},
|
||||
"HttpHeaders": {
|
||||
"User-Agent": "Docker-Client/18.09.7 (linux)"
|
||||
},
|
||||
"credsStore": "pass"
|
||||
}
|
||||
}
|
||||
|
12
files/display/.config/nitrogen/nitrogen.cfg
Normal file
12
files/display/.config/nitrogen/nitrogen.cfg
Normal file
@ -0,0 +1,12 @@
|
||||
[geometry]
|
||||
posx=0
|
||||
posy=0
|
||||
sizex=1920
|
||||
sizey=1179
|
||||
|
||||
[nitrogen]
|
||||
view=icon
|
||||
recurse=true
|
||||
sort=alpha
|
||||
icon_caps=false
|
||||
dirs=/home/nemo/projects/personal/avatars/wallpaper;/home/nemo/Pictures/Wallpapers;
|
@ -82,12 +82,8 @@ bindsym $mod+Shift+q kill
|
||||
bindsym XF86KbdBrightnessUp exec /home/nemo/projects/scripts/backlight up
|
||||
bindsym XF86KbdBrightnessDown exec /home/nemo/projects/scripts/backlight down
|
||||
|
||||
#### Lock screen config #####
|
||||
# Use i3lock as screensaver (works on suspend)
|
||||
exec "xss-lock -- /home/nemo/projects/scripts/i3lock.sh -l dim"
|
||||
|
||||
# Autolock screen after 2 minutes
|
||||
exec xautolock -corners -000 -detectsleep -time 1 -locker "/home/nemo/projects/scripts/i3lock.sh -l dim"
|
||||
exec xautolock -detectsleep -time 1 -locker "/home/nemo/projects/scripts/lock.sh"
|
||||
|
||||
# dunst for notifications
|
||||
exec "dunst"
|
||||
@ -106,6 +102,7 @@ set $screenshot_file '/home/nemo/Desktop/Screenshots/%Y-%m-%d_%H-%M-%S-$wx$h.png
|
||||
bindsym Print exec escrotum --select --selection-delay 100 $screenshot_file && notify-send "done"
|
||||
bindsym Shift+Print exec escrotum --clipboard --select --selection-delay 100 $screenshot_file && notify-send "copied"
|
||||
bindsym Ctrl+Print exec scrot --focused --count --delay 0.5 --quality 80 --silent $screenshot_file && notify-send "done"
|
||||
bindsym Ctrl+$mod+I exec scrot --focused --count --delay 1 --quality 80 --silent $screenshot_file && notify-send "done"
|
||||
bindsym Ctrl+Shift+Print exec scrot --count --delay 0.5 --quality 80 --silent $screenshot_file && notify-send "done"
|
||||
|
||||
bindsym $mod+I exec escrotum --select --selection-delay 300 $screenshot_file && notify-send "done"
|
||||
|
1
files/snippets/.snippy/dm
Normal file
1
files/snippets/.snippy/dm
Normal file
@ -0,0 +1 @@
|
||||
@dependabot merge
|
Loading…
Reference in New Issue
Block a user