mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-07-13 11:44:21 +02:00
i3-companion: replace network module by custom IPC for Network Manager
This commit is contained in:
parent
b3c386b778
commit
7df5011824
3 changed files with 176 additions and 33 deletions
|
@ -1,7 +1,5 @@
|
|||
#!/bin/sh
|
||||
|
||||
export LAN=$(nmcli -t device | awk -F: '($2 == "ethernet") {print $1; exit}')
|
||||
export WLAN=$(nmcli -t device | awk -F: '($2 == "wifi") {print $1; exit}')
|
||||
export DPI=$(xrdb -query | sed -nE 's/^Xft\.dpi:\s*//p')
|
||||
export HEIGHT=$((20 * DPI / 96))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue