Change to waybar

This commit is contained in:
2023-09-20 09:16:31 +02:00
parent f019be7c5b
commit 6fe75be9f8
3 changed files with 351 additions and 18 deletions

View File

@@ -10,7 +10,7 @@
set $mod Mod4
# Your preferred terminal emulator
set $term foot
set $term alacritty
# Your preferred application launcher
# Note: pass the final command to swaymsg so that the resulting window can be opened
@@ -19,7 +19,7 @@ set $term foot
set $menu wofi --show=drun
include "/$HOME/.config/sway/config.d/*"
include "$HOME/.config/sway/config.d/*"
default_border pixel 5
smart_borders on
@@ -81,23 +81,13 @@ output * bg /usr/share/backgrounds/sway/Sway_Wallpaper_Blue_1920x1080.png fill
# Exit sway (logs you out of your Wayland session)
bindsym $mod+Shift+e exec swaynag -t warning -m 'You pressed the exit shortcut. Do you really want to exit sway? This will end your Wayland session.' -B 'Yes, exit sway' 'swaymsg exit'
#
# Status Bar:
#
# Read `man 5 sway-bar` for more information about this section.
bar {
position top
# When the status_command prints a new line to stdout, swaybar updates.
# The default just shows the current date and time.
status_command while date +'%Y-%m-%d %I:%M %p'; do sleep 60; done
colors {
statusline #ffffff
background #323232
inactive_workspace #32323200 #32323200 #5c5c5c
}
swaybar_command waybar
}
#Wait 1s some icons don't appear otherwise
exec sleep 1s
exec blueman-applet
exec nm-tray
exec nm-applet --indicator
exec nextcloud --background
exec rocketchat-desktop --start-hidden