Skip to content

Commit

Permalink
desktop: Use waybar instead of swaybar
Browse files Browse the repository at this point in the history
  • Loading branch information
juanibiapina committed Nov 27, 2024
1 parent f090134 commit fa8dc2d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 15 deletions.
15 changes: 1 addition & 14 deletions dotfiles/sway/.config/sway/config
Original file line number Diff line number Diff line change
Expand Up @@ -259,22 +259,9 @@ bindsym $mod+r mode "resize"
bindsym Print exec grim

# 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 %T'; do sleep 1; done

icon_theme Adwaita

colors {
statusline #ffffff
background #323232
inactive_workspace #32323200 #32323200 #5c5c5c
}
swaybar_command waybar
}

# Include additional configuration files (mainly for NixOS)
Expand Down
2 changes: 1 addition & 1 deletion nix/hosts/desktop/configuration.nix
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@

programs.sway = {
enable = true;
extraPackages = with pkgs; [ grim pulseaudio swayidle swaylock wl-clipboard ];
extraPackages = with pkgs; [ grim pulseaudio swayidle swaylock wl-clipboard waybar ];
wrapperFeatures.gtk = true;
};

Expand Down

0 comments on commit fa8dc2d

Please sign in to comment.