mirror of
https://github.com/srid/nixos-config.git
synced 2026-01-11 02:32:37 +08:00
xmobar hls
This commit is contained in:
parent
301b7e30af
commit
404ea984b1
5 changed files with 9 additions and 5 deletions
|
|
@ -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; [
|
||||
|
|
|
|||
|
|
@ -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
|
||||
{
|
||||
|
|
|
|||
4
features/desktopish/xmobar/xmobar-srid/hie.yaml
Normal file
4
features/desktopish/xmobar/xmobar-srid/hie.yaml
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
cradle:
|
||||
cabal:
|
||||
- path: "./"
|
||||
component: "exe:xmobar-srid"
|
||||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue