mirror of
https://github.com/Dejvino/pinephone-sway-poc.git
synced 2024-11-14 02:47:28 +00:00
Added kill button. Added launchers for CPU, MEM and Network status buttons.
This commit is contained in:
parent
d4d657d164
commit
b6346d721c
@ -36,10 +36,11 @@ That's it. You should now have everything in place. Reboot to use the new settin
|
||||
* postmarketOS - base Linux distribution (though any other would work as well)
|
||||
* sway (pmos package) - tiling Wayland compositor
|
||||
* squeekboard (pmos package) - on-screen keyboard for Wayland
|
||||
** [terminal.yaml](https://source.puri.sm/btantau/squeekboard/blob/btantau-master-patch-76686/data/keyboards/terminal.yaml) - keyboard layout based on this improved version
|
||||
* * [terminal.yaml](https://source.puri.sm/btantau/squeekboard/blob/btantau-master-patch-76686/data/keyboards/terminal.yaml) - keyboard layout based on this improved version
|
||||
* bemenu (pmos package) - app launcher
|
||||
* waybar (pmos package) - Wayland status bar
|
||||
** [carlosdss22/dotfiles](https://github.com/carlosdss22/dotfiles/tree/master/waybar) - styles used
|
||||
* * [carlosdss22/dotfiles](https://github.com/carlosdss22/dotfiles/tree/master/waybar) - styles used
|
||||
* htop (pmos package) - Processes monitoring
|
||||
* [sxmo-lisgd](https://git.sr.ht/~mil/lisgd) - gesture detection daemon
|
||||
* [sxmo-utils](https://git.sr.ht/~mil/sxmo-utils) - various utilities for the PinePhone
|
||||
|
||||
|
@ -18,7 +18,7 @@ set $term termite
|
||||
# Your preferred application launcher
|
||||
# Note: pass the final command to swaymsg so that the resulting window can be opened
|
||||
# on the original workspace that the command was run on.
|
||||
set $menu bemenu-run | xargs swaymsg exec --
|
||||
set $menu bemenu-run -n -p RUN | xargs swaymsg exec --
|
||||
|
||||
### Output configuration
|
||||
#
|
||||
|
@ -7,6 +7,7 @@
|
||||
"position": "bottom",
|
||||
|
||||
"modules-left": [
|
||||
"custom/kill",
|
||||
"cpu",
|
||||
"memory"
|
||||
// "disk"
|
||||
@ -24,6 +25,10 @@
|
||||
|
||||
//MODULES
|
||||
|
||||
"custom/kill": {
|
||||
"on-click": "swaymsg kill",
|
||||
"format": "[x]"
|
||||
},
|
||||
|
||||
"battery": {
|
||||
"interval": 1,
|
||||
@ -55,7 +60,8 @@
|
||||
"states": {
|
||||
"warning": 70,
|
||||
"critical": 90
|
||||
}
|
||||
},
|
||||
"on-click": "termite -e \"htop --sort-key=PERCENT_CPU\""
|
||||
},
|
||||
|
||||
|
||||
@ -65,7 +71,8 @@
|
||||
"states": {
|
||||
"warning": 70,
|
||||
"critical": 90
|
||||
}
|
||||
},
|
||||
"on-click": "termite -e \"htop --sort-key=PERCENT_MEM\""
|
||||
},
|
||||
|
||||
"network": {
|
||||
@ -74,7 +81,7 @@
|
||||
"format-ethernet": " {ifname}", // Icon: ethernet
|
||||
"format-disconnected": "Disconnected",
|
||||
"tooltip-format": "{ifname}: {ipaddr}",
|
||||
"on-click": "swaymsg exec cmst"
|
||||
"on-click": "swaymsg exec \"termite -e nmtui\""
|
||||
},
|
||||
|
||||
"sway/mode": {
|
||||
|
@ -27,6 +27,8 @@
|
||||
#network,
|
||||
#pulseaudio,
|
||||
#custom-alsa,
|
||||
#custom-kill,
|
||||
#custom.kill,
|
||||
#tray {
|
||||
padding-left: 8px;
|
||||
padding-right: 8px;
|
||||
@ -120,6 +122,11 @@
|
||||
color: #282828;
|
||||
}
|
||||
|
||||
#custom-kill {
|
||||
background: #a32a03;
|
||||
color: #282828;
|
||||
}
|
||||
|
||||
#tray {
|
||||
background: transparent;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user