Downgrade waybar to version 0.9.2

This commit is contained in:
coolneng 2020-09-06 01:46:14 +02:00
parent 92c0ea18ca
commit fba79883f5
Signed by: coolneng
GPG Key ID: 9893DA236405AF57
1 changed files with 27 additions and 16 deletions

View File

@ -1,6 +1,17 @@
{ config, lib, pkgs, ... }: { config, lib, pkgs, ... }:
let tmux_config = builtins.readFile /home/coolneng/.tmux.conf; let
tmux_config = builtins.readFile /home/coolneng/.tmux.conf;
# Fetch old version of waybar
pinnedpkgs = import (builtins.fetchGit {
name = "my-old-revision";
url = "https://github.com/nixos/nixpkgs-channels/";
ref = "refs/heads/nixpkgs-unstable";
rev = "c83e13315caadef275a5d074243c67503c558b3b";
}) { };
old-waybar = pinnedpkgs.waybar;
in { in {
# Display manager # Display manager
@ -20,21 +31,21 @@ in {
# Window manager # Window manager
programs.sway = { programs.sway = {
enable = true; enable = true;
extraPackages = with pkgs; [ extraPackages = [
xwayland pkgs.xwayland
swaylock pkgs.swaylock
swayidle pkgs.swayidle
swaybg pkgs.swaybg
rofi pkgs.rofi
waybar old-waybar
clipman pkgs.clipman
wl-clipboard pkgs.wl-clipboard
grim pkgs.grim
slurp pkgs.slurp
light pkgs.light
imv pkgs.imv
kanshi pkgs.kanshi
kitty pkgs.kitty
]; ];
extraSessionCommands = '' extraSessionCommands = ''
export MOZ_ENABLE_WAYLAND=1 export MOZ_ENABLE_WAYLAND=1