From fa52c4b00cac1e6e890ee9c11e46893ff772c048 Mon Sep 17 00:00:00 2001 From: Marek Paśnikowski Date: Sun, 14 Jan 2024 11:17:12 +0100 Subject: Migrate to Waybar --- home-configuration.scm | 11 +++++++++-- sway.config | 18 +----------------- 2 files changed, 10 insertions(+), 19 deletions(-) diff --git a/home-configuration.scm b/home-configuration.scm index a05c333..1f61478 100644 --- a/home-configuration.scm +++ b/home-configuration.scm @@ -70,7 +70,8 @@ (home-environment (packages (map (compose list specification->package+output) - '("alacritty" + '("adwaita-icon-theme" + "alacritty" "cpupower" "dconf-editor" "dmenu" @@ -89,16 +90,21 @@ "gnupg" "guile" "guile-spec" + "hicolor-icon-theme" "icecat" "jami" + "libadwaita" "libreoffice" "newsboat" + "nm-tray" "pwgen" "seahorse" "sicp" + "strace" "sway" "trezor-agent" "unzip" + "waybar" "zip"))) (services `(,(service home-bash-service-type @@ -132,4 +138,5 @@ ,(local-file "guix-shell-authorized-directories")) (".emacs" ,(local-file "emacs.el")) (".ssh/config" ,(local-file "ssh.config")) - (".config/sway/config" ,(local-file "sway.config"))))))) + (".config/sway/config" ,(local-file "sway.config")) + (".config/waybar/config" ,(local-file "waybar.config"))))))) diff --git a/sway.config b/sway.config index 4ec97cb..902cb1b 100644 --- a/sway.config +++ b/sway.config @@ -203,22 +203,6 @@ bindsym $mod+r mode "resize" # Status Bar: # # Read `man 5 sway-bar` for more information about this section. -bar { - position bottom - - # 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 %H:%M:%S %p'; \ - do sleep 0.5; \ - date +'%Y-%m-%d %H %M %S %p'; \ - sleep 0.5; \ - done - - colors { - statusline #ffffff - background #323232 - inactive_workspace #32323200 #32323200 #5c5c5c - } -} +bar swaybar_command waybar # include /gnu/store/r1s30d4xxfx9a5i9m0rfa9kcnh02s0vs-sway-1.8-rc1/etc/sway/config.d/* -- cgit v1.2.3