[sway] Remove window titles and add temp to bar
This commit is contained in:
parent
46dd020868
commit
c2902db98f
2 changed files with 12 additions and 1 deletions
|
@ -220,4 +220,8 @@ bindsym Print exec grim -t png /tmp/screen.png
|
||||||
# Take area screenshot with Shift+PrtScr
|
# Take area screenshot with Shift+PrtScr
|
||||||
bindsym Shift+Print exec slurp
|
bindsym Shift+Print exec slurp
|
||||||
|
|
||||||
|
# Remove title from windows
|
||||||
|
default_border pixel 1
|
||||||
|
bindsym $mod+t border toggle
|
||||||
|
|
||||||
include /etc/sway/config.d/*
|
include /etc/sway/config.d/*
|
||||||
|
|
|
@ -5,12 +5,19 @@
|
||||||
// Choose the order of the modules
|
// Choose the order of the modules
|
||||||
"modules-left": ["sway/workspaces", "sway/mode", "sway/window"],
|
"modules-left": ["sway/workspaces", "sway/mode", "sway/window"],
|
||||||
"modules-center": [],
|
"modules-center": [],
|
||||||
"modules-right": ["custom/vpn", "network", "battery", "pulseaudio", "cpu", "clock", "tray"],
|
"modules-right": ["custom/vpn", "network", "battery", "pulseaudio", "temperature", "cpu", "clock", "tray"],
|
||||||
// Module config
|
// Module config
|
||||||
"sway/mode": {
|
"sway/mode": {
|
||||||
"tooltip": false,
|
"tooltip": false,
|
||||||
"format": "<span weight=\"bold\">{}</span>"
|
"format": "<span weight=\"bold\">{}</span>"
|
||||||
},
|
},
|
||||||
|
"temperature": {
|
||||||
|
"thermal-zone": 1,
|
||||||
|
// "hwmon-path": "/sys/class/hwmon/hwmon2/temp1_input",
|
||||||
|
"critical-threshold": 80,
|
||||||
|
"format-critical": "{temperatureC}°C ",
|
||||||
|
"format": "{temperatureC}°C "
|
||||||
|
},
|
||||||
"custom/vpn": {
|
"custom/vpn": {
|
||||||
"interval": 5,
|
"interval": 5,
|
||||||
"tooltip": false,
|
"tooltip": false,
|
||||||
|
|
Loading…
Add table
Reference in a new issue