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 gotools
/dotfiles/config/xmonad/result /dotfiles/config/xmonad/result
/dotfiles/config/taffybar/result /dotfiles/config/taffybar/result
/dotfiles/emacs.d/*.sqlite

View File

@ -112,7 +112,6 @@ inactive-opacity = 1;
active-opacity = 1; active-opacity = 1;
frame-opacity = 1; frame-opacity = 1;
inactive-opacity-override = false; inactive-opacity-override = false;
alpha-step = 0.06;
# Dim inactive windows. (0.0 - 1.0) # Dim inactive windows. (0.0 - 1.0)
# inactive-dim = 0.2; # inactive-dim = 0.2;
@ -190,8 +189,6 @@ vsync = "opengl";
# Enable DBE painting mode, intended to use with VSync to (hopefully) eliminate tearing. # Enable DBE painting mode, intended to use with VSync to (hopefully) eliminate tearing.
# Reported to have no effect, though. # Reported to have no effect, though.
dbe = false; 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. # 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, # 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 = [ overlays = [
(import ./taffybar/overlay.nix) (import ./taffybar/overlay.nix)
(import ../xmonad/overlay.nix) (import ../xmonad/overlay.nix)
(_: super: { (import ./overlay.nix)
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"]
)
{ };
});
});
})
]; ];
} }

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

View File

@ -1,4 +1,4 @@
(import ../taffybar/taffybar/nixpkgs.nix) { pkgs: pkgs {
overlays = [ overlays = [
(import ../taffybar/taffybar/overlay.nix) (import ../taffybar/taffybar/overlay.nix)
(import ./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 :: MM.MultiMap String DesktopEntry
desktopEntriesMap = desktopEntriesMap =
unsafePerformIO $ do unsafePerformIO $
tee id (>>= writeToHomeDirLog . show . MM.keys) $
indexDesktopEntriesByClassName <$> getDirectoryEntriesDefault indexDesktopEntriesByClassName <$> getDirectoryEntriesDefault
lookupIconFromClasses classes = lookupIconFromClasses classes =

View File

@ -25,6 +25,9 @@ in
{ {
nixpkgs.overlays = [ nixpkgs.overlays = [
(import ./overlays.nix) (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 # Allow all the things
@ -140,6 +143,14 @@ in
plasma5.breeze-gtk plasma5.breeze-gtk
plasma5.breeze-qt5 plasma5.breeze-qt5
# Haskell Desktop
haskellPackages.imalison-xmonad
haskellPackages.imalison-taffybar
# notifications-tray-icon
haskellPackages.status-notifier-item
haskellPackages.xmonad
haskellPackages.dbus-hslogger
# Desktop # Desktop
autorandr autorandr
betterlockscreen betterlockscreen