From c2902db98f694aad5192f193c4463268dff2c8ce Mon Sep 17 00:00:00 2001 From: Vladan Popovic Date: Mon, 29 Jul 2019 11:53:54 +0200 Subject: [PATCH] [sway] Remove window titles and add temp to bar --- .config/sway/config | 4 ++++ .config/waybar/config | 9 ++++++++- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/.config/sway/config b/.config/sway/config index fa3f1f3..6064315 100644 --- a/.config/sway/config +++ b/.config/sway/config @@ -220,4 +220,8 @@ bindsym Print exec grim -t png /tmp/screen.png # Take area screenshot with Shift+PrtScr bindsym Shift+Print exec slurp +# Remove title from windows +default_border pixel 1 +bindsym $mod+t border toggle + include /etc/sway/config.d/* diff --git a/.config/waybar/config b/.config/waybar/config index 336c324..38fcd28 100644 --- a/.config/waybar/config +++ b/.config/waybar/config @@ -5,12 +5,19 @@ // Choose the order of the modules "modules-left": ["sway/workspaces", "sway/mode", "sway/window"], "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 "sway/mode": { "tooltip": false, "format": "{}" }, + "temperature": { + "thermal-zone": 1, + // "hwmon-path": "/sys/class/hwmon/hwmon2/temp1_input", + "critical-threshold": 80, + "format-critical": "{temperatureC}°C ", + "format": "{temperatureC}°C " + }, "custom/vpn": { "interval": 5, "tooltip": false,