Update settings for laptop usage

5cf892ffa97c980c75b723fc45e38cbd9d9f6cac
Alexis Sellier committed ago 1 parent 979824d5
.Xresources +1 -1
1 1
!
2 2
! .Xresources
3 3
!
4 4
5 -
Xft.dpi: 160
5 +
Xft.dpi: 96
6 6
7 7
! VGA
8 8
*color0:  #000000
9 9
*color1:  #AA0000
10 10
*color2:  #00AA00
.st/config.h +2 -2
3 3
/*
4 4
 * appearance
5 5
 *
6 6
 * font: see http://freedesktop.org/software/fontconfig/fontconfig-user.html
7 7
 */
8 -
static char font[] = "Inconsolata:pixelsize=30:antialias=true:autohint=false";
9 -
static int borderpx = 10;
8 +
static char font[] = "Inconsolata:pixelsize=22";
9 +
static int borderpx = 5;
10 10
#define histsize 4000
11 11
12 12
/*
13 13
 * What program is execed by st depends of these precedence rules:
14 14
 * 1: program passed with -e
.xmobarrc +5 -3
7 7
     , bgColor = "black"
8 8
     , fgColor = "#777777"
9 9
     , position = TopW L 100
10 10
     , commands = [ Run DynNetwork [ "--template", "<dev> <tx> <rx>", "-w", "7", "-S", "True" ] 10
11 11
                  , Run MultiCpu   [ "--template", "<total0>% <total1>% <total2>% <total3>%", "-w", "3" ] 50
12 -
                  , Run Memory     [ "--template", "<usedratio>%" ] 10
12 +
                  , Run Memory     [ "--template", "<used>/<available> MB" ] 50
13 13
                  , Run Date       "%a %b %d %Y %H:%M:%S" "date" 10
14 14
                  , Run DiskU      [("/", "<used>/<size>"), ("/home", "<used>/<size>")] [] 20
15 15
                  , Run Com        "xmobar-dropbox-status" [] "dropbox" 10
16 16
                  , Run Com        "seedbox-status" [] "seedbox" 10
17 -
                  , Run CoreTemp   [ "--template", "<core0>° <core1>° <core2>° <core3>°" ] 50
17 +
                  , Run CoreTemp   [ "--template", "<core0>° <core1>°" ] 50
18 +
                  , Run Wireless   "wlp58s0" [ "--template", "☎ <essid>/<quality>"] 10
19 +
                  , Run Battery    [ "--template", "⌁ <left>%" ] 100
18 20
                  , Run StdinReader
19 21
                  ]
20 22
     , sepChar = "%"
21 23
     , alignSep = "}{"
22 -
     , template = "%StdinReader%  }{┊ %seedbox% ┊  %dropbox%  ┊ %coretemp% ┊ %multicpu%  ┊  %memory%  ┊  %disku% ┊  %dynnetwork%  ┊  <fc=#aaaaaa>%date%</fc> "
24 +
     , template = "%StdinReader%  }{┊ %battery% ┊ %wlp58s0wi% ┊ %seedbox% ┊ %dropbox% ┊ %multicpu% · %memory% · %disku% · %dynnetwork% ┊ <fc=#aaaaaa>%date%</fc> "
23 25
}
.xmonad/xmonad.hs +2 -2
85 85
       ]
86 86
    dmenu :: X ()
87 87
    dmenu = safeSpawn
88 88
        "dmenu_run" [ "-fn", "Inconsolata-14,Monospace-12"
89 89
                    , "-i"
90 -
                    , "-y", "-2"
91 -
                    , "-h",  "40"
90 +
                    , "-y", "-1"
91 +
                    , "-h",  "24"
92 92
                    , "-nb", "black"
93 93
                    , "-nf", "#bbb"
94 94
                    , "-sb", "#444"
95 95
                    , "-sf", "white"
96 96
                    ]