Lots of work including moving to dwm

Jonathan Hodgson 6 years ago
parent 982aa92e80
commit 75afff12e9
  1. 3
      .gitmodules
  2. 0
      bin/folder-shell
  3. 19
      bin/screenshot
  4. 1
      dwm
  5. 2
      git/gitconfig
  6. 86
      i3/i3blocks-secondary.conf
  7. 2
      i3/i3blocks.conf
  8. 12
      x/xinitrc

3
.gitmodules vendored

@ -13,3 +13,6 @@
[submodule "shells/zsh/oh-my-zsh/plugins/zsh-better-npm-completion"] [submodule "shells/zsh/oh-my-zsh/plugins/zsh-better-npm-completion"]
path = shells/zsh/oh-my-zsh/plugins/zsh-better-npm-completion path = shells/zsh/oh-my-zsh/plugins/zsh-better-npm-completion
url = https://github.com/lukechilds/zsh-better-npm-completion url = https://github.com/lukechilds/zsh-better-npm-completion
[submodule "dwm"]
path = dwm
url = git@github.com:Jab2870/dwm.git

@ -0,0 +1,19 @@
#!/bin/bash
# A simple wrapper around scrot
#
# When run, the screenshot will be added to she clipboard
case $1 in
"window")
file=$(scrot -u '/tmp/%F_%T_$wx$h.png' -e 'echo /tmp/%F_%T_$wx$h.png')
;;
"select")
file=$(sleep 0.2; scrot -s '/tmp/%F_%T_$wx$h.png' -e 'echo /tmp/%F_%T_$wx$h.png')
;;
*)
file=$(scrot '/tmp/%F_%T_$wx$h.png' -e 'echo /tmp/%F_%T_$wx$h.png')
;;
esac
xclip -selection clipboard -target image/png -i "$file"

1
dwm

@ -0,0 +1 @@
Subproject commit bdc4d25b7af384533e17fb47c2acceb7126dfd34

@ -1,5 +1,5 @@
[user] [user]
email = jonathan@lunarweb.co.uk email = git@jonathanh.co.uk
name = Jonathan Hodgson name = Jonathan Hodgson
[core] [core]
editor = vim -c 'startinsert' editor = vim -c 'startinsert'

@ -60,49 +60,49 @@ interval=300
command=~/.dotfiles/i3/blocks/homeServerUpdates command=~/.dotfiles/i3/blocks/homeServerUpdates
label=Home Server Updates label=Home Server Updates
[vps01status] # [vps01status]
command=~/.dotfiles/i3/blocks/serverStatus VPS01 # command=~/.dotfiles/i3/blocks/serverStatus VPS01
interval=10 # interval=10
separator=false # separator=false
#
[vps02status] # [vps02status]
command=~/.dotfiles/i3/blocks/serverStatus VPS02 # command=~/.dotfiles/i3/blocks/serverStatus VPS02
interval=10 # interval=10
separator=false # separator=false
#
[vps03status] # [vps03status]
command=~/.dotfiles/i3/blocks/serverStatus VPS03 # command=~/.dotfiles/i3/blocks/serverStatus VPS03
interval=10 # interval=10
separator=false # separator=false
#
[vps04status] # [vps04status]
command=~/.dotfiles/i3/blocks/serverStatus VPS04 # command=~/.dotfiles/i3/blocks/serverStatus VPS04
interval=10 # interval=10
separator=false # separator=false
#
[freightlinerstatus] # [freightlinerstatus]
command=~/.dotfiles/i3/blocks/serverStatus Freightliner # command=~/.dotfiles/i3/blocks/serverStatus Freightliner
interval=10 # interval=10
separator=false # separator=false
#
[wilks] # [wilks]
command=~/.dotfiles/i3/blocks/serverStatus Wilks # command=~/.dotfiles/i3/blocks/serverStatus Wilks
interval=10 # interval=10
separator=false # separator=false
#
[nhsstatus] # [nhsstatus]
command=~/.dotfiles/i3/blocks/serverStatus NHS # command=~/.dotfiles/i3/blocks/serverStatus NHS
interval=10 # interval=10
separator=false # separator=false
#
[vapourtecstatus] # [vapourtecstatus]
command=~/.dotfiles/i3/blocks/serverStatus Vapourtec # command=~/.dotfiles/i3/blocks/serverStatus Vapourtec
interval=10 # interval=10
separator=false # separator=false
#
[checkitstatus] # [checkitstatus]
command=~/.dotfiles/i3/blocks/serverStatus Checkit # command=~/.dotfiles/i3/blocks/serverStatus Checkit
interval=10 # interval=10
[wanip] [wanip]
label=🌍 label=🌍

@ -74,7 +74,7 @@ markup=pango
# Supported players are: spotify, vlc, audacious, xmms2, mplayer, and others. # Supported players are: spotify, vlc, audacious, xmms2, mplayer, and others.
[mpvmediaplayer] [mpvmediaplayer]
command=~/.dotfiles/i3/blocks/mpvmediaplayer command=~/.dotfiles/i3/blocks/mpvmediaplayer
SOCKET=/tmp/mpvsocket #SOCKET=/tmp/mpvsocket
interval=2 interval=2
#markup=pango #markup=pango

@ -1,12 +1,20 @@
[[ -f ~/.Xmodmap ]] && xmodmap ~/.Xmodmap # Make keyboard layout coleemak but pushing both shifts will toggle to qwerty
setxkbmap -layout gb,gb -variant "colemak," -option grp:shifts_toggle
# Make key firing much faster
xset r rate 200 70 xset r rate 200 70
# Need this for making qt applications use gtk theme ( I think )
export QT_QPA_PLATFORMTHEME=qt5ct export QT_QPA_PLATFORMTHEME=qt5ct
# Use gnome keyring
killall gnome-keyring-d 2> /dev/null
export `gnome-keyring-daemon -d` export `gnome-keyring-daemon -d`
eval $(/usr/bin/gnome-keyring-daemon --start --components=gpg,pkcs11,secrets,ssh) eval $(/usr/bin/gnome-keyring-daemon --start --components=gpg,pkcs11,secrets,ssh)
export $(gnome-keyring-daemon --start --components=pkcs11,secrets,ssh,gpg) export $(gnome-keyring-daemon --start --components=pkcs11,secrets,ssh,gpg)
dbus-update-activation-environment --systemd DISPLAY dbus-update-activation-environment --systemd DISPLAY
#exec xrdb .Xresources #exec xrdb .Xresources
#xbindkeys #xbindkeys
exec i3 -V >> ~/i3log-$(date + '%F-%k-%M-%S') 2>&1 #exec i3 -V >> ~/i3log-$(date + '%F-%k-%M-%S') 2>&1
while :; do
dwm
done;
#exec sh /home/jonathan/.conky/conky-startup.sh #exec sh /home/jonathan/.conky/conky-startup.sh
#xcape #xcape

Loading…
Cancel
Save