screenshot default name
* fixed name resolution to seconds using date str formatting
This commit is contained in:
2
.bashrc
2
.bashrc
@@ -21,7 +21,7 @@ alias ll='ls -lah'
|
|||||||
alias tree='tree -CL 2'
|
alias tree='tree -CL 2'
|
||||||
#alias vim='nvim'
|
#alias vim='nvim'
|
||||||
alias nv='nvim'
|
alias nv='nvim'
|
||||||
export EDITOR=nvim
|
export EDITOR=vim
|
||||||
|
|
||||||
#alias xclip="xclip -selection clipboard"
|
#alias xclip="xclip -selection clipboard"
|
||||||
#alias ts="date --iso-8601='seconds' | tr -d '\n' | xclip"
|
#alias ts="date --iso-8601='seconds' | tr -d '\n' | xclip"
|
||||||
|
|||||||
@@ -11,9 +11,8 @@
|
|||||||
|
|
||||||
set $mod Mod4
|
set $mod Mod4
|
||||||
|
|
||||||
#jba
|
|
||||||
#full screenshot is scrot with no flag by default. Add -s for selection cursor or -u for focus window
|
#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 --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"
|
bindsym $mod+Shift+z exec "date --iso-8601='seconds' | tr -d '\n' | xclip -selection clipboard"
|
||||||
|
|
||||||
@@ -232,7 +231,7 @@ bar {
|
|||||||
|
|
||||||
colors {
|
colors {
|
||||||
background $base00
|
background $base00
|
||||||
separator $base01
|
separator $base03
|
||||||
statusline $base04
|
statusline $base04
|
||||||
|
|
||||||
# State Border BG Text
|
# State Border BG Text
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
|
|
||||||
general {
|
general {
|
||||||
colors = true
|
colors = true
|
||||||
interval = 5
|
interval = 7
|
||||||
color_good = "#7cafc2"
|
color_good = "#7cafc2"
|
||||||
color_degraded = "#dc9656"
|
color_degraded = "#dc9656"
|
||||||
color_bad = "#ab4642"
|
color_bad = "#ab4642"
|
||||||
@@ -24,13 +24,14 @@ general {
|
|||||||
#color_degraded = "#85678F"
|
#color_degraded = "#85678F"
|
||||||
#color_bad = "#FF1D1D" #red
|
#color_bad = "#FF1D1D" #red
|
||||||
|
|
||||||
order += "ipv6"
|
|
||||||
order += "disk /"
|
order += "disk /"
|
||||||
|
order += "ipv6"
|
||||||
order += "wireless _first_"
|
order += "wireless _first_"
|
||||||
order += "ethernet _first_"
|
order += "ethernet _first_"
|
||||||
#order += "run_watch DHCP"
|
#order += "run_watch DHCP"
|
||||||
order += "path_exists VPN"
|
order += "path_exists VPN"
|
||||||
order += "battery all"
|
order += "battery all"
|
||||||
|
order += "cpu_temperature 0"
|
||||||
order += "load"
|
order += "load"
|
||||||
order += "tztime local"
|
order += "tztime local"
|
||||||
|
|
||||||
@@ -69,3 +70,10 @@ path_exists VPN {
|
|||||||
run_watch DHCP {
|
run_watch DHCP {
|
||||||
pidfile = "/var/run/dhclient*.pid"
|
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"
|
||||||
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user