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, ... }:
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 {
# Display manager
@ -20,21 +31,21 @@ in {
# Window manager
programs.sway = {
enable = true;
extraPackages = with pkgs; [
xwayland
swaylock
swayidle
swaybg
rofi
waybar
clipman
wl-clipboard
grim
slurp
light
imv
kanshi
kitty
extraPackages = [
pkgs.xwayland
pkgs.swaylock
pkgs.swayidle
pkgs.swaybg
pkgs.rofi
old-waybar
pkgs.clipman
pkgs.wl-clipboard
pkgs.grim
pkgs.slurp
pkgs.light
pkgs.imv
pkgs.kanshi
pkgs.kitty
];
extraSessionCommands = ''
export MOZ_ENABLE_WAYLAND=1