From: Mart Lubbers Date: Fri, 8 Jan 2016 09:03:41 +0000 (+0100) Subject: fixed printscreen, passmenu X-Git-Url: https://git.martlubbers.net/?a=commitdiff_plain;h=5e855c8080869971e6698587af99b0832654c843;p=dotfiles.git fixed printscreen, passmenu --- diff --git a/misc_binaries/.local/bin/scr b/misc_binaries/.local/bin/scr new file mode 100755 index 0000000..0ebc22b --- /dev/null +++ b/misc_binaries/.local/bin/scr @@ -0,0 +1,9 @@ +#!/bin/bash +set -e +f=$(scrot -s -e 'echo $f') +curl -s \ + -u "ftp@martlubbers.net:$(pass ftp.martlubbers.net/ftp@martlubbers.net)"\ + -T $f ftp://martlubbers.net/public_html/scr/$f +echo http://martlubbers.net/scr/$f | xclip +rm -v $f +notify-send http://martlubbers.net/scr/$f diff --git a/x/.config/i3/config b/x/.config/i3/config index 6ae8a27..ed731a8 100644 --- a/x/.config/i3/config +++ b/x/.config/i3/config @@ -20,11 +20,14 @@ exec xbacklight -set 50 # set the network switcher exec netctltray +bindsym Pause exec mpc toggle +bindsym Print exec ~/.local/bin/scr + # lock the screen bindsym $mod+l exec xautolock -locknow # put a password in the clipboard -bindsym $mod+p exec passmenu +bindsym $mod+p exec ~/.local/bin/passmenu # font for window titles. font pango:DejaVu Sans Mono 8 @@ -146,8 +149,7 @@ bindsym $mod+Shift+period exec i3-msg exit # Start i3bar to display a workspace bar (plus the system information i3status # finds out, if available) bar { - status_command i3status - mode hide + status_command i3status modifier $mod - font pango:DejaVu Sans Mono 14 + font pango:DejaVu Sans Mono 12 } diff --git a/x/.config/i3status/config b/x/.config/i3status/config index ba3cf2d..7d21672 100644 --- a/x/.config/i3status/config +++ b/x/.config/i3status/config @@ -17,23 +17,6 @@ volume master { mixer_idx = 0 } -wireless wlp1s0 { - format_up = "W: (%quality) %ip" - format_down = "W: down" -} - -battery 0 { - format = "%status %percentage (%remaining)" - format_down = "No Battery" - status_chr = "⚇ CHR" - status_bat = "⚡ BAT" - status_full = "☻ FULL" - hide_seconds = true - integer_battery_capacity = true - path = "/sys/class/power_supply/BAT%d/uevent" - low_threshold = 10 -} - tztime local { format = "⌚ %Y-%m-%d %H:%M:%S" }