xmobar hls

This commit is contained in:
Sridhar Ratnakumar 2021-11-20 14:08:10 -05:00
parent 301b7e30af
commit 404ea984b1
5 changed files with 9 additions and 5 deletions

View file

@ -15,7 +15,7 @@
# WMish things
./xmonad
#./taffybar # Disabled, because it rarely works (and memory hungry)
#./xmobar # shit UX
./xmobar # shit UX
];
environment.systemPackages = with pkgs; [

View file

@ -6,7 +6,7 @@ let
''
#!${pkgs.runtimeShell}
# Use fc-list to lookup font names
exec ${pkgs.st}/bin/st -f "CascadiaCode:pixelsize=26" $*
exec ${pkgs.st}/bin/st -f "Iosevka:pixelsize=26" $*
'';
in
{

View file

@ -0,0 +1,4 @@
cradle:
cabal:
- path: "./"
component: "exe:xmobar-srid"

View file

@ -1,4 +1,4 @@
cabal-version: >=1.10
cabal-version: 3.0
-- Initial package description 'xmobar-srid.cabal' generated by 'cabal
-- init'. For further documentation, see
-- http://haskell.org/cabal/users-guide/
@ -21,7 +21,7 @@ executable xmobar-srid
-- other-modules:
-- other-extensions:
build-depends: base
, xmobar
, xmobar >= 0.39
, text
-- hs-source-dirs:
default-language: Haskell2010

View file

@ -43,7 +43,7 @@ main = do
myTabbed :: ModifiedLayout (Decoration TabbedDecoration DefaultShrinker) Simplest.Simplest Window
myTabbed =
-- FIXME: This doesn't work reliably.
tabbed shrinkText $ def {decoHeight = 10, activeColor = "#50CBE8", fontName = "xft:CascadiaCode:size=16"}
tabbed shrinkText $ def {decoHeight = 10, activeColor = "#50CBE8", fontName = "xft:Consolas:size=12"}
pointerFollowsFocus =
let centerOfWindow = ((0.5, 0.5), (0, 0))