mirror of
https://github.com/tiyn/dotfiles.git
synced 2025-04-19 16:27:45 +02:00
Compare commits
3 Commits
20d7179ce1
...
61c4f7e252
Author | SHA1 | Date | |
---|---|---|---|
61c4f7e252 | |||
b2e73bc5a1 | |||
923f64a486 |
@ -33,7 +33,7 @@ super + shift + l
|
|||||||
setxkbmap -query | grep -q 'nodeadkeys' && $(setxkbmap de ru ; notify-send -u low 'SXHKD' 'Set keymap to russian') || $(setxkbmap de nodeadkeys ; notify-send -u low 'SXHKD' 'Set keymap to german')
|
setxkbmap -query | grep -q 'nodeadkeys' && $(setxkbmap de ru ; notify-send -u low 'SXHKD' 'Set keymap to russian') || $(setxkbmap de nodeadkeys ; notify-send -u low 'SXHKD' 'Set keymap to german')
|
||||||
|
|
||||||
super + shift + r
|
super + shift + r
|
||||||
pkill -usr1 -x sxhkd ; notify-send -u low 'SXHKD' 'Reloaded config'
|
pkill -usr1 -x sxhkd ; notify-send -u low 'SXHKD' 'Reloaded config'
|
||||||
|
|
||||||
super + Return
|
super + Return
|
||||||
$TERMINAL
|
$TERMINAL
|
||||||
@ -52,8 +52,6 @@ super + F7
|
|||||||
dmenumount
|
dmenumount
|
||||||
super + F8
|
super + F8
|
||||||
dmenuumount
|
dmenuumount
|
||||||
super + F9
|
|
||||||
sudo -A systemctl restart NetworkManager
|
|
||||||
super + F10
|
super + F10
|
||||||
prompt "Lock computer?" "slock"
|
prompt "Lock computer?" "slock"
|
||||||
super + F11
|
super + F11
|
||||||
|
BIN
.config/wall.png
BIN
.config/wall.png
Binary file not shown.
Before Width: | Height: | Size: 855 KiB |
@ -1,13 +1,6 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
# In LARBS, ~/.config/wall.png is the location of the system wallpaper. This
|
# Based on a script by lukesmithxyz, checkout github.com/lukesmithxyz/voidrice
|
||||||
# script, if given an argument, moves it there. This script without an
|
|
||||||
# argument sets ~/.config/wall.png as the wallpaper, which is required on login
|
|
||||||
# if you don't want a black screen.
|
|
||||||
#
|
|
||||||
# You may also give a directory name to select a random image from that
|
|
||||||
# directory as a wallpaper. Be careful that the directory only has images.
|
|
||||||
# by lukesmithxyz, checkout github.com/lukesmithxyz/voidrice
|
|
||||||
|
|
||||||
bgloc="${XDG_DATA_HOME:-$HOME/.local/share}/bg"
|
bgloc="${XDG_DATA_HOME:-$HOME/.local/share}/bg"
|
||||||
|
|
||||||
|
13
.local/bin/tools/setlock
Executable file
13
.local/bin/tools/setlock
Executable file
@ -0,0 +1,13 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
# Based on a script by lukesmithxyz, checkout github.com/lukesmithxyz/voidrice
|
||||||
|
|
||||||
|
bgloc="${XDG_DATA_HOME:-$HOME/.local/share}/lock"
|
||||||
|
|
||||||
|
|
||||||
|
trueloc="$(readlink -f "$1")" &&
|
||||||
|
case "$(file --mime-type -b "$trueloc")" in
|
||||||
|
image/* ) ln -f "$(readlink -f "$1")" "$bgloc" && notify-send -i "$bgloc" "Changing lock background..." ;;
|
||||||
|
inode/directory ) ln -f "$(find "$trueloc" -iregex '.*.\(jpg\|jpeg\|png\|gif\)' -type f | shuf -n 1)" "$bgloc" && notify-send -i "$bgloc" "Random lock background chosen." ;;
|
||||||
|
*) notify-send "🖼️ Error" "Not a valid image or directory." ; exit 1;;
|
||||||
|
esac
|
Loading…
x
Reference in New Issue
Block a user