migrate dotfiles to this repository
This commit is contained in:
53
home/.config/i3status-rust/bottom-config.toml
Normal file
53
home/.config/i3status-rust/bottom-config.toml
Normal file
@@ -0,0 +1,53 @@
|
||||
[theme]
|
||||
theme = "kanagawa"
|
||||
[theme.overrides]
|
||||
separator = "<span size='13000'></span>"
|
||||
|
||||
[icons]
|
||||
icons = "material-nf"
|
||||
|
||||
[[block]]
|
||||
block = "privacy"
|
||||
[[block.driver]]
|
||||
name = "pipewire"
|
||||
|
||||
[[block]]
|
||||
block = "music"
|
||||
format = " $icon {$combo.str(max_w:70) $prev $next |}"
|
||||
[[block.click]]
|
||||
button = "left"
|
||||
action = "play_pause"
|
||||
|
||||
[[block]]
|
||||
block = "bluetooth"
|
||||
mac = "20:74:CF:B5:B7:7A"
|
||||
format = " $icon $name{ $percentage|} "
|
||||
disconnected_format = ""
|
||||
|
||||
[[block]]
|
||||
block = "bluetooth"
|
||||
mac = "28:11:A5:6B:44:8B"
|
||||
format = " $icon $name{ $percentage|} "
|
||||
disconnected_format = ""
|
||||
|
||||
[[block]]
|
||||
block = "bluetooth"
|
||||
mac = "00:1E:7C:50:24:8F"
|
||||
format = " $icon $name{ $percentage|} "
|
||||
disconnected_format = ""
|
||||
|
||||
[[block]]
|
||||
block = "toggle"
|
||||
format = " $icon ensivpn "
|
||||
command_state = 'nmcli -f general.state con show Ensimag-VPN-ETU-udp | grep -v deactivated'
|
||||
command_on = "pass show web/ensimag.fr | head -n 1 | nmcli c up Ensimag-VPN-ETU-udp --ask"
|
||||
command_off = "nmcli c down Ensimag-VPN-ETU-udp"
|
||||
|
||||
[[block]]
|
||||
block = "net"
|
||||
interval = 10
|
||||
device = "wlan0"
|
||||
format = " $icon {$ssid|$device} "
|
||||
[[block.click]]
|
||||
button = "left"
|
||||
cmd = "iwgtk"
|
||||
78
home/.config/i3status-rust/config.toml
Normal file
78
home/.config/i3status-rust/config.toml
Normal file
@@ -0,0 +1,78 @@
|
||||
[theme]
|
||||
theme = "kanagawa"
|
||||
[theme.overrides]
|
||||
separator = "<span size='17000'></span>"
|
||||
|
||||
[icons]
|
||||
icons = "material-nf"
|
||||
[icons.overrides]
|
||||
sleep = ""
|
||||
no_sleep = ""
|
||||
|
||||
[[block]]
|
||||
block = "toggle"
|
||||
format = " $icon "
|
||||
command_state = "pgrep swayidle"
|
||||
command_on = "swaymsg 'exec swayidle -w'"
|
||||
command_off = "pkill swayidle"
|
||||
icon_on = "sleep"
|
||||
icon_off = "no_sleep"
|
||||
|
||||
[[block]]
|
||||
block = "toggle"
|
||||
format = " $icon "
|
||||
command_state = 'if [ "$($HOME/bin/darkmode status)" = "dark" ]; then echo y; fi'
|
||||
command_on = "$HOME/bin/darkmode toggle"
|
||||
command_off = "$HOME/bin/darkmode toggle"
|
||||
|
||||
[[block]]
|
||||
block = "hueshift"
|
||||
format = " {$temperature} "
|
||||
click_temp = 4000
|
||||
|
||||
[[block]]
|
||||
block = "backlight"
|
||||
format = " $icon $brightness.eng(width:1) "
|
||||
step_width = 1
|
||||
minimum = 1
|
||||
|
||||
[[block]]
|
||||
block = "sound"
|
||||
driver = "pulseaudio"
|
||||
headphones_indicator = true
|
||||
show_volume_when_muted = true
|
||||
format = " $icon $volume.eng(width:1) "
|
||||
[[block.click]]
|
||||
button = "left"
|
||||
cmd = "pavucontrol"
|
||||
[block.theme_overrides]
|
||||
warning_bg = { link = "idle_bg" }
|
||||
warning_fg = { link = "idle_fg"}
|
||||
idle_bg = { link = "info_bg" }
|
||||
idle_fg = { link = "info_fg"}
|
||||
|
||||
[[block]]
|
||||
block = "battery"
|
||||
interval = 30
|
||||
format = " $icon $percentage "
|
||||
full_format = " $icon $percentage "
|
||||
|
||||
[[block]]
|
||||
block = "keyboard_layout"
|
||||
driver = "sway"
|
||||
sway_kb_identifier = "1267:12613:ASUE140C:00_04F3:3145_Keyboard"
|
||||
format = " $layout "
|
||||
[[block.click]]
|
||||
button = "left"
|
||||
cmd = "swaymsg input '1267:12613:ASUE140C:00_04F3:3145_Keyboard' xkb_switch_layout next"
|
||||
[block.mappings]
|
||||
"French (N/A)" = "fr"
|
||||
"English (Colemak-DH)" = "colemak-dh"
|
||||
"English (US)" = "en"
|
||||
|
||||
[[block]]
|
||||
block = "time"
|
||||
interval = 10
|
||||
[block.format]
|
||||
full = " $icon $timestamp.datetime(f:'%a %d/%m/%y %R', l:fr_FR) "
|
||||
short = " $icon $timestamp.datetime(f:'%R')"
|
||||
14
home/.config/i3status-rust/themes/kanagawa.toml
Normal file
14
home/.config/i3status-rust/themes/kanagawa.toml
Normal file
@@ -0,0 +1,14 @@
|
||||
idle_bg = "#151515"
|
||||
idle_fg = "#dcd7ba"
|
||||
info_bg = "#2d4f67"
|
||||
info_fg = "#dcd7ba"
|
||||
good_bg = "#151515"
|
||||
good_fg = "#98971a"
|
||||
warning_bg = "#ff9e3b"
|
||||
warning_fg = "#16161D"
|
||||
critical_bg = "#e82424"
|
||||
critical_fg = "#dcd7ba"
|
||||
separator = "\ue0b2"
|
||||
separator_bg = "auto"
|
||||
separator_fg = "auto"
|
||||
alternating_tint_bg = "#151515"
|
||||
Reference in New Issue
Block a user