mirror of
https://github.com/tiyn/dotfiles.git
synced 2025-04-01 17:07:45 +02:00
sxhkd is back
This commit is contained in:
parent
0130de12b4
commit
88939c9042
@ -23,10 +23,12 @@ alias config="/usr/bin/git --git-dir=$HOME/.dotfiles --work-tree=$HOME"
|
|||||||
src() { find ~/.config/* ~/.local/bin/* -type f | fzf | xargs -r $EDITOR ;}
|
src() { find ~/.config/* ~/.local/bin/* -type f | fzf | xargs -r $EDITOR ;}
|
||||||
srd() { find ~/ownCloud/* -type f | grep ".pdf" | fzf | xargs -r $READER ;}
|
srd() { find ~/ownCloud/* -type f | grep ".pdf" | fzf | xargs -r $READER ;}
|
||||||
|
|
||||||
|
|
||||||
# grep
|
# grep
|
||||||
alias grep="grep --color=auto"
|
alias grep="grep --color=auto"
|
||||||
|
|
||||||
|
# haste
|
||||||
|
haste() { a=$(cat); curl -X POST -s -d "$a" https://paste.tiyn.eu/documents | awk -F '"' '{print "https://paste.tiyn.eu/"$4}'; }
|
||||||
|
|
||||||
#khal
|
#khal
|
||||||
alias calendar="khal"
|
alias calendar="khal"
|
||||||
|
|
||||||
|
@ -48,7 +48,9 @@ $2
|
|||||||
endsnippet
|
endsnippet
|
||||||
|
|
||||||
snippet ,p "Paragraph" A
|
snippet ,p "Paragraph" A
|
||||||
<p>$1</p>
|
<p>
|
||||||
|
$1
|
||||||
|
</p>
|
||||||
$2
|
$2
|
||||||
endsnippet
|
endsnippet
|
||||||
|
|
||||||
@ -63,19 +65,17 @@ endsnippet
|
|||||||
snippet ,ul "Itemization" A
|
snippet ,ul "Itemization" A
|
||||||
<ul>
|
<ul>
|
||||||
<li>$1</li>
|
<li>$1</li>
|
||||||
$2
|
|
||||||
</ul>
|
</ul>
|
||||||
endsnippet
|
endsnippet
|
||||||
|
|
||||||
snippet ,li "List Element" A
|
snippet ,li "List Element" A
|
||||||
|
|
||||||
<li>$1</li>
|
<li>$1</li>
|
||||||
$2
|
|
||||||
endsnippet
|
endsnippet
|
||||||
|
|
||||||
snippet ,ol "Enumeration" A
|
snippet ,ol "Enumeration" A
|
||||||
<ol>
|
<ol>
|
||||||
<li>$1</li>
|
<li>$1</li>
|
||||||
$2
|
|
||||||
</ol>
|
</ol>
|
||||||
endsnippet
|
endsnippet
|
||||||
|
|
||||||
|
@ -83,9 +83,6 @@ set softtabstop=4
|
|||||||
set shiftwidth=4
|
set shiftwidth=4
|
||||||
" Splits open at the bottom and right, which is non-retarded, unlike vim defaults.
|
" Splits open at the bottom and right, which is non-retarded, unlike vim defaults.
|
||||||
set splitbelow splitright
|
set splitbelow splitright
|
||||||
" Set lines and colors
|
|
||||||
set cursorline
|
|
||||||
set cursorcolumn
|
|
||||||
" Disable case sensitive matching
|
" Disable case sensitive matching
|
||||||
set ignorecase
|
set ignorecase
|
||||||
" Enable nocompatible mode
|
" Enable nocompatible mode
|
||||||
@ -100,6 +97,9 @@ set termguicolors
|
|||||||
set encoding=utf-8
|
set encoding=utf-8
|
||||||
" Show relative numbers on left side
|
" Show relative numbers on left side
|
||||||
set number relativenumber
|
set number relativenumber
|
||||||
|
" Speedup vim with long lines
|
||||||
|
set ttyfast
|
||||||
|
set lazyredraw
|
||||||
|
|
||||||
" enable persistent undo
|
" enable persistent undo
|
||||||
if has('persistent_undo')
|
if has('persistent_undo')
|
||||||
|
44
.config/sxhkd/sxhkdrc
Normal file
44
.config/sxhkd/sxhkdrc
Normal file
@ -0,0 +1,44 @@
|
|||||||
|
super + Return
|
||||||
|
$TERMINAL
|
||||||
|
super + b
|
||||||
|
$BROWSER
|
||||||
|
super + f
|
||||||
|
$FILE
|
||||||
|
super + i
|
||||||
|
intellij-idea-ultimate-edition
|
||||||
|
super + m
|
||||||
|
thunderbird
|
||||||
|
super + p
|
||||||
|
$TERMINAL -e ncmpcpp
|
||||||
|
super + s
|
||||||
|
startpagesearch
|
||||||
|
super + F5
|
||||||
|
togglemonitor
|
||||||
|
super + F6
|
||||||
|
toggletouchpad
|
||||||
|
super + F7
|
||||||
|
dmenumount
|
||||||
|
super + F8
|
||||||
|
dmenuumount
|
||||||
|
super + F9
|
||||||
|
sudo -A systemmctl restart NetworkManager
|
||||||
|
super + F10
|
||||||
|
prompt "Lock computer?" slock
|
||||||
|
super + F11
|
||||||
|
prompt "Lock computer?" sudo -A shutdown -h now
|
||||||
|
super + F12
|
||||||
|
prompt "Lock computer?" sudo -A reboot now
|
||||||
|
XF86Launch1
|
||||||
|
xset dpms force off
|
||||||
|
XF86AudioMute
|
||||||
|
lmc m && refbar
|
||||||
|
XF86AudioMicMute
|
||||||
|
pactl set-source-mute 1 toggle && refbar
|
||||||
|
XF86AudioLowerVolume
|
||||||
|
lmc down 5 && refbar
|
||||||
|
XF86AudioRaiseVolume
|
||||||
|
lmc up 5 && refbar
|
||||||
|
XF86MonBrightnessDown
|
||||||
|
light -U 15
|
||||||
|
XF86MonBrightnessUp
|
||||||
|
light -A 15
|
@ -9,4 +9,4 @@ mpd & # starts the mpd server for music
|
|||||||
toggletouchpad & # deactivates the touchpad
|
toggletouchpad & # deactivates the touchpad
|
||||||
owncloud &
|
owncloud &
|
||||||
dwmbar &
|
dwmbar &
|
||||||
#sxhkd &
|
sxhkd &
|
||||||
|
Loading…
x
Reference in New Issue
Block a user