mirror of
https://github.com/alrayyes/dotfiles/
synced 2023-11-14 15:56:30 +00:00
Compare commits
6 Commits
6e9214aeb1
...
d3d3f4e150
Author | SHA1 | Date | |
---|---|---|---|
d3d3f4e150 | |||
1501387e40 | |||
d5c848487c | |||
800cfad490 | |||
bf9080e69c | |||
6fe44e6f94 |
@ -24,7 +24,6 @@ xdg-mime default org-protocol.desktop x-scheme-handler/org-protocol
|
||||
- [[https://www.musicpd.org/][mpd]]
|
||||
- [[https://neomutt.org/][neomutt]]
|
||||
- [[https://neovim.io/][neovim]]
|
||||
- [[https://github.com/muennich/physlock][physlock]]
|
||||
- [[http://jonls.dk/redshift/][redshift]]
|
||||
- [[https://github.com/baskerville/sxhkd][sxhkd]]
|
||||
- [[https://github.com/hlissner/doom-emacs][Doom Emacs]]
|
||||
|
@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
# get hostnames from ~/.ssh/known_hosts
|
||||
ssh_host="$(awk -F "[ ,]+" '{print $1}' ~/.ssh/known_hosts | tr -d '[]' | uniq | sort -n | dmenu)"
|
||||
ssh_host="$(awk -F "[ ,]+" '{print $1}' ~/.ssh/known_hosts | tr -d '[]' | uniq | sort -n | dmenu "$@")"
|
||||
# split hostnames into array { hostname, port }
|
||||
mapfile -t params < <(echo "$ssh_host" | awk -F ":" '{print $1} {if ($2) print $2}')
|
||||
|
||||
|
@ -26,9 +26,6 @@ else
|
||||
fi
|
||||
fi
|
||||
|
||||
# lock screen after x minutes and on laptop close lid
|
||||
xautolock -time 10 -locker ~/.local/bin/lock &
|
||||
xss-lock -- ~/.local/bin/lock &
|
||||
xcompmgr &
|
||||
|
||||
if [ -e ~/.cache/wall1.png ] && [ -e ~/.cache/wall2.png ]; then
|
||||
@ -49,9 +46,12 @@ redshift-gtk &
|
||||
nm-applet &
|
||||
syncthing-gtk &
|
||||
gpodder &
|
||||
|
||||
spotify &
|
||||
|
||||
# system lock
|
||||
xss-lock -n ~/.local/bin/lock -- ~/.local/bin/lock &
|
||||
xautolock -time 10 -locker ~/.local/bin/lock &
|
||||
|
||||
if [ -e /usr/bin/firefox ]; then
|
||||
firefox &
|
||||
elif [ -e /usr/bin/iceweasel ]; then
|
||||
|
@ -1,3 +1,3 @@
|
||||
#!/bin/sh
|
||||
|
||||
physlock -d
|
||||
slock
|
||||
|
@ -81,7 +81,7 @@ When moving entries up and down in the buffer use `j` and `k` instead of `↑` a
|
||||
- Show images in buffers as default
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
(setq org-directory "~/Documents/org"
|
||||
org-agenda-files '("~/Documents/org")
|
||||
org-agenda-files '("~/Documents/org" "~/Documents/org/freelance")
|
||||
org-log-done 'note
|
||||
org-startup-with-inline-images t)
|
||||
#+END_SRC
|
||||
|
@ -26,7 +26,7 @@ F1
|
||||
|
||||
# dmenu password selector
|
||||
F2
|
||||
passmenu
|
||||
passmenu -p Password:
|
||||
|
||||
# dmenu authenticator
|
||||
F3
|
||||
@ -34,7 +34,7 @@ F3
|
||||
|
||||
# ssh shell
|
||||
F4
|
||||
ssh-dmenu
|
||||
ssh-dmenu -p SSH:
|
||||
|
||||
# scratchpad shell
|
||||
F5
|
||||
|
Loading…
Reference in New Issue
Block a user