new computer, who dis?
This commit is contained in:
parent
f453eed9e0
commit
f23e8f5e65
5 changed files with 14 additions and 66 deletions
|
@ -8,7 +8,7 @@ status.register("pulseaudio",
|
|||
format="♪I {volume}%",
|
||||
format_muted="♪I -∞dB",
|
||||
step="2",
|
||||
sink="alsa_output.pci-0000_00_1f.3.analog-stereo")
|
||||
sink="alsa_output.pci-0000_07_00.6.HiFi__hw_Generic_1__sink")
|
||||
status.register("pulseaudio",
|
||||
format="♪D {volume}%",
|
||||
format_muted="♪D -∞dB",
|
||||
|
@ -17,9 +17,9 @@ status.register("pulseaudio",
|
|||
|
||||
status.register("backlight",
|
||||
format="{percentage}%",
|
||||
backlight="intel_backlight",
|
||||
on_leftclick="xbacklight =10",
|
||||
on_rightclick="xbacklight =50",
|
||||
backlight="amdgpu_bl0",
|
||||
on_leftclick="sudo light -S 10",
|
||||
on_rightclick="sudo light -S 50",
|
||||
interval=1)
|
||||
|
||||
status.register("shell",
|
||||
|
@ -42,16 +42,6 @@ status.register("battery",
|
|||
"CHR": "↑",
|
||||
"FULL": "",
|
||||
})
|
||||
status.register("battery",
|
||||
battery_ident="BAT1",
|
||||
format="B1: {status}{percentage:.2f}% {remaining:%E%h:%M}",
|
||||
alert=True,
|
||||
alert_percentage=5,
|
||||
status={
|
||||
"DIS": "↓",
|
||||
"CHR": "↑",
|
||||
"FULL": "",
|
||||
})
|
||||
|
||||
status.register("load",
|
||||
format="{avg1}")
|
||||
|
@ -81,13 +71,6 @@ status.register("shell",
|
|||
on_leftclick='systemctl --user start redshift.service',
|
||||
on_rightclick='systemctl --user stop redshift.service',
|
||||
interval=1)
|
||||
status.register("shell",
|
||||
format="{output}",
|
||||
hints = {"markup": "pango"},
|
||||
command="/home/kunsi/.config/i3pystatus/touchscreen.sh",
|
||||
interval=1,
|
||||
on_leftclick="xinput enable 'ELAN Touchscreen'",
|
||||
on_rightclick="xinput disable 'ELAN Touchscreen'")
|
||||
status.register("shell",
|
||||
format="{output}",
|
||||
hints = {"markup": "pango"},
|
||||
|
@ -110,7 +93,7 @@ status.register("network",
|
|||
detect_active=True,
|
||||
freq_divisor=1000000000,
|
||||
divisor=1024,
|
||||
on_leftclick="xiate -class xiate-floating -e sudo wifi-menu",
|
||||
on_leftclick="kitty --class terminal-floating -e sudo wifi-menu",
|
||||
hints={"markup":"pango"})
|
||||
|
||||
#status.register("mpd",
|
||||
|
|
|
@ -26,7 +26,7 @@ def format_time(seconds):
|
|||
|
||||
|
||||
try:
|
||||
wifi_ssid = check_output("iw dev wlp4s0 link | awk '/SSID/ {print $2}'", shell=True).decode().strip().lower()
|
||||
wifi_ssid = check_output("iw dev wlp3s0 link | awk '/SSID/ {print $2}'", shell=True).decode().strip().lower()
|
||||
|
||||
if wifi_ssid not in (
|
||||
'wifi@db',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue