extensive update: some cleanup, todo/agenda changes, publishing system, swayfx, WIPs, etc.
This commit is contained in:
@ -6,38 +6,60 @@
|
||||
// Choose the order of the modules
|
||||
"modules-left": ["sway/workspaces", "sway/mode", "custom/media"],
|
||||
"modules-center": [],
|
||||
"modules-right": ["idle_inhibitor", "mpd", "pulseaudio", "network", "cpu", "memory", "temperature", "battery", "clock", "tray", "custom/swaync", "custom/emacsstatus"],
|
||||
//"modules-right": ["idle_inhibitor", "mpd", "pulseaudio", "network", "cpu", "memory", "temperature", "battery", "custom/scratchpad_indicator", "clock", "tray", "custom/swaync", "custom/emacsstatus" ],
|
||||
"modules-right": ["mpd", "pulseaudio", "network", "battery", "custom/scratchpad_indicator", "clock", "tray", "custom/swaync", "custom/emacsstatus" ],
|
||||
"sway/workspaces": {
|
||||
"disable-scroll-wraparound": true
|
||||
},
|
||||
// Modules configuration
|
||||
"sway/workspaces": {
|
||||
"persistent_workspaces": {
|
||||
"1": ["HDMI-A-1"],
|
||||
"2": ["HDMI-A-1"],
|
||||
"3": ["HDMI-A-1"],
|
||||
"4": ["HDMI-A-1"],
|
||||
"5": ["HDMI-A-1"],
|
||||
"6": ["DVI-D-1"],
|
||||
"7": ["DVI-D-1"],
|
||||
"8": ["DVI-D-1"],
|
||||
"9": ["DVI-D-1"],
|
||||
"10": ["DVI-D-1"]
|
||||
// "1": ["DVI-D-1"],
|
||||
// "2": ["DVI-D-1"],
|
||||
// "3": ["DVI-D-1"],
|
||||
// "4": ["DVI-D-1"],
|
||||
// "5": ["DVI-D-1"],
|
||||
// "6": ["HDMI-A-1"],
|
||||
// "7": ["HDMI-A-1"],
|
||||
// "8": ["HDMI-A-1"],
|
||||
// "9": ["HDMI-A-1"],
|
||||
// "10": ["HDMI-A-1"],
|
||||
//"1": ["HDMI-A-1"],
|
||||
//"2": ["HDMI-A-1"],
|
||||
//"3": ["HDMI-A-1"],
|
||||
//"4": ["HDMI-A-1"],
|
||||
//"5": ["HDMI-A-1"],
|
||||
//"6": ["DVI-D-1"],
|
||||
//"7": ["DVI-D-1"],
|
||||
//"8": ["DVI-D-1"],
|
||||
//"9": ["DVI-D-1"],
|
||||
//"10": ["DVI-D-1"]
|
||||
},
|
||||
// "disable-scroll": true,
|
||||
"all-outputs": false,
|
||||
"format": "{icon}",
|
||||
"format": "{name}",
|
||||
"format-icons": {
|
||||
"1": "1-em", // emacs
|
||||
"2": "2-se", // search/web
|
||||
"3": "3-tm", // terminal
|
||||
"4": "4-gm",
|
||||
"5": "5",
|
||||
"6": "6",
|
||||
"7": "7",
|
||||
"8": "8-sch", // schedule
|
||||
"9": "9-comms",
|
||||
"10": "10-mon", // monitor
|
||||
// "1": "1",
|
||||
// "2": "2",
|
||||
// "3": "3-sch", // schedule
|
||||
// "4": "4-comms",
|
||||
// "5": "5-mon", // monitor
|
||||
// "6": "6-em", // emacs
|
||||
// "7": "7-se", // search/web
|
||||
// "8": "8-tm", // terminal
|
||||
// "9": "9-gm",
|
||||
// "10": "10",
|
||||
|
||||
//"1": "1-em", // emacs
|
||||
//"2": "2-se", // search/web
|
||||
//"3": "3-tm", // terminal
|
||||
//"4": "4-gm",
|
||||
//"5": "5",
|
||||
//"6": "6",
|
||||
//"7": "7",
|
||||
//"8": "8-sch", // schedule
|
||||
//"9": "9-comms",
|
||||
//"10": "10-mon", // monitor
|
||||
}
|
||||
},
|
||||
"keyboard-state": {
|
||||
@ -66,8 +88,10 @@
|
||||
"clock": {
|
||||
// "timezone": "America/New_York",
|
||||
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
|
||||
"format": "{:%Y-%m-%d %H:%M:%S}",
|
||||
"format": "{:%H:%M}",
|
||||
//"format": "{:%Y-%m-%d %H:%M:%S}",
|
||||
//"format": "{:%Y-%m-%d %I:%M:%S %p}",
|
||||
//"format": "day # {:%j}",
|
||||
"interval": 1
|
||||
},
|
||||
"cpu": {
|
||||
@ -96,7 +120,8 @@
|
||||
"format-ethernet": " {ifname}: {ipaddr}/{cidr}",
|
||||
"format-linked": " {ifname} (No IP)",
|
||||
"format-disconnected": "⚠ Disconnected",
|
||||
"format-alt": "{ifname}: {ipaddr}/{cidr}"
|
||||
//"format-alt": "{ifname}: {ipaddr}/{cidr}"
|
||||
"on-click": "$TERMINAL -e nmtui"
|
||||
},
|
||||
"pulseaudio": {
|
||||
// "scroll-step": 1, // %, can be a float
|
||||
@ -164,8 +189,18 @@
|
||||
"restart-interval": 1
|
||||
},
|
||||
"custom/emacsstatus": {
|
||||
"return-type": "json",
|
||||
"exec": "~/.config/waybar/scripts/emacs-status.sh",
|
||||
"on-click": "emacsclient -c || emacs",
|
||||
"format": "{}",
|
||||
"restart-interval": 3
|
||||
}
|
||||
},
|
||||
"custom/scratchpad_indicator": {
|
||||
"interval": 1,
|
||||
"return-type": "json",
|
||||
"exec": "swaymsg -t get_tree | jq --unbuffered --compact-output '( select(.name == \"root\") | .nodes[] | select(.name == \"__i3\") | .nodes[] | select(.name == \"__i3_scratch\") | .focus) as $scratch_ids | [.. | (.nodes? + .floating_nodes?) // empty | .[] | select(.id |IN($scratch_ids[]))] as $scratch_nodes | { text: \"\\($scratch_nodes | length)\", tooltip: $scratch_nodes | map(\"\\(.app_id // .window_properties.class) (\\(.id)): \\(.name)\") | join(\"\\n\") }'",
|
||||
"format": " {}",
|
||||
"on-click": "exec swaymsg 'scratchpad show'",
|
||||
"on-click-right": "exec swaymsg 'move scratchpad'"
|
||||
},
|
||||
}
|
||||
|
Reference in New Issue
Block a user