parent
7387c62946
commit
d57c7b822e
@ -1,57 +0,0 @@
|
||||
!
|
||||
! ██████ ██████ ██ ██ ██████ █████ █████ ██████ █████ ██████
|
||||
! ██░░░░ ██░░░░██░██ ░██░░██░░████░░░██ ██░░░██░░██░░████░░░██░░██░░██
|
||||
! ░░█████ ░██ ░██░██ ░██ ░██ ░░░██ ░░ ░███████ ░██ ░░░███████ ░██ ░░
|
||||
! ░░░░░██░██ ░██░██ ░██ ░██ ░██ ██░██░░░░ ░██ ░██░░░░ ░██
|
||||
! ██████ ░░██████ ░░██████░███ ░░█████ ░░██████░███ ░░██████░███
|
||||
! ░░░░░░ ░░░░░░ ░░░░░░ ░░░ ░░░░░ ░░░░░░ ░░░ ░░░░░░ ░░░
|
||||
! r e a d c o d e l i k e a w i z a r d
|
||||
!
|
||||
! sourcerer by xero harrison (http://sourcerer.xero.nu)
|
||||
! ├─ based on sorcerer by Jeet Sukumaran (http://jeetworks.org)
|
||||
! └─ based on mustang by Henrique C. Alves (hcarvalhoalves@gmail.com)
|
||||
|
||||
! █▓▒░ scorcerer colors
|
||||
*.foreground: #c2c2b0
|
||||
*.background: #222222
|
||||
*.cursorColor: #c2c2b0
|
||||
! black
|
||||
*.color0: #111111
|
||||
*.color8: #181818
|
||||
! red
|
||||
*.color1: #aa4450
|
||||
*.color9: #ff6a6a
|
||||
! green
|
||||
*.color2: #719611
|
||||
*.color10: #b1d631
|
||||
! yellow
|
||||
*.color3: #ff9800
|
||||
*.color11: #87875f
|
||||
! blue
|
||||
*.color4: #6688aa
|
||||
*.color12: #90b0d1
|
||||
! magenta
|
||||
*.color5: #8f6f8f
|
||||
*.color13: #8181a6
|
||||
! cyan
|
||||
*.color6: #528b8b
|
||||
*.color14: #87ceeb
|
||||
! white
|
||||
*.color7: #d3d3d3
|
||||
*.color15: #c1cdc1
|
||||
! stylized
|
||||
*.colorIT: #719611
|
||||
*.colorBD: #d3d3d3
|
||||
*.colorUL: #528b8b
|
||||
|
||||
! Can use backup fonts -> 1,2,3 etc..
|
||||
! Top font takes priority over following fonts
|
||||
URxvt.font: xft:Source Code Pro:size=10,xft:Inconsolata Nerd Font Mono:size=15
|
||||
!URxvt.letterSpace: -1
|
||||
|
||||
URxvt.depth: 32
|
||||
URxvt*scrollBar: false
|
||||
URxvt*mouseWheelScrollPage: true
|
||||
URxvt*cursorBlink: true
|
||||
*URxvt.perl-ext-common: extosc-xterm-clipboard
|
||||
|
@ -1,6 +0,0 @@
|
||||
{
|
||||
"terminal.integrated.fontFamily": "Inconsolata Nerd Font Mono",
|
||||
"editor.tabCompletion": "on",
|
||||
"editor.tabSize": 2,
|
||||
"window.zoomLevel": -1
|
||||
}
|
@ -1 +0,0 @@
|
||||
{}
|
@ -1,14 +0,0 @@
|
||||
[Desktop Entry]
|
||||
Exec=/home/kapper/.local/share/JetBrains/Toolbox/bin/jetbrains-toolbox --minimize
|
||||
Icon=/home/kapper/.local/share/JetBrains/Toolbox/toolbox.svg
|
||||
MimeType=x-scheme-handler/jetbrains;
|
||||
Name=JetBrains Toolbox
|
||||
StartupNotify=false
|
||||
StartupWMClass=jetbrains-toolbox
|
||||
Terminal=false
|
||||
Type=Application
|
||||
Version=1.0
|
||||
X-GNOME-Autostart-Delay=10
|
||||
X-GNOME-Autostart-enabled=true
|
||||
X-KDE-autostart-after=panel
|
||||
X-MATE-Autostart-Delay=10
|
@ -1,109 +0,0 @@
|
||||
# Shadow
|
||||
shadow = true;
|
||||
# no-dnd-shadow = true;
|
||||
no-dock-shadow = true;
|
||||
clear-shadow = true;
|
||||
detect-rounded-corners = true;
|
||||
shadow-radius = 5;
|
||||
shadow-offset-x = 1;
|
||||
shadow-offset-y = 1;
|
||||
shadow-opacity = .3;
|
||||
shadow-ignore-shaped = false;
|
||||
shadow-exclude = [
|
||||
"name = 'Notification'",
|
||||
# workaround for conky until it provides window properties:
|
||||
"override_redirect = 1 && !WM_CLASS@:s",
|
||||
"class_g ?= 'Dmenu'",
|
||||
# "class_g ?= 'Dunst'",
|
||||
# disable shadows for hidden windows:
|
||||
"_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'",
|
||||
"_GTK_FRAME_EXTENTS@:c",
|
||||
# disables shadows on sticky windows:
|
||||
# "_NET_WM_STATE@:32a *= '_NET_WM_STATE_STICKY'",
|
||||
# disables shadows on i3 frames
|
||||
"class_g ?= 'i3-frame'"
|
||||
];
|
||||
|
||||
# shadow-exclude-reg = "x10+0+0";
|
||||
# xinerama-shadow-crop = true;
|
||||
|
||||
#menu-opacity = 0.95;
|
||||
#inactive-opacity = 0.93;
|
||||
#active-opacity = 1;
|
||||
#alpha-step = 0.01;
|
||||
#inactive-dim = 0.0;
|
||||
#blur-background = false;
|
||||
#blur-kern = "3x3box";
|
||||
|
||||
fading = false;
|
||||
fade-delta = 1;
|
||||
fade-in-step = 0.03;
|
||||
fade-out-step = 0.03;
|
||||
fade-exclude = [ ];
|
||||
|
||||
backend = "xrender";
|
||||
mark-wmwin-focused = true;
|
||||
mark-ovredir-focused = true;
|
||||
detect-client-opacity = true;
|
||||
unredir-if-possible = true;
|
||||
refresh-rate = 0;
|
||||
vsync = "none";
|
||||
dbe = false;
|
||||
paint-on-overlay = true;
|
||||
focus-exclude = [ "class_g = 'Cairo-clock'" ];
|
||||
detect-transient = true;
|
||||
detect-client-leader = true;
|
||||
invert-color-include = [ ];
|
||||
glx-copy-from-front = false;
|
||||
glx-swap-method = "undefined";
|
||||
|
||||
opacity-rule = [
|
||||
#"99:name *?= 'Call'",
|
||||
#"99:class_g = 'Chromium'",
|
||||
#"50:class_g *= 'shortcuts_green'",
|
||||
#"50:class_g *= 'sysinfo_green'",
|
||||
#"50:class_g *= 'conky'",
|
||||
#"99:class_g = 'Darktable'",
|
||||
#"50:class_g = 'Dmenu'",
|
||||
#"99:name *?= 'Event'",
|
||||
#"99:class_g = 'Firefox'",
|
||||
#"99:class_g = 'GIMP'",
|
||||
#"99:name *?= 'Image'",
|
||||
#"99:class_g = 'Lazpaint'",
|
||||
#"99:class_g = 'Midori'",
|
||||
#"99:name *?= 'Minitube'",
|
||||
#"99:class_g = 'Mousepad'",
|
||||
#"99:name *?= 'MuseScore'",
|
||||
#"90:name *?= 'Page Info'",
|
||||
#"99:name *?= 'Pale Moon'",
|
||||
#"90:name *?= 'Panel'",
|
||||
#"99:class_g = 'Pinta'",
|
||||
#"90:name *?= 'Restart'",
|
||||
#"99:name *?= 'sudo'",
|
||||
#"99:name *?= 'Screenshot'",
|
||||
#"99:class_g = 'Viewnior'",
|
||||
#"99:class_g = 'VirtualBox'",
|
||||
#"99:name *?= 'VLC'",
|
||||
#"99:name *?= 'Write'",
|
||||
#"93:class_g = 'URxvt' && !_NET_WM_STATE@:32a",
|
||||
#"0:_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'",
|
||||
#"96:_NET_WM_STATE@:32a *= '_NET_WM_STATE_STICKY'"
|
||||
];
|
||||
|
||||
wintypes :
|
||||
{
|
||||
tooltip :
|
||||
{
|
||||
fade = true;
|
||||
shadow = false;
|
||||
opacity = 0.85;
|
||||
focus = true;
|
||||
};
|
||||
fullscreen :
|
||||
{
|
||||
fade = true;
|
||||
shadow = false;
|
||||
opacity = 1;
|
||||
focus = true;
|
||||
};
|
||||
};
|
@ -1,76 +0,0 @@
|
||||
conky.config = {
|
||||
alignment = 'bottom_left',
|
||||
background = true,
|
||||
color2 = '2ECC71',
|
||||
cpu_avg_samples = 2,
|
||||
default_color = 'FFFFFF',
|
||||
double_buffer = true,
|
||||
font = 'Bitstream Vera Sans:size=8',
|
||||
gap_x = 15,
|
||||
gap_y = 40,
|
||||
minimum_width = 200,
|
||||
no_buffers = true,
|
||||
own_window = true,
|
||||
own_window_class = 'shortcuts_green',
|
||||
own_window_type = 'override',
|
||||
own_window_transparent = true,
|
||||
update_interval = 10.0,
|
||||
use_xft = true,
|
||||
}
|
||||
conky.text = [[
|
||||
#
|
||||
# Date
|
||||
${alignr}${color1}
|
||||
${goto 20}${voffset 8}${color2}${font Bitstream Vera Sans:size=16}${time %A}$font\
|
||||
${goto 140}${voffset -8}${color}${font Bitstream Vera Sans:size=38}${time %e}$font
|
||||
${goto 20}${color}${voffset -30}${color}${font Bitstream Vera Sans:size=18}${time %b}$font\
|
||||
${goto 60}${voffset -3} ${color}${font Bitstream Vera Sans:size=20}${time %Y}$font${color2}$hr
|
||||
#
|
||||
---------------Applications---------------
|
||||
${color2}open new terminal - ${color}mod+Enter
|
||||
${color2}open dropdown yakuake terminal - ${color}F4
|
||||
${color2}Firefox - ${color}mod+Shift+f
|
||||
|
||||
---------------Screenshots----------------
|
||||
${color2}image clip tool - ${color}mod+Shift+p
|
||||
|
||||
---------------Menus----------------------
|
||||
${color2}audio devices - ${color}mod+Ctrl+a
|
||||
${color2}bluetooth devices - ${color}mod+Ctrl+d
|
||||
${color2}bmenu system settings - ${color}mod+Ctrl+b
|
||||
${color2}dmenu app launcher - ${color}mod+d
|
||||
${color2}morc_menu app menu - ${color}mod+z
|
||||
${color2}power modes - ${color}mod+0
|
||||
${color2}blur lock - ${color}mod+9
|
||||
|
||||
---------------Restart / Reload-----------
|
||||
|
||||
${color2}kill conky - ${color}mod+o
|
||||
${color2}start conky - ${color}mod+shift+o
|
||||
${color2}kill compton - ${color}mod+t
|
||||
${color2}start compton - ${color}mod+Shift+t
|
||||
${color2}reload i3 - ${color}mod+Shift+c
|
||||
${color2}restart i3 - ${color}mod+Shift+r
|
||||
|
||||
---------------Scratchpad-----------------
|
||||
${color2}send to scratchpad - ${color}mod+Shift+minus
|
||||
${color2}show scratchpad - ${color}mod+minus
|
||||
|
||||
---------------Windows--------------------
|
||||
${color2}modify gaps - ${color}mod+Shift+g
|
||||
${color2}resize mode - ${color}mod+r
|
||||
${color2}toggle split direction - ${color}mod+q
|
||||
${color2}kill cursor selection - ${color}mod+Ctrl+q
|
||||
${color2}kill active window - ${color}mod+Shift+q
|
||||
|
||||
---------------Workspace--------------------
|
||||
${color2}move to empty workspace - ${color}mod+Shift+z
|
||||
${color2}switch to workspace 1-8 - ${color}mod+1-8
|
||||
${color2}send to workspace 1-8 - ${color}mod+Ctrl+1-8
|
||||
${color2}navigate workspaces - ${color}mod+Ctrl+arrowkeys
|
||||
${color2}toggle floating - ${color}mod+Shift+Space
|
||||
${color2}exit - ${color}mod+0
|
||||
|
||||
${color2}help - ${color}mod+Shift+h
|
||||
${color2}mod key - ${color}<Alt>
|
||||
]]
|
@ -1,104 +0,0 @@
|
||||
conky.config = {
|
||||
alignment = 'top_right',
|
||||
background = true,
|
||||
color2 = '2ECC71',
|
||||
cpu_avg_samples = 2,
|
||||
default_color = 'FFFFFF',
|
||||
double_buffer = true,
|
||||
font = 'Bitstream Vera Sans:size=8',
|
||||
gap_x = 15,
|
||||
gap_y = -5,
|
||||
minimum_width = 200,
|
||||
no_buffers = true,
|
||||
own_window = true,
|
||||
own_window_type = 'override',
|
||||
own_window_class = 'sysinfo_green',
|
||||
own_window_transparent = true,
|
||||
update_interval = 5.0,
|
||||
use_xft = true,
|
||||
temperature_unit = 'fahrenheit',
|
||||
}
|
||||
conky.text = [[
|
||||
|
||||
# Process list, load average
|
||||
# 1m / 5m / 15m format for lad avg
|
||||
${color2}${voffset 35}${alignr}${font Bitstream Vera Sans:size=10}Proccesses${color}
|
||||
${color}${alignr}${font Bitstream Vera Sans:size=8}Load Average: $font$alignr${loadavg}
|
||||
#
|
||||
# Process list CPU / RAM utilization table
|
||||
${font}CPU${goto 170}RAM
|
||||
${voffset 3}$font${color2}${top name 1}${goto 120}${color}${top cpu 1}%${goto 170}${color2}${top_mem name 1}${color}${alignr}${top_mem mem_res 1}${color}
|
||||
${color2}${top name 2}${goto 120}${color}${top cpu 2}%${goto 170}${color2}${top_mem name 2}${color}${alignr}${top_mem mem_res 2}${color}
|
||||
${voffset 3}$hr
|
||||
#
|
||||
# RAM Display
|
||||
${color2}${voffset 4}${alignr}${font Bitstream Vera Sans:size=10}RAM ${color}
|
||||
${goto 0}${color2}$alignc${memgraph 40,305}${color}
|
||||
${voffset 4}${goto 0}${alignc}${color2}${membar 10, 305}
|
||||
${color}${goto 10}${font}${memperc}%${alignr}${exec grep -w Active: /proc/meminfo | awk '{print $2 / 1024 / 1024}'}/${memmax}
|
||||
${voffset 3}${color}$hr
|
||||
#
|
||||
# CPU Display
|
||||
${color2}${voffset 4}${alignr}${font Bitstream Vera Sans:size=10}CPU ${color}
|
||||
# Chipset
|
||||
${alignr}${font}${exec inxi |grep CPU | awk '{print $4" "$2" "$3" "$6}'}${exec lscpu |grep -w "Model name:"| awk '{print " - " $8}'}
|
||||
# CPU Grpah
|
||||
${voffset 4}${goto 0}${alignc}${color2}${cpugraph 40, 305}
|
||||
# Percentage / GHz utilized
|
||||
${voffset 0}${goto 10}${color}${font}${hwmon temp 1}F°${alignr}${cpu}% - ${freq_g}GHz
|
||||
# CPU Core Graphs
|
||||
${voffset 10}${color}${goto 10}${font Bitstream Vera Sans:size=8}${cpu cpu1}%${goto 43}${color2}${cpubar cpu1 12,110} ${goto 170}${color}${cpu cpu2}%${goto 203}${color2}${cpubar cpu2 12,110}
|
||||
${voffset 3}${color}$hr
|
||||
#
|
||||
# Network display
|
||||
${color2}${font}${alignr}NETWORK${color}
|
||||
${color}${voffset 4}${font}Interface: ${gw_iface} ${font}${alignr}Gateway IP: ${gw_ip}
|
||||
${font}${alignr}${if_match "$wireless_essid"=="off/any"}Déconnecté${else}${wireless_essid}${endif}
|
||||
${font}${goto 5}Down${alignr}Up
|
||||
${goto 5}${color2}${downspeedgraph enp0s31f6 40,153}${goto 160}${upspeedgraph enp0s31f6 40,155}
|
||||
# Uncomment next line for wireless
|
||||
# ${goto 5}${color}${downspeedf wlp3s0} Kb/s - ${totaldown wlp3s0}${goto 160}${upspeedf wlp3s0} Kb/s - ${totalup wlp3s0}
|
||||
# Ethernet network display
|
||||
${goto 5}${color}${downspeedf enp0s31f6} Kb/s - ${totaldown enp0s31f6}${alignr}${upspeedf enp0s31f6} Kb/s - ${totalup enp0s31f6}
|
||||
${voffset 4}${color}$hr
|
||||
#
|
||||
# HDDisk Display
|
||||
${color2}${voffset 4}${alignr}${font Bitstream Vera Sans:size=10}DISKS${color}
|
||||
#
|
||||
# Root Filesystem Display
|
||||
${voffset 2}${font}${goto 45} /dev/sda - /${font}${alignr}System: ${fs_used /} / ${fs_size /}
|
||||
${color2}${diskiograph /dev/sda}${color}
|
||||
${color2}${fs_bar 8 /}${color}
|
||||
#
|
||||
# Home Filesystem Display
|
||||
#${voffset 6}${font}${goto 45}/dev/sda1 - /home/${font}${alignr}Data: ${fs_used /home/} / ${fs_size /home/}
|
||||
#${color2}${diskiograph /dev/sda1}${color}
|
||||
#${color2}${fs_bar 8 /home/} ${color}
|
||||
# Optinal drive display, specify path to check mount
|
||||
#${if_mounted /run/media/thib/Data}${color}${font}${exec sudo hddtemp /dev/sdb -u F | awk '{print $NF}'}${alignr}${fs_used /run/media/thib/Data}/${fs_size /run/media/thib/Data}${else}${color}${font}${alignr}Unmounted${endif}
|
||||
$hr
|
||||
#
|
||||
# Other information
|
||||
${color2}${voffset 4}${alignr}${font Bitstream Vera Sans:size=10}OTHER${color}
|
||||
# MOBO temp, uptime
|
||||
${color}${voffset 4}${font}Motherboard: ${goto 120}${acpitemp}F°${alignr}Uptime: ${uptime_short}
|
||||
# Domain status
|
||||
# ${color}${voffset 4}${font}Knoats: ${alignc}${exec curl -Is https://knoats.com | grep HTTP | awk '{print $1 " - " $2}'}${alignr}${exec curl -o /dev/null -s -w %{time_total}\\n https://knoats.com}s
|
||||
# ${font}Shaunreed: ${alignc}${exec curl -Is https://shaunreed.com | grep HTTP | awk '{print $1 " - " $2}'}${alignr}${exec curl -o /dev/null -s -w %{time_total}\\n https://shaunreed.com}s
|
||||
# ${font}dv: ${alignc}${exec curl -Is https://kapp.ga | grep HTTP | awk '{print $1 " - " $2}'}${alignr}${exec curl -o /dev/null -s -w %{time_total}\\n https://kapp.ga}s
|
||||
#
|
||||
${voffset 3}$hr
|
||||
#
|
||||
#
|
||||
# Things I don't use, but could in the future
|
||||
# I don't need to track docker containers.. unless I can check remotes?
|
||||
# ${font}Docker containers: ${goto 120}${exec docker ps -q $1 | wc -l}/${exec docker ps -a | grep -v -F 'Exited (0)' | grep -c -F 'Exited ('}
|
||||
#
|
||||
# Commented out, since I am using a desktop
|
||||
# BATTERY
|
||||
# $color${voffset 4}${alignr}${font Bitstream Vera Sans:size=10}BATTERY
|
||||
# ${font}${voffset 3}${alignr}${battery_percent}%
|
||||
# ${color2}${battery_bar}
|
||||
# $color${alignr}${if_match "$battery_time"=="unknown"}Charging...${else}Remain Time: ${battery_time}${endif}
|
||||
]]
|
||||
|
Binary file not shown.
@ -1,26 +0,0 @@
|
||||
# Beware! This file is rewritten by htop when settings are changed in the interface.
|
||||
# The parser is also very primitive, and not human-friendly.
|
||||
fields=0 48 17 18 38 39 40 2 46 47 49 1
|
||||
sort_key=46
|
||||
sort_direction=1
|
||||
hide_threads=0
|
||||
hide_kernel_threads=1
|
||||
hide_userland_threads=0
|
||||
shadow_other_users=0
|
||||
show_thread_names=0
|
||||
show_program_path=1
|
||||
highlight_base_name=0
|
||||
highlight_megabytes=1
|
||||
highlight_threads=1
|
||||
tree_view=0
|
||||
header_margin=1
|
||||
detailed_cpu_time=0
|
||||
cpu_count_from_zero=0
|
||||
update_process_names=0
|
||||
account_guest_in_cpu_meter=0
|
||||
color_scheme=0
|
||||
delay=15
|
||||
left_meters=AllCPUs Memory Swap
|
||||
left_meter_modes=1 1 1
|
||||
right_meters=Tasks LoadAverage Uptime
|
||||
right_meter_modes=2 2 2
|
@ -1,174 +0,0 @@
|
||||
# i3blocks config file
|
||||
#
|
||||
# Please see man i3blocks for a complete reference!
|
||||
# The man page is also hosted at http://vivien.github.io/i3blocks
|
||||
#
|
||||
# List of valid properties:
|
||||
#
|
||||
# align
|
||||
# color
|
||||
# command
|
||||
# full_text
|
||||
# instance
|
||||
# interval
|
||||
# label
|
||||
# min_width
|
||||
# name
|
||||
# separator
|
||||
# separator_block_width
|
||||
# short_text
|
||||
# signal
|
||||
# urgent
|
||||
|
||||
# Global properties
|
||||
#
|
||||
# The top properties below are applied to every block, but can be overridden.
|
||||
# Each block command defaults to the script name to avoid boilerplate.
|
||||
command=/usr/share/i3blocks/$BLOCK_NAME
|
||||
separator_block_width=20
|
||||
markup=none
|
||||
|
||||
[nm-tray]
|
||||
#label=
|
||||
command=nm-tray
|
||||
interval=once
|
||||
|
||||
# Volume indicator
|
||||
#
|
||||
# The first parameter sets the step (and units to display)
|
||||
# The second parameter overrides the mixer selection
|
||||
# See the script for details.
|
||||
|
||||
[volume]
|
||||
# DEPENDS: sudo apt install volumeicon-alsa
|
||||
#label=VOL
|
||||
#label=♪
|
||||
#instance=Master
|
||||
#instance=PCM
|
||||
command=volumeicon
|
||||
interval=once
|
||||
#signal=10
|
||||
|
||||
# Memory usage
|
||||
#
|
||||
# The type defaults to "mem" if the instance is not specified.
|
||||
[memory]
|
||||
label=MEM
|
||||
separator=false
|
||||
interval=30
|
||||
|
||||
[memory]
|
||||
label=SWAP
|
||||
instance=swap
|
||||
separator=true
|
||||
interval=30
|
||||
|
||||
# CPU usage
|
||||
#
|
||||
# The script may be called with -w and -c switches to specify thresholds,
|
||||
# see the script for details.
|
||||
[cpu_usage]
|
||||
label=CPU
|
||||
interval=10
|
||||
min_width=CPU: 100.00%
|
||||
separator=false
|
||||
|
||||
[load_average]
|
||||
interval=10
|
||||
|
||||
|
||||
# Disk usage
|
||||
#
|
||||
# The directory defaults to $HOME if the instance is not specified.
|
||||
# The script may be called with a optional argument to set the alert
|
||||
# (defaults to 10 for 10%).
|
||||
[disk]
|
||||
label=HOME
|
||||
#instance=/mnt/data
|
||||
interval=30
|
||||
|
||||
# Network interface monitoring
|
||||
#
|
||||
# If the instance is not specified, use the interface used for default route.
|
||||
# The address can be forced to IPv4 or IPv6 with -4 or -6 switches.
|
||||
[iface]
|
||||
#instance=wlan0
|
||||
color=#00FF00
|
||||
interval=10
|
||||
separator=false
|
||||
|
||||
[public-ip]
|
||||
command=wget -qO - ifconfig.me
|
||||
interval=60
|
||||
|
||||
|
||||
[wifi]
|
||||
#instance=wlp3s0
|
||||
interval=10
|
||||
separator=false
|
||||
|
||||
[bandwidth]
|
||||
#instance=eth0
|
||||
interval=5
|
||||
|
||||
[backlight]
|
||||
label=BRI
|
||||
command=xbacklight
|
||||
separator=true
|
||||
interval=1
|
||||
|
||||
|
||||
# Battery indicator
|
||||
#
|
||||
# The battery instance defaults to 0.
|
||||
[battery]
|
||||
label=BAT
|
||||
#label=⚡
|
||||
#instance=1
|
||||
interval=30
|
||||
|
||||
# Date Time
|
||||
#
|
||||
[time]
|
||||
command=date '+%Y-%m-%d %H:%M:%S'
|
||||
interval=5
|
||||
|
||||
# Generic media player support
|
||||
#
|
||||
# This displays "ARTIST - SONG" if a music is playing.
|
||||
# Supported players are: spotify, vlc, audacious, xmms2, mplayer, and others.
|
||||
#[mediaplayer]
|
||||
#instance=spotify
|
||||
#interval=5
|
||||
#signal=10
|
||||
|
||||
# OpenVPN support
|
||||
#
|
||||
# Support multiple VPN, with colors.
|
||||
#[openvpn]
|
||||
#interval=20
|
||||
|
||||
# Temperature
|
||||
#
|
||||
# Support multiple chips, though lm-sensors.
|
||||
# The script may be called with -w and -c switches to specify thresholds,
|
||||
# see the script for details.
|
||||
#[temperature]
|
||||
#label=TEMP
|
||||
#interval=10
|
||||
|
||||
# Key indicators
|
||||
#
|
||||
# Add the following bindings to i3 config file:
|
||||
#
|
||||
# bindsym --release Caps_Lock exec pkill -SIGRTMIN+11 i3blocks
|
||||
# bindsym --release Num_Lock exec pkill -SIGRTMIN+11 i3blocks
|
||||
#[keyindicator]
|
||||
#instance=CAPS
|
||||
#interval=once
|
||||
#signal=11
|
||||
|
||||
#[keyindicator]
|
||||
#instance=NUM
|
||||
#interval=once
|
||||
#signal=11
|
@ -1,175 +0,0 @@
|
||||
#!/bin/bash
|
||||
# Displays the default device, volume, and mute status for i3blocks
|
||||
|
||||
set -a
|
||||
|
||||
AUDIO_HIGH_SYMBOL=${AUDIO_HIGH_SYMBOL:-' '}
|
||||
|
||||
AUDIO_MED_THRESH=${AUDIO_MED_THRESH:-50}
|
||||
AUDIO_MED_SYMBOL=${AUDIO_MED_SYMBOL:-' '}
|
||||
|
||||
AUDIO_LOW_THRESH=${AUDIO_LOW_THRESH:-0}
|
||||
AUDIO_LOW_SYMBOL=${AUDIO_LOW_SYMBOL:-' '}
|
||||
|
||||
AUDIO_MUTED_SYMBOL=${AUDIO_MUTED_SYMBOL:-' '}
|
||||
|
||||
AUDIO_DELTA=${AUDIO_DELTA:-5}
|
||||
|
||||
DEFAULT_COLOR=${DEFAULT_COLOR:-"#ffffff"}
|
||||
MUTED_COLOR=${MUTED_COLOR:-"#a0a0a0"}
|
||||
|
||||
LONG_FORMAT=${LONG_FORMAT:-'${SYMB} ${VOL}% [${INDEX}:${NAME}]'}
|
||||
SHORT_FORMAT=${SHORT_FORMAT:-'${SYMB} ${VOL}% [${INDEX}]'}
|
||||
USE_ALSA_NAME=${USE_ALSA_NAME:-0}
|
||||
USE_DESCRIPTION=${USE_DESCRIPTION:-0}
|
||||
|
||||
SUBSCRIBE=${SUBSCRIBE:-0}
|
||||
|
||||
MIXER=${MIXER:-""}
|
||||
SCONTROL=${SCONTROL:-""}
|
||||
|
||||
while getopts F:Sf:adH:M:L:X:T:t:C:c:i:m:s:h opt; do
|
||||
case "$opt" in
|
||||
S) SUBSCRIBE=1 ;;
|
||||
F) LONG_FORMAT="$OPTARG" ;;
|
||||
f) SHORT_FORMAT="$OPTARG" ;;
|
||||
a) USE_ALSA_NAME=1 ;;
|
||||
d) USE_DESCRIPTION=1 ;;
|
||||
H) AUDIO_HIGH_SYMBOL="$OPTARG" ;;
|
||||
M) AUDIO_MED_SYMBOL="$OPTARG" ;;
|
||||
L) AUDIO_LOW_SYMBOL="$OPTARG" ;;
|
||||
X) AUDIO_MUTED_SYMBOL="$OPTARG" ;;
|
||||
T) AUDIO_MED_THRESH="$OPTARG" ;;
|
||||
t) AUDIO_LOW_THRESH="$OPTARG" ;;
|
||||
C) DEFAULT_COLOR="$OPTARG" ;;
|
||||
c) MUTED_COLOR="$OPTARG" ;;
|
||||
i) AUDIO_INTERVAL="$OPTARG" ;;
|
||||
m) MIXER="$OPTARG" ;;
|
||||
s) SCONTROL="$OPTARG" ;;
|
||||
h) printf \
|
||||
"Usage: volume-pulseaudio [-S] [-F format] [-f format] [-p] [-a|-d] [-H symb] [-M symb]
|
||||
[-L symb] [-X symb] [-T thresh] [-t thresh] [-C color] [-c color] [-i inter]
|
||||
[-m mixer] [-s scontrol] [-h]
|
||||
Options:
|
||||
-F, -f\tOutput format (-F long format, -f short format) to use, with exposed variables:
|
||||
\${SYMB}, \${VOL}, \${INDEX}, \${NAME}
|
||||
-S\tSubscribe to volume events (requires persistent block, always uses long format)
|
||||
-a\tUse ALSA name if possible
|
||||
-d\tUse device description instead of name if possible
|
||||
-H\tSymbol to use when audio level is high. Default: '$AUDIO_HIGH_SYMBOL'
|
||||
-M\tSymbol to use when audio level is medium. Default: '$AUDIO_MED_SYMBOL'
|
||||
-L\tSymbol to use when audio level is low. Default: '$AUDIO_LOW_SYMBOL'
|
||||
-X\tSymbol to use when audio is muted. Default: '$AUDIO_MUTED_SYMBOL'
|
||||
-T\tThreshold for medium audio level. Default: $AUDIO_MED_THRESH
|
||||
-t\tThreshold for low audio level. Default: $AUDIO_LOW_THRESH
|
||||
-C\tColor for non-muted audio. Default: $DEFAULT_COLOR
|
||||
-c\tColor for muted audio. Default: $MUTED_COLOR
|
||||
-i\tInterval size of volume increase/decrease. Default: $AUDIO_DELTA
|
||||
-m\tUse the given mixer.
|
||||
-s\tUse the given scontrol.
|
||||
-h\tShow this help text
|
||||
" && exit 0;;
|
||||
esac
|
||||
done
|
||||
|
||||
if [[ -z "$MIXER" ]] ; then
|
||||
MIXER="default"
|
||||
if amixer -D pulse info >/dev/null 2>&1 ; then
|
||||
MIXER="pulse"
|
||||
fi
|
||||
fi
|
||||
|
||||
if [[ -z "$SCONTROL" ]] ; then
|
||||
SCONTROL=$(amixer -D "$MIXER" scontrols | sed -n "s/Simple mixer control '\([^']*\)',0/\1/p" | head -n1)
|
||||
fi
|
||||
|
||||
CAPABILITY=$(amixer -D $MIXER get $SCONTROL | sed -n "s/ Capabilities:.*cvolume.*/Capture/p")
|
||||
|
||||
|
||||
function move_sinks_to_new_default {
|
||||
DEFAULT_SINK=$1
|
||||
pacmd list-sink-inputs | grep index: | grep -o '[0-9]\+' | while read SINK
|
||||
do
|
||||
pacmd move-sink-input $SINK $DEFAULT_SINK
|
||||
done
|
||||
}
|
||||
|
||||
function set_default_playback_device_next {
|
||||
inc=${1:-1}
|
||||
num_devices=$(pacmd list-sinks | grep -c index:)
|
||||
sink_arr=($(pacmd list-sinks | grep index: | grep -o '[0-9]\+'))
|
||||
default_sink_index=$(( $(pacmd list-sinks | grep index: | grep -no '*' | grep -o '^[0-9]\+') - 1 ))
|
||||
default_sink_index=$(( ($default_sink_index + $num_devices + $inc) % $num_devices ))
|
||||
default_sink=${sink_arr[$default_sink_index]}
|
||||
pacmd set-default-sink $default_sink
|
||||
move_sinks_to_new_default $default_sink
|
||||
}
|
||||
|
||||
case "$BLOCK_BUTTON" in
|
||||
1) set_default_playback_device_next ;;
|
||||
2) amixer -q -D $MIXER sset $SCONTROL $CAPABILITY toggle ;;
|
||||
3) set_default_playback_device_next -1 ;;
|
||||
4) amixer -q -D $MIXER sset $SCONTROL $CAPABILITY $AUDIO_DELTA%+ ;;
|
||||
5) amixer -q -D $MIXER sset $SCONTROL $CAPABILITY $AUDIO_DELTA%- ;;
|
||||
esac
|
||||
|
||||
function print_format {
|
||||
echo "$1" | envsubst '${SYMB}${VOL}${INDEX}${NAME}'
|
||||
}
|
||||
|
||||
function print_block {
|
||||
ACTIVE=$(pacmd list-sinks | grep "state\: RUNNING" -B4 -A7 | grep "index:\|name:\|volume: front\|muted:")
|
||||
[ -z "$ACTIVE" ] && ACTIVE=$(pacmd list-sinks | grep "index:\|name:\|volume: front\|muted:" | grep -A3 '*')
|
||||
for name in INDEX NAME VOL MUTED; do
|
||||
read $name
|
||||
done < <(echo "$ACTIVE")
|
||||
INDEX=$(echo "$INDEX" | grep -o '[0-9]\+')
|
||||
VOL=$(echo "$VOL" | grep -o "[0-9]*%" | head -1 )
|
||||
VOL="${VOL%?}"
|
||||
|
||||
NAME=$(echo "$NAME" | sed \
|
||||
's/.*<.*\.\(.*\)>.*/\1/; t;'\
|
||||
's/.*<\(.*\)>.*/\1/; t;'\
|
||||
's/.*/unknown/')
|
||||
|
||||
if [[ $USE_ALSA_NAME == 1 ]] ; then
|
||||
ALSA_NAME=$(pacmd list-sinks |\
|
||||
awk '/^\s*\*/{f=1}/^\s*index:/{f=0}f' |\
|
||||
grep "alsa.name\|alsa.mixer_name" |\
|
||||
head -n1 |\
|
||||
sed 's/.*= "\(.*\)".*/\1/')
|
||||
NAME=${ALSA_NAME:-$NAME}
|
||||
elif [[ $USE_DESCRIPTION == 1 ]] ; then
|
||||
DESCRIPTION=$(pacmd list-sinks |\
|
||||
awk '/^\s*\*/{f=1}/^\s*index:/{f=0}f' |\
|
||||
grep "device.description" |\
|
||||
head -n1 |\
|
||||
sed 's/.*= "\(.*\)".*/\1/')
|
||||
NAME=${DESCRIPTION:-$NAME}
|
||||
fi
|
||||
|
||||
if [[ $MUTED =~ "no" ]] ; then
|
||||
SYMB=$AUDIO_HIGH_SYMBOL
|
||||
[[ $VOL -le $AUDIO_MED_THRESH ]] && SYMB=$AUDIO_MED_SYMBOL
|
||||
[[ $VOL -le $AUDIO_LOW_THRESH ]] && SYMB=$AUDIO_LOW_SYMBOL
|
||||
COLOR=$DEFAULT_COLOR
|
||||
else
|
||||
SYMB=$AUDIO_MUTED_SYMBOL
|
||||
COLOR=$MUTED_COLOR
|
||||
fi
|
||||
|
||||
if [[ $SUBSCRIBE == 1 ]] ; then
|
||||
print_format "$LONG_FORMAT"
|
||||
else
|
||||
print_format "$LONG_FORMAT"
|
||||
print_format "$SHORT_FORMAT"
|
||||
echo "$COLOR"
|
||||
fi
|
||||
}
|
||||
|
||||
print_block
|
||||
if [[ $SUBSCRIBE == 1 ]] ; then
|
||||
while read -r EVENT; do
|
||||
print_block
|
||||
done < <(pactl subscribe | stdbuf -oL grep change)
|
||||
fi
|
@ -1,74 +0,0 @@
|
||||
# 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 += "read_file BRIGHTNESS"
|
||||
order += "memory"
|
||||
order += "cpu_usage"
|
||||
order += "volume master"
|
||||
order += "ipv6"
|
||||
order += "disk /"
|
||||
order += "wireless _first_"
|
||||
order += "ethernet _first_"
|
||||
order += "battery all"
|
||||
order += "load"
|
||||
order += "tztime local"
|
||||
|
||||
# read_file BRIGHTNESS {
|
||||
# format = "BRI %content"
|
||||
# path = "/home/kapper/.config/.brightness"
|
||||
# max_characters = 5
|
||||
# }
|
||||
|
||||
memory 0{
|
||||
|
||||
format = "%free %available%"
|
||||
|
||||
}
|
||||
|
||||
volume master {
|
||||
format = "♪: %volume"
|
||||
format_muted = "♪: muted (%volume)"
|
||||
}
|
||||
|
||||
cpu_usage {
|
||||
format = "CPU %usage {%cpu0 %cpu1}"
|
||||
max_threshold = 75
|
||||
}
|
||||
|
||||
wireless _first_ {
|
||||
format_up = "W: (%quality at %essid) %ip"
|
||||
format_down = "W: down"
|
||||
}
|
||||
|
||||
ethernet _first_ {
|
||||
# if you use %speed, i3status requires root privileges
|
||||
format_up = "E: %ip (%speed)"
|
||||
format_down = "E: down"
|
||||
}
|
||||
|
||||
battery all {
|
||||
format = "%status %percentage %remaining"
|
||||
}
|
||||
|
||||
tztime local {
|
||||
format = "%Y-%m-%d %H:%M:%S"
|
||||
}
|
||||
|
||||
load {
|
||||
format = "%1min"
|
||||
}
|
||||
|
||||
disk "/" {
|
||||
format = "%avail"
|
||||
}
|
||||
|
@ -1,20 +0,0 @@
|
||||
-----BEGIN CERTIFICATE-----
|
||||
MIIDVzCCAj+gAwIBAgIBCjANBgkqhkiG9w0BAQUFADBVMS8wLQYDVQQDDCZfNGNh
|
||||
MDc5ZDlfMDIyNl80ODFmX2JiMDhfMDBhN2M5OGJiMmViXzEMMAoGA1UECgwDS0RF
|
||||
MRQwEgYDVQQLDAtLZGUgY29ubmVjdDAeFw0xOTAxMTkxODUyNDFaFw0yOTAxMTkx
|
||||
ODUyNDFaMFUxLzAtBgNVBAMMJl80Y2EwNzlkOV8wMjI2XzQ4MWZfYmIwOF8wMGE3
|
||||
Yzk4YmIyZWJfMQwwCgYDVQQKDANLREUxFDASBgNVBAsMC0tkZSBjb25uZWN0MIIB
|
||||
IjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAsPH1W71vs9HWDMdoSShA/qqu
|
||||
l5ZnyqaIiDPZDbjMx0/nQEGVFXJN7BpSkB2hoazESIVRdvftijqkJwq76G91vxkO
|
||||
ieOFm1N/AZj41NDeBtiG4enwSWHBGwhVBfBMrzi6u953+8QTKL+zbOpj1744goVW
|
||||
BkWiACGtk2Xj3ANlt+p35WRLSXp5GYgvElU3b5+Ndivc1F+itf+2de9GaW9gLjdl
|
||||
XGquxyHFcZb9ncB2hODQe2bkg/+fAoVP39Scqh2H8FFxttBonzhvZAyd413db6bD
|
||||
bWzXkxr2+I8SFOWy66VodY18Q71QgXx+g7EWXlKIevpNNU6YBKhkJ26klJZRXQID
|
||||
AQABozIwMDAdBgNVHQ4EFgQUlXrEWWSnymjhIQ8X0Ox14FFE6H0wDwYDVR0TAQH/
|
||||
BAUwAwIBADANBgkqhkiG9w0BAQUFAAOCAQEAIBJA0Qlxv9TKr21/syW4icUXBCcL
|
||||
YYDQ8Z688tMs5sqxyK/lCWXS7XZWxw2da+9fbvPNVDdNDZBTktVyAgu1Ch9gaNjj
|
||||
lgqThfD0PlsRFqv6pEHa4b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2K1egGdlzMK/BjjC2vld4sdqrUHiEAySw+MOddqZCCfkzi3JjAng==\n-----END CERTIFICATE-----\n"
|
||||
name=KapperDroid
|
||||
type=smartphone
|
@ -1,2 +0,0 @@
|
||||
[KShortcutsDialog Settings]
|
||||
Dialog Size=600,480
|
@ -1,3 +0,0 @@
|
||||
[yakuake]
|
||||
_k_friendly_name=Yakuake
|
||||
toggle-window-state=F4,F12,Open/Retract Yakuake
|
@ -1,3 +0,0 @@
|
||||
|
||||
[Default Applications]
|
||||
x-scheme-handler/jetbrains=jetbrains-toolbox.desktop
|
@ -1,7 +0,0 @@
|
||||
[window]
|
||||
width=1366
|
||||
height=749
|
||||
sinkInputType=0
|
||||
sourceOutputType=1
|
||||
sinkType=0
|
||||
sourceType=0
|
@ -1,513 +0,0 @@
|
||||
; Polybars
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
|
||||
[bar/top]
|
||||
|
||||
; Polybar Position
|
||||
monitor = ${env:MONITOR}
|
||||
width = 100%
|
||||
height = 34
|
||||
|
||||
; Polybar Color
|
||||
background = #000000
|
||||
foreground = #00c24a
|
||||
line-color = ${bar/bottom.background}
|
||||
line-size = 16
|
||||
spacing = 2
|
||||
|
||||
; Polybar Padding
|
||||
padding-left = 0
|
||||
padding-right = 5
|
||||
|
||||
; Margin Between Modules
|
||||
module-margin = 4
|
||||
|
||||
; Type font
|
||||
font-0 = NotoSans-Regular:size=8;0
|
||||
font-1 = Inconsolata Nerd Font:size=12;0
|
||||
font-2 = Noto Sans Mono:size=8;0
|
||||
|
||||
; Modules
|
||||
modules-left = powermenu weather
|
||||
modules-center = ki3
|
||||
modules-right = info-hackspeed keyboard volume wired-network clock
|
||||
|
||||
[bar/bottom]
|
||||
; Position, size of polybar
|
||||
monitor = ${env:MONITOR}
|
||||
bottom = true
|
||||
width = 100%
|
||||
height = 27
|
||||
|
||||
; Use top bar colors
|
||||
background = ${bar/top.background}
|
||||
foreground = ${bar/top.foreground}
|
||||
line-color = ${bar/top.background}
|
||||
line-size = 2
|
||||
spacing = 3
|
||||
|
||||
; Polybar padding
|
||||
padding-left = 6
|
||||
padding-right = 6
|
||||
|
||||
; Margins between modules
|
||||
module-margin-left = 4
|
||||
module-margin-right = 6
|
||||
|
||||
; Font ssettings, order matters
|
||||
; Top font takes priority over following
|
||||
;font-0 = Source Code Pro:size=10;0
|
||||
font-0 = NotoSans-Regular:size=8;0
|
||||
font-1 = Inconsolata Nerd Font:size=12;0
|
||||
font-2 = Noto Sans Mono:size=8;0
|
||||
|
||||
|
||||
; Modules
|
||||
modules-left = temp-cpu cpu
|
||||
modules-center = popup-utc network public-ip filesystem
|
||||
modules-right = info-idle caffeine temp-gpu memory
|
||||
|
||||
|
||||
; Modules
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
|
||||
|
||||
; Pop-up Calendar
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
[module/popup-utc]
|
||||
type = custom/script
|
||||
exec = ~/.local/bin/i3scripts/popup-calendar
|
||||
interval = 5
|
||||
click-left = ~/.local/bin/i3scripts/popup-calendar --popup
|
||||
|
||||
; Weather
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
[module/weather]
|
||||
type = custom/script
|
||||
exec = ~/.local/bin/i3scripts/weathermap
|
||||
interval = 600
|
||||
;label-font = Font Awesome 5 Free Solid:size=40;0
|
||||
|
||||
; Type Speed
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
[module/info-hackspeed]
|
||||
type = custom/script
|
||||
exec = ~/.local/bin/i3scripts/info-hackspeed
|
||||
tail = true
|
||||
|
||||
; System Idle Time
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
[module/info-idle]
|
||||
type = custom/script
|
||||
exec = ~/.local/bin/i3scripts/info-idle
|
||||
tail = true
|
||||
|
||||
; Disk Space
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
[module/filesystem]
|
||||
type = internal/fs
|
||||
; Mountpoints to display
|
||||
mount-0 = /
|
||||
mount-1 = /home
|
||||
;mount-2 = /var
|
||||
; Seconds to sleep between updates
|
||||
; Default: 30
|
||||
interval = 10
|
||||
; Display fixed precision values
|
||||
; Default: false
|
||||
fixed-values = true
|
||||
;Available tags:
|
||||
; <label-mounted> (default)
|
||||
; <bar-free>
|
||||
; <bar-used>
|
||||
; <ramp-capacity>
|
||||
format-mounted = <label-mounted>
|
||||
; Available tokens:
|
||||
; %mountpoint%
|
||||
; %type%
|
||||
; %fsname%
|
||||
; %percentage_free%
|
||||
; %percentage_used%
|
||||
; %total%
|
||||
; %free%
|
||||
; %used%
|
||||
; Default: %mountpoint% %percentage_free%%
|
||||
label-mounted = %mountpoint% %free%
|
||||
; Spacing between entries
|
||||
; Default: 2
|
||||
spacing = 4
|
||||
|
||||
; Network Status
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
[module/network]
|
||||
type = internal/network
|
||||
interface = enp0s31f6
|
||||
; Available tags:
|
||||
; <label-connected> (default)
|
||||
; <ramp-signal>
|
||||
format-connected = <label-connected>
|
||||
; Available tags:
|
||||
; <label-disconnected> (default)
|
||||
format-disconnected = <label-disconnected>
|
||||
; Available tags:
|
||||
; <label-connected> (default)
|
||||
; <label-packetloss>
|
||||
; <animation-packetloss>
|
||||
format-packetloss = <animation-packetloss> <label-connected>
|
||||
; Default: %ifname% %local_ip%
|
||||
label-connected = %upspeed% / %downspeed:9% 龍 %linkspeed% %local_ip%
|
||||
label-connected-foreground =#00c24a
|
||||
; Default: (none)
|
||||
label-disconnected = not connected
|
||||
label-disconnected-foreground = #d00
|
||||
; Default: (none)
|
||||
;label-packetloss = %essid%
|
||||
;label-packetloss-foreground = #eefafafa
|
||||
; Only applies if <ramp-signal> is used
|
||||
;ramp-signal-0 = 😱
|
||||
;ramp-signal-1 = 😠
|
||||
;ramp-signal-2 = 😒
|
||||
;ramp-signal-3 = 😊
|
||||
;ramp-signal-4 = 😃
|
||||
;ramp-signal-5 = 😈
|
||||
; Only applies if <animation-packetloss> is used
|
||||
;animation-packetloss-0 = ⚠
|
||||
;animation-packetloss-0-foreground = #ffa64c
|
||||
;animation-packetloss-1 = 📶
|
||||
;animation-packetloss-1-foreground = #000000
|
||||
; Framerate in milliseconds
|
||||
;animation-packetloss-framerate = 500
|
||||
; Seconds to sleep between updates
|
||||
; Default: 1
|
||||
interval = 5.0
|
||||
; Test connectivity every Nth update
|
||||
; A value of 0 disables the feature
|
||||
; NOTE: Experimental (needs more testing)
|
||||
; Default: 0
|
||||
;ping-interval = 3
|
||||
; @deprecated: Define min width using token specifiers (%downspeed:min% and %upspeed:min%)
|
||||
; Minimum output width of upload/download rate
|
||||
; Default: 3
|
||||
udspeed-minwidth = 5
|
||||
; Accumulate values from all interfaces
|
||||
; when querying for up/downspeed rate
|
||||
; Default: false
|
||||
accumulate-stats = true
|
||||
; Consider an `UNKNOWN` interface state as up.
|
||||
; Some devices like USB network adapters have
|
||||
; an unknown state, even when they're running
|
||||
; Default: false
|
||||
unknown-as-up = true
|
||||
|
||||
; Show Public IP
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
[module/public-ip]
|
||||
type = custom/script
|
||||
exec = curl -s ifconfig.me
|
||||
interval = 600
|
||||
|
||||
; CPU Temp
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
[module/temp-cpu]
|
||||
type = custom/script
|
||||
; Seconds to sleep between updates
|
||||
; Default: 1
|
||||
interval = 5.0
|
||||
; Full path of temperature sysfs path
|
||||
; Use `sensors` to find preferred temperature source, then run
|
||||
; $ for i in /sys/class/hwmon/hwmon*/temp*_input; do echo "$(<$(dirname $i)/name): $(cat ${i%_*}_label 2>/dev/null || echo $(basename ${i%_*})) $(readlink -f $i)"; done
|
||||
; to find path to desired file
|
||||
; Default reverts to thermal zone setting
|
||||
exec = exec ~/.local/bin/i3scripts/cpusensor
|
||||
format = <label>
|
||||
tail = true
|
||||
label = %output% F°
|
||||
|
||||
; GPU Temp
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
[module/temp-gpu]
|
||||
type = internal/temperature
|
||||
; Seconds to sleep between updates
|
||||
; Default: 1
|
||||
interval = 5.0
|
||||
; Thermal zone to use
|
||||
; To list all the zone types, run
|
||||
; $ for i in /sys/class/thermal/thermal_zone*; do echo "$i: $(<$i/type)"; done
|
||||
; Default: 0
|
||||
thermal-zone = 2
|
||||
; Full path of temperature sysfs path
|
||||
; Use `sensors` to find preferred temperature source, then run
|
||||
; $ for i in /sys/class/hwmon/hwmon*/temp*_input; do echo "$(<$(dirname $i)/name): $(cat ${i%_*}_label 2>/dev/null || echo $(basename ${i%_*})) $(readlink -f $i)"; done
|
||||
; to find path to desired file
|
||||
; Default reverts to thermal zone setting
|
||||
hwmon-path = /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0/hwmon/hwmon3/temp1_input
|
||||
; Base temperature for where to start the ramp (in degrees celsius)
|
||||
; Default: 0
|
||||
base-temperature = 20
|
||||
; Threshold temperature to display warning label (in degrees celsius)
|
||||
; Default: 80
|
||||
warn-temperature = 60
|
||||
; Available tokens:
|
||||
; %temperature% (deprecated)
|
||||
; %temperature-c% (default, temperature in °C)
|
||||
; %temperature-f% (temperature in °F)
|
||||
label = ﲅ %temperature-f%
|
||||
; Available tokens:
|
||||
; %temperature% (deprecated)
|
||||
; %temperature-c% (default, temperature in °C)
|
||||
; %temperature-f% (temperature in °F)
|
||||
label-warn = %temperature-f%
|
||||
label-warn-foreground = #f00
|
||||
|
||||
; Keyboard Status
|
||||
; Locale, Caps, Numlock
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
[module/keyboard]
|
||||
type = internal/xkeyboard
|
||||
; List of indicators to ignore
|
||||
blacklist-1 = scroll lock
|
||||
label-indicator-on-capslock = Caps
|
||||
label-indicator-off-capslock =
|
||||
label-indicator-on-numlock = Num
|
||||
label-indicator-off-numlock =
|
||||
format = <label-indicator> <label-layout>
|
||||
; layout-icon-[0-9]+ = layout;icon
|
||||
; Assign each layout an icon that will be available as %icon% token for the
|
||||
; <label-layout> tag. The part before ';' will try to match %layout% value.
|
||||
label-layout = %name% %icon%
|
||||
;layout-icon-default =
|
||||
;layout-icon-1 = us;
|
||||
|
||||
; System Menus
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
[module/powermenu]
|
||||
type = custom/menu
|
||||
format-padding = 0
|
||||
format = <label-toggle> <menu>
|
||||
label-open = " "
|
||||
label-close = " "
|
||||
menu-0-0 = " pkill poly "
|
||||
menu-0-0-foreground = #fba922
|
||||
menu-0-0-exec = pkill -f polybar
|
||||
menu-0-1 = " i3 restart "
|
||||
menu-0-1-foreground = #fba922
|
||||
;menu-0-1-background = #141414
|
||||
menu-0-1-exec = i3 restart
|
||||
menu-0-2 = " Reboot "
|
||||
menu-0-2-foreground = #fba922
|
||||
menu-0-2-exec = sudo reboot
|
||||
menu-0-3 = " Power off "
|
||||
menu-0-3-foreground = #fba922
|
||||
menu-0-3-exec = sudo poweroff
|
||||
menu-0-4 = " Lock "
|
||||
menu-0-4-foreground = #fba922
|
||||
menu-0-4-exec = i3lock -c 000000
|
||||
|
||||
; Pseudo-Caffeine
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
[module/caffeine]
|
||||
type = custom/menu
|
||||
format = <menu> <label-toggle>
|
||||
label-open = " "
|
||||
label-close = " "
|
||||
label-open-padding = 0
|
||||
label-close-padding = 1
|
||||
label-separator = " "
|
||||
menu-0-0 = " ﮣ "
|
||||
menu-0-0-exec = source /home/kapper/.local/bin/i3scripts/xoffee enable
|
||||
menu-0-1 = " ﮤ "
|
||||
menu-0-1-exec = source /home/kapper/.local/bin/i3scripts/xoffee disable
|
||||
|
||||
; CPU Core Usages
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
[module/cpu]
|
||||
type = internal/cpu
|
||||
interval = 5
|
||||
format = <ramp-coreload> <label>
|
||||
label = %percentage-cores%
|
||||
ramp-coreload-0 = ▁
|
||||
ramp-coreload-0-font = 2
|
||||
ramp-coreload-0-foreground = #aaff77
|
||||
ramp-coreload-1 = ▂
|
||||
ramp-coreload-1-font = 2
|
||||
ramp-coreload-1-foreground = #aaff77
|
||||
ramp-coreload-2 = ▃
|
||||
ramp-coreload-2-font = 2
|
||||
ramp-coreload-2-foreground = #aaff77
|
||||
ramp-coreload-3 = ▄
|
||||
ramp-coreload-3-font = 2
|
||||
ramp-coreload-3-foreground = #aaff77
|
||||
ramp-coreload-4 = ▅
|
||||
ramp-coreload-4-font = 2
|
||||
ramp-coreload-4-foreground = #fba922
|
||||
ramp-coreload-5 = ▆
|
||||
ramp-coreload-5-font = 2
|
||||
ramp-coreload-5-foreground = #fba922
|
||||
ramp-coreload-6 = ▇
|
||||
ramp-coreload-6-font = 2
|
||||
ramp-coreload-6-foreground = #ff5555
|
||||
ramp-coreload-7 = █
|
||||
ramp-coreload-7-font = 2
|
||||
ramp-coreload-7-foreground = #ff5555
|
||||
|
||||
; UTC Date / Time
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
[module/clock-utc]
|
||||
type = custom/script
|
||||
exec = TZ=UTC date +"UTC: %%{F#999}%Y-%m-%d%%{F-} %%{F#fff}%H:%M%%{F-}"
|
||||
interval = 30
|
||||
|
||||
; Local Date / Time
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
[module/clock]
|
||||
type = internal/date
|
||||
interval = 30
|
||||
date = %%{F#999}%Y-%m-%d%%{F-} %%{F#fff}%H:%M%%{F-}
|
||||
|
||||
; Local Date
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
[module/date]
|
||||
type = internal/date
|
||||
date = %%{F#99}%Y-%m-%d%%{F-} %%{F#fff}%H:%M%%{F-}
|
||||
date-alt = %%{F#fff}%A, %d %B %Y %%{F#fff}%H:%M%%{F#666}:%%{F#fba922}%S%%{F-}
|
||||
|
||||
|
||||
; Memory Usage
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
[module/memory]
|
||||
type = internal/memory
|
||||
format = <label> <bar-used>
|
||||
label =
|
||||
bar-used-width = 30
|
||||
bar-used-foreground-0 = #aaff77
|
||||
bar-used-foreground-1 = #aaff77
|
||||
bar-used-foreground-2 = #fba922
|
||||
bar-used-foreground-3 = #ff5555
|
||||
bar-used-indicator = |
|
||||
bar-used-indicator-font = 6
|
||||
bar-used-indicator-foreground = #ff
|
||||
bar-used-fill = ─
|
||||
bar-used-fill-font = 6
|
||||
bar-used-empty = -
|
||||
bar-used-empty-font = 6
|
||||
bar-used-empty-foreground = #444444
|
||||
|
||||
; I3 Workspace Display
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
[module/ki3]
|
||||
type = internal/i3
|
||||
; Only show workspaces defined on the same output as the bar
|
||||
;
|
||||
; Useful if you want to show monitor specific workspaces
|
||||
; on different bars
|
||||
;
|
||||
; Default: false
|
||||
pin-workspaces = true
|
||||
; This will split the workspace name on ':'
|
||||
; Default: false
|
||||
strip-wsnumbers = false
|
||||
; Sort the workspaces by index instead of the default
|
||||
; sorting that groups the workspaces by output
|
||||
; Default: false
|
||||