mirror of
https://github.com/ivabus/dotfiles
synced 2024-11-24 09:05:07 +03:00
Shortify net in waybar, add alias for building rpi nixos images
Signed-off-by: Ivan Bushchik <ivabus@ivabus.dev>
This commit is contained in:
parent
5954827fe3
commit
12f412a165
2 changed files with 8 additions and 5 deletions
|
@ -79,3 +79,6 @@ alias reload_net="sudo systemctl restart NetworkManager wpa_supplicant" # iwd"
|
||||||
# Diskutil aliases
|
# Diskutil aliases
|
||||||
alias dadc="diskutil apfs deleteContainer"
|
alias dadc="diskutil apfs deleteContainer"
|
||||||
alias devff="diskutil eraseVolume free free"
|
alias devff="diskutil eraseVolume free free"
|
||||||
|
|
||||||
|
# TODO: convert to pretty function
|
||||||
|
alias build_rpi_nix="nix build path:/etc/nixos#nixosConfigurations.rubusidaeus.config.system.build.sdImage"
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
"position": "top",
|
"position": "top",
|
||||||
"modules-left": ["sway/workspaces", "sway/mode"],
|
"modules-left": ["sway/workspaces", "sway/mode"],
|
||||||
"modules-center": [],
|
"modules-center": [],
|
||||||
"modules-right": ["tray", "idle_inhibitor", "cpu", "memory", "wireplumber", "network", "battery", "sway/language", "clock"],
|
"modules-right": ["tray", "idle_inhibitor", "cpu", "memory", "wireplumber", "battery", "sway/language", "clock"],
|
||||||
"sway/mode": {
|
"sway/mode": {
|
||||||
"format": "<span style=\"italic\">{}</span>"
|
"format": "<span style=\"italic\">{}</span>"
|
||||||
},
|
},
|
||||||
|
@ -64,10 +64,10 @@
|
||||||
"interval": 10
|
"interval": 10
|
||||||
},
|
},
|
||||||
"network": {
|
"network": {
|
||||||
"format": "Network via {ifname}",
|
"format": "Net via {ifname}",
|
||||||
"tooltip-format": "{ipaddr}/{cidr}",
|
"tooltip-format": "{ipaddr}/{cidr}",
|
||||||
"format-linked": "Network (No IP) via {ifname}",
|
"format-linked": "Net (No IP) via {ifname}",
|
||||||
"format-disconnected": "No network",
|
"format-disconnected": "No net",
|
||||||
"on-click": "nm-connection-editor"
|
"on-click": ""
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue