Created
February 28, 2016 14:41
-
-
Save bijanebrahimi/d39f8fbbfe12e945db67 to your computer and use it in GitHub Desktop.
My py3status configuration
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bar { | |
... | |
status_command py3status -c ~/.config/i3/i3status.conf | |
font pango:DejaVu Sans Mono, Awesome 10 | |
... | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# i3status configuration file. | |
# see "man i3status" for documentation. | |
# It is important that this file is edited as UTF-8. | |
# The following line should contain a sharp s: | |
# ß | |
# If the above line is not correctly displayed, fix your editor first! | |
general { | |
colors = true | |
interval = 5 | |
} | |
order += "static_string i3lock" | |
order += "static_string screenshot" | |
order += "static_string wallpaper" | |
order += "net_rate" | |
order + = "online_status" | |
order += "keyboard_layout" | |
order += "battery_level" | |
order += "time local" | |
time { | |
format = " %A %e %B %H:%M" | |
on_click 1 = "exec --no-startup-id gahshomar" | |
} | |
battery_level{ | |
blocks = "" | |
charging_character = "" | |
format = " {percent} {icon} {time_remaining}" | |
color_charging = "#FFFFFF" | |
cache_timeout = 5 | |
} | |
keyboard_layout { | |
cache_timeout = 1 | |
format = " {layout}" | |
color = "#FFFFFF" | |
} | |
net_rate { | |
format = " {total}" | |
precision = 0 | |
} | |
online_status { | |
cache_timeout = 10 | |
format_offline = "" | |
format_online = "" | |
timeout = 20 | |
} | |
static_string wallpaper { | |
format = "" | |
on_click 1 = "exec --no-startup-id feh --bg-scale $(find /home/bijan/Pictures/wallpapers/ | shuf | head -n 1)" | |
} | |
static_string screenshot { | |
format = "" | |
# Taking Screenshot using maim | |
on_click 1 = "exec --no-startup-id echo ~/Pictures/Screenshots/img-$(date +%Y-%m-%d)-${RANDOM}.png | xargs -I '{}' maim -s '{}' && notify-send 'Screenshot' 'Screenshot taken'"} | |
static_string i3lock { | |
format = "" | |
# Set background for lock screen using -i argument | |
on_click 1 = "exec --no-startup-id i3lock -d -I 5" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment