screenshot default name

* fixed name resolution to seconds using date str formatting
This commit is contained in:
ackman678
2019-02-28 15:34:25 -08:00
parent 4ea527e581
commit c554d6026e
3 changed files with 16 additions and 9 deletions

View File

@@ -11,9 +11,8 @@
set $mod Mod4
#jba
#full screenshot is scrot with no flag by default. Add -s for selection cursor or -u for focus window
bindsym --release $mod+z exec scrot '%Y-%m-%d_$wx$h.png' -e '~/bin/mv2figs.sh $f'
bindsym --release $mod+z exec scrot '%Y-%m-%d_%H%M%S_$wx$h.png' -e '~/bin/mv2figs.sh $f'
#bindsym --release $mod+z exec scrot -u '%Y-%m-%d_$wx$h.png' -e '~/bin/mv2figs.sh $f'
bindsym $mod+Shift+z exec "date --iso-8601='seconds' | tr -d '\n' | xclip -selection clipboard"
@@ -232,7 +231,7 @@ bar {
colors {
background $base00
separator $base01
separator $base03
statusline $base04
# State Border BG Text

View File

@@ -8,10 +8,10 @@
general {
colors = true
interval = 5
color_good = "#7cafc2"
color_degraded = "#dc9656"
color_bad = "#ab4642"
interval = 7
color_good = "#7cafc2"
color_degraded = "#dc9656"
color_bad = "#ab4642"
}
#color_good = "#a1b56c" #light green
@@ -24,13 +24,14 @@ general {
#color_degraded = "#85678F"
#color_bad = "#FF1D1D" #red
order += "ipv6"
order += "disk /"
order += "ipv6"
order += "wireless _first_"
order += "ethernet _first_"
#order += "run_watch DHCP"
order += "path_exists VPN"
order += "battery all"
order += "cpu_temperature 0"
order += "load"
order += "tztime local"
@@ -69,3 +70,10 @@ path_exists VPN {
run_watch DHCP {
pidfile = "/var/run/dhclient*.pid"
}
#update the following device path for temp1_input as needed
cpu_temperature 0 {
format = "%degrees °C"
path = "/sys/devices/platform/coretemp.0/hwmon/hwmon3/temp1_input"
}