Merge branch 'master' of github.com:IvanMalison/dotfiles

This commit is contained in:
Kat Huang 2020-12-03 14:29:56 -08:00
commit 615cb57ee0
11 changed files with 26 additions and 25 deletions

1
.gitignore vendored
View File

@ -21,3 +21,4 @@
gotools
/dotfiles/config/xmonad/result
/dotfiles/config/taffybar/result
/dotfiles/emacs.d/*.sqlite

View File

@ -112,7 +112,6 @@ inactive-opacity = 1;
active-opacity = 1;
frame-opacity = 1;
inactive-opacity-override = false;
alpha-step = 0.06;
# Dim inactive windows. (0.0 - 1.0)
# inactive-dim = 0.2;
@ -190,8 +189,6 @@ vsync = "opengl";
# Enable DBE painting mode, intended to use with VSync to (hopefully) eliminate tearing.
# Reported to have no effect, though.
dbe = false;
# Painting on X Composite overlay window. Recommended.
paint-on-overlay = true;
# Limit compton to repaint at most once every 1 / refresh_rate second to boost performance.
# This should not be used with --vsync drm/opengl/opengl-oml as they essentially does --sw-opti's job already,

View File

@ -1,19 +1,7 @@
(import ./taffybar/nixpkgs.nix) {
pkgs: pkgs {
overlays = [
(import ./taffybar/overlay.nix)
(import ../xmonad/overlay.nix)
(_: super: {
haskellPackages = super.haskellPackages.override (old: {
overrides = super.lib.composeExtensions (old.overrides or (_: _: {})) (self: _: {
imalison-taffybar =
self.callCabal2nix "imalison-taffybar"
(
super.lib.sourceByRegex ./.
["taffybar.hs" "imalison-taffybar.cabal"]
)
{ };
});
});
})
(import ./overlay.nix)
];
}

View File

@ -1 +1,3 @@
(import ./base.nix).haskellPackages.imalison-taffybar
let pkgs = ((import ./base.nix) (import <nixpkgs>)) ;
in
pkgs.haskellPackages.imalison-taffybar

@ -1 +1 @@
Subproject commit 104a1c12f722f362ccb60794119de95f96f18ea8
Subproject commit c8fe1a41497c2b68ba6c15404125afa7de283e86

View File

@ -136,7 +136,7 @@ main = do
{ underlineHeight = 3
, underlinePadding = 2
, minIcons = 1
, getWindowIconPixbuf = scaledWindowIconPixbufGetter getWindowIconPixbufFromEWMH
, getWindowIconPixbuf = myIcons
, widgetGap = 0
, showWorkspaceFn = hideEmpty
, updateRateLimitMicroseconds = 100000
@ -197,6 +197,9 @@ main = do
, ( "imalison-home"
, baseConfig { endWidgets = fullEndWidgets, barHeight = 42 }
)
, ( "ryzen-shine"
, baseConfig { endWidgets = fullEndWidgets, barHeight = 42 }
)
, ( "ivanm-dfinity-razer"
, baseConfig { endWidgets = shortLaptopEndWidgets, barHeight = 42 }
)

View File

@ -1,4 +1,4 @@
(import ../taffybar/taffybar/nixpkgs.nix) {
pkgs: pkgs {
overlays = [
(import ../taffybar/taffybar/overlay.nix)
(import ./overlay.nix)

@ -1 +1 @@
Subproject commit bb13853929f8f6fc59b526bcc10631e1bac309ad
Subproject commit 5be975b4f23abe851ab59866f572d3301cb0119a

@ -1 +1 @@
Subproject commit 509fe0d459b85a485a84f231ad0b4ed0b60d8bfd
Subproject commit 92617ebc09a4b989e7d6353d8f1783994afa8939

View File

@ -398,8 +398,7 @@ getClass w = fromMaybe <$> getClassRaw w <*> getVirtualClass w
desktopEntriesMap :: MM.MultiMap String DesktopEntry
desktopEntriesMap =
unsafePerformIO $ do
tee id (>>= writeToHomeDirLog . show . MM.keys) $
unsafePerformIO $
indexDesktopEntriesByClassName <$> getDirectoryEntriesDefault
lookupIconFromClasses classes =

View File

@ -25,6 +25,9 @@ in
{
nixpkgs.overlays = [
(import ./overlays.nix)
(import ../dotfiles/config/taffybar/taffybar/overlay.nix)
(import ../dotfiles/config/xmonad/overlay.nix)
(import ../dotfiles/config/taffybar/overlay.nix)
];
# Allow all the things
@ -140,6 +143,14 @@ in
plasma5.breeze-gtk
plasma5.breeze-qt5
# Haskell Desktop
haskellPackages.imalison-xmonad
haskellPackages.imalison-taffybar
# notifications-tray-icon
haskellPackages.status-notifier-item
haskellPackages.xmonad
haskellPackages.dbus-hslogger
# Desktop
autorandr
betterlockscreen