Small changes

This commit is contained in:
Jonathan Hodgson 2019-05-17 12:46:57 +01:00
parent b346ad34b4
commit c2682a0c22
4 changed files with 57 additions and 46 deletions

11
bin/convertbits Executable file
View file

@ -0,0 +1,11 @@
#!/usr/bin/env node
import convertBytesToHumanReadable from 'human-readable-bytes';
process.args.forEach( (val, index) => {
if( index == process.args.length - 1 ){
console.log( val );
}
});

View file

@ -212,9 +212,9 @@ bindsym Shift+Print exec xfce4-screenshooter -r
# Return {{{2
# start a terminal in current working dir
bindsym $mod+Return exec ~/.dotfiles/bin/i3-shell
bindsym $mod+Return exec ~/.dotfiles/bin/folder-shell
# start Ranger in current working dir
bindsym $mod+Shift+Return exec ~/.dotfiles/bin/i3-shell "ranger"
bindsym $mod+Shift+Return exec ~/.dotfiles/bin/folder-shell "ranger"
# Insert {{{2
bindsym $mod+Shift+Insert exec --no-startup-id rofi -modi "clipboard:greenclip print" -show clipboard -run-command '{cmd}'

View file

@ -103,7 +103,7 @@ label=Home Server Updates
#[checkitstatus]
#command=~/.dotfiles/i3/blocks/serverStatus Checkit
#interval=10
#
[wanip]
label=🌍
command=echo "$label $(curl -s checkip.dyndns.org | sed -e 's/.*Current IP Address: //' -e 's/<.*$//')"