I have added a foot.ini which preserves the color scheme that had been set up on xfce4-terminal (with the purple background and transparency), except using the Material color scheme for terminal fonts. The bright colors of the fonts look good on the purple, and are easier to read than the old font colors. Other changes in this PR: * Add foot to package lists; remove xfce4-terminal * Autostart foot-server in Sway config * Change default terminal in Sway config * Change Waybar on-click actions to use footclient instead of xfce4-terminal * Update cheatsheet, keyhint files * Update Wofi, Thunar configs to use footclient instead of xfce4-terminal
203 lines
5.0 KiB
Plaintext
203 lines
5.0 KiB
Plaintext
// Global
|
|
{
|
|
"layer": "top",
|
|
"position": "top",
|
|
|
|
// If height property would be not present, it'd be calculated dynamically
|
|
"height": 30,
|
|
|
|
"modules-left": [
|
|
"custom/launcher",
|
|
"sway/workspaces",
|
|
"sway/mode",
|
|
"sway/window",
|
|
],
|
|
|
|
"modules-center": [
|
|
],
|
|
|
|
"modules-right": [
|
|
"network",
|
|
"idle_inhibitor",
|
|
"memory",
|
|
"cpu",
|
|
"pulseaudio",
|
|
"custom/keyboard-layout",
|
|
"battery",
|
|
"backlight#icon",
|
|
"backlight#value",
|
|
"clock",
|
|
"tray",
|
|
//"custom/weather",
|
|
"custom/power",
|
|
],
|
|
|
|
// Modules
|
|
|
|
"idle_inhibitor": {
|
|
"format": "{icon} ",
|
|
"format-icons":{
|
|
"activated": "",
|
|
"deactivated": ""
|
|
}
|
|
},
|
|
|
|
"battery": {
|
|
"states": {
|
|
"warning": 30,
|
|
"critical": 15
|
|
},
|
|
"format": "{icon} {capacity}%",
|
|
"format-icons": ["", "", "", "", ""]
|
|
},
|
|
|
|
"clock": {
|
|
"interval": 10,
|
|
"format-alt": " {:%e %b %Y}", // Icon: calendar-alt
|
|
"format": "{:%H:%M}",
|
|
"tooltip-format": "{:%e %B %Y}"
|
|
},
|
|
|
|
"cpu": {
|
|
"interval": 5,
|
|
"format": " {usage}% ({load})", // Icon: microchip
|
|
"states": {
|
|
"warning": 70,
|
|
"critical": 90,
|
|
},
|
|
"on-click": "footclient -T waybar_htop -e htop",
|
|
},
|
|
|
|
"custom/keyboard-layout": {
|
|
"exec": "swaymsg -t get_inputs | grep -m1 'xkb_active_layout_name' | cut -d '\"' -f4",
|
|
// Interval set only as a fallback, as the value is updated by signal
|
|
"interval": 30,
|
|
"format": " {}", // Icon: keyboard
|
|
// Signal sent by Sway key binding (~/.config/sway/key-bindings)
|
|
"signal": 1, // SIGHUP
|
|
"tooltip": false,
|
|
"on-click": "~/.config/waybar/scripts/keyhint.sh",
|
|
},
|
|
|
|
"memory": {
|
|
"interval": 5,
|
|
"format": " {}%", // Icon: memory
|
|
"on-click": "footclient -T waybar_htop -e htop",
|
|
"states": {
|
|
"warning": 70,
|
|
"critical": 90
|
|
}
|
|
},
|
|
|
|
"network": {
|
|
"interval": 5,
|
|
"format-wifi": " {essid} ({signalStrength}%)", // Icon: wifi
|
|
"format-ethernet": " {ifname}: {ipaddr}/{cidr}", // Icon: ethernet
|
|
"format-disconnected": "⚠ Disconnected",
|
|
"tooltip-format": "{ifname}: {ipaddr}",
|
|
"on-click": "footclient -T waybar_nmtui -e nmtui",
|
|
},
|
|
"network#vpn": {
|
|
"interface": "tun0",
|
|
"format": " {essid} ({signalStrength}%)",
|
|
"format-disconnected": "⚠ Disconnected",
|
|
"tooltip-format": "{ifname}: {ipaddr}/{cidr}",
|
|
},
|
|
|
|
"sway/mode": {
|
|
"format": "{}",
|
|
"tooltip": false
|
|
},
|
|
|
|
"sway/window": {
|
|
"format": "{}",
|
|
"max-length": 120
|
|
},
|
|
|
|
"sway/workspaces": {
|
|
"disable-scroll": true,
|
|
"disable-markup" : false,
|
|
"all-outputs": true,
|
|
"format": " {icon} ",
|
|
//"format":"{icon}",
|
|
"format-icons": {
|
|
"1": "",
|
|
"2": "",
|
|
"3": "",
|
|
"4": "",
|
|
}
|
|
},
|
|
|
|
"pulseaudio": {
|
|
"scroll-step": 2,
|
|
"format": "{icon} {volume}%",
|
|
"format-muted":" muted",
|
|
"format-icons": {
|
|
"headphones": "",
|
|
"handsfree": "",
|
|
"headset": "",
|
|
"phone": "",
|
|
"portable": "",
|
|
"car": "",
|
|
"default": ["", "", ""]
|
|
},
|
|
"on-click": "pavucontrol"
|
|
},
|
|
|
|
// to use the weather module replace <your_location> with your city or town
|
|
// note: do not use spaces: new york would be newyork
|
|
"custom/weather": {
|
|
"exec": "~/.config/waybar/scripts/weather.sh <your_location>",
|
|
"return-type": "json",
|
|
"interval": 600,
|
|
},
|
|
|
|
"tray": {
|
|
"icon-size": 18,
|
|
"spacing":10,
|
|
},
|
|
|
|
"backlight#icon": {
|
|
"format": "{icon}",
|
|
"format-icons": [""],
|
|
"on-scroll-down": "brightnessctl -c backlight set 1%-",
|
|
"on-scroll-up": "brightnessctl -c backlight set +1%"
|
|
},
|
|
|
|
"backlight#value" :{
|
|
"format": "{percent}%",
|
|
"on-scroll-down": "brightnessctl -c backlight set 1%-",
|
|
"on-scroll-up": "brightnessctl -c backlight set +1%"
|
|
},
|
|
|
|
"custom/firefox": {
|
|
"format": " ",
|
|
"on-click": "exec firefox",
|
|
"tooltip": false
|
|
},
|
|
|
|
"custom/terminal": {
|
|
"format": " ",
|
|
"on-click": "exec xfce4-terminal",
|
|
"tooltip": false
|
|
},
|
|
|
|
"custom/files": {
|
|
"format": " ",
|
|
"on-click": "exec thunar",
|
|
"tooltip": false
|
|
},
|
|
|
|
"custom/launcher": {
|
|
"format":"<span size='x-large'></span>",
|
|
"on-click": "exec wofi -c ~/.config/wofi/config -I",
|
|
"tooltip": false,
|
|
},
|
|
|
|
"custom/power": {
|
|
"format":"⏻",
|
|
"on-click": "exec ~/.config/waybar/scripts/power-menu.sh",
|
|
"tooltip": false,
|
|
},
|
|
}
|