diff options
| author | LMBishop <13875753+LMBishop@users.noreply.github.com> | 2023-08-01 18:30:08 +0100 |
|---|---|---|
| committer | LMBishop <13875753+LMBishop@users.noreply.github.com> | 2023-08-01 18:30:08 +0100 |
| commit | ad9c557d87d5e9aa7bb0033eb26e1a2d339610a9 (patch) | |
| tree | dde1c19a5e496333325e471a9a12514f360eb255 | |
| parent | 0a07704d6dc53bf3a35d4aadfa240586f55e9487 (diff) | |
Remove workspace names
| -rw-r--r-- | sway/config | 10 | ||||
| -rw-r--r-- | waybar/config | 16 | ||||
| -rw-r--r-- | waybar/style.css | 4 |
3 files changed, 21 insertions, 9 deletions
diff --git a/sway/config b/sway/config index 8d8a8d7..ecf8f22 100644 --- a/sway/config +++ b/sway/config @@ -21,7 +21,9 @@ set $cl_urge #ee2e24 # Display # ############# -font pango:Iosevka Nerd Font 11 +font pango:Iosevka Nerd Font 0 + +titlebar_padding 1 gaps inner 15 @@ -59,6 +61,10 @@ for_window [app_id="termfloat"] floating enable for_window [app_id="termfloat"] resize set height 500 for_window [app_id="termfloat"] resize set width 900 +default_border pixel 3 + +default_floating_border normal 3 + ############## # Keybinds # ############## @@ -188,6 +194,8 @@ exec swayidle -w \ exec --no-startup-id /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 +exec aa-notify -p -s 1 -w 60 -f /var/log/audit/audit.log + # Chromium hotkey fix for_window [app_id="^chrome-.*-.*$"] shortcuts_inhibitor disable diff --git a/waybar/config b/waybar/config index aba681a..1fcffb3 100644 --- a/waybar/config +++ b/waybar/config @@ -2,6 +2,7 @@ "height": 30, "spacing": 4, "modules-left": ["sway/workspaces", "sway/mode"], + "modules-center": ["sway/window"], "modules-right": ["tray", "custom/lock", "custom/scratchpad_indicator", "network#vpnovpn", "network#vpnwg", "network#e", "network#wl", "network", "cpu", "memory", "backlight", "pulseaudio", "battery", "clock"], "custom/spotify": { "exec": "/usr/bin/python3 ~/.config/waybar/scripts/mediaplayer.py --player spotify", @@ -14,14 +15,13 @@ "sway/workspaces": { "disable-scroll": true, "all-outputs": false, - "format": "{name}{icon}", - "format-icons": { - "1": ": terminal", - "2": ": firefox", - "3": ": discord", - "4": ": spotify", - "5": ": thunderbird", - "default": "" + "format": "{name}", + }, + "sway/window": { + "max-length": 80, + "tooltip": false, + "rewrite": { + "": "Desktop", } }, "tray": { diff --git a/waybar/style.css b/waybar/style.css index d7ac024..3e53a9d 100644 --- a/waybar/style.css +++ b/waybar/style.css @@ -25,6 +25,10 @@ button { border-radius: 0; } +#window { + padding: 0 5px; +} + /* https://github.com/Alexays/Waybar/wiki/FAQ#the-workspace-buttons-have-a-strange-hover-effect */ #workspaces button { |
