mirror of
https://github.com/tiyn/dotfiles.git
synced 2025-03-27 21:47:46 +01: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 ;}
|
||||
srd() { find ~/ownCloud/* -type f | grep ".pdf" | fzf | xargs -r $READER ;}
|
||||
|
||||
|
||||
# grep
|
||||
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
|
||||
alias calendar="khal"
|
||||
|
||||
|
@ -48,7 +48,9 @@ $2
|
||||
endsnippet
|
||||
|
||||
snippet ,p "Paragraph" A
|
||||
<p>$1</p>
|
||||
<p>
|
||||
$1
|
||||
</p>
|
||||
$2
|
||||
endsnippet
|
||||
|
||||
@ -63,19 +65,17 @@ endsnippet
|
||||
snippet ,ul "Itemization" A
|
||||
<ul>
|
||||
<li>$1</li>
|
||||
$2
|
||||
</ul>
|
||||
endsnippet
|
||||
|
||||
snippet ,li "List Element" A
|
||||
|
||||
<li>$1</li>
|
||||
$2
|
||||
endsnippet
|
||||
|
||||
snippet ,ol "Enumeration" A
|
||||
<ol>
|
||||
<li>$1</li>
|
||||
$2
|
||||
</ol>
|
||||
endsnippet
|
||||
|
||||
|
@ -83,9 +83,6 @@ set softtabstop=4
|
||||
set shiftwidth=4
|
||||
" Splits open at the bottom and right, which is non-retarded, unlike vim defaults.
|
||||
set splitbelow splitright
|
||||
" Set lines and colors
|
||||
set cursorline
|
||||
set cursorcolumn
|
||||
" Disable case sensitive matching
|
||||
set ignorecase
|
||||
" Enable nocompatible mode
|
||||
@ -100,6 +97,9 @@ set termguicolors
|
||||
set encoding=utf-8
|
||||
" Show relative numbers on left side
|
||||
set number relativenumber
|
||||
" Speedup vim with long lines
|
||||
set ttyfast
|
||||
set lazyredraw
|
||||
|
||||
" enable 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
|
||||
owncloud &
|
||||
dwmbar &
|
||||
#sxhkd &
|
||||
sxhkd &
|
||||
|
Loading…
x
Reference in New Issue
Block a user