Update colors, bar monitor output, and dbus update environment command.

This commit is contained in:
Sheldon Lee 2023-04-05 22:59:47 +01:00
parent bef2632ee9
commit 271d65a9f2
3 changed files with 18 additions and 6 deletions

View File

@ -5,7 +5,8 @@
# Read `man 5 sway` for a complete reference. # Read `man 5 sway` for a complete reference.
# Environment # Environment
exec --no-startup-id dbus-update-activation-environment --all #exec --no-startup-id dbus-update-activation-environment --all
exec --no-startup-id dbus-update-activation-environment DISPLAY SWAYSOCK WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
exec /usr/libexec/polkit-gnome-authentication-agent-1 exec /usr/libexec/polkit-gnome-authentication-agent-1
exec_always ~/.config/scripts/sway/import-gsettings exec_always ~/.config/scripts/sway/import-gsettings
@ -295,19 +296,23 @@ titlebar_padding 3
bar { bar {
position top position top
#gaps 20 900
#mode hide
output $mon1
# When the status_command prints a new line to stdout, swaybar updates. # When the status_command prints a new line to stdout, swaybar updates.
# The default just shows the current date and time. # The default just shows the current date and time.
status_command slstatus -s status_command slstatus -s
colors { colors {
background $base03 background $base03t
statusline $base0 statusline $base0
separator $base0 separator $base0
focused_workspace $orange $base02 $cyan focused_workspace $orange $base02 $cyan
active_workspace $base02 $base03 $base0 active_workspace $base02 $base03t $base0
inactive_workspace $base02 $base03 $base0 inactive_workspace $base02 $base03t $base0
urgent_workspace $cyan $red $base03 urgent_workspace $cyan $red $base03t
} }
font pango:$font font pango:$font
#tray_output primary #tray_output primary
@ -344,7 +349,7 @@ exec wlsunset -l 55.0 -L -1.6
exec alacritty exec alacritty
exec firefox exec firefox
exec webcord-bin exec discord-ff
exec signal-desktop exec signal-desktop
# #

View File

@ -2,6 +2,7 @@
# #
# bg # bg
set $base03 #282828 set $base03 #282828
set $base03t #282828dd
# bg1 # bg1
set $base02 #3c3836 set $base02 #3c3836
# fg4 # fg4

6
.config/sway/monitor Normal file
View File

@ -0,0 +1,6 @@
set $mon1 DP-2
set $mon2 HDMI-A-3
set $mon3 HDMI-A-2
output $mon1 pos 1920 0 adaptive_sync on
output $mon2 pos 0 0