File tree 5 files changed +27
-14
lines changed
5 files changed +27
-14
lines changed Original file line number Diff line number Diff line change @@ -7,10 +7,10 @@ export HISTFILESIZE=
7
7
8
8
## Programming envs {{{
9
9
# haskell
10
- export PATH=$PATH:~ /.cabal/bin:~ /.local/bin
10
+ export PATH=$PATH:$HOME /.cabal/bin:$HOME /.local/bin
11
11
12
12
# cargo
13
- export PATH=" $PATH:$HOME/.cargo/bin"
13
+ export PATH=$PATH:$HOME/.cargo/bin
14
14
15
15
# opam
16
16
eval `opam config env`
Original file line number Diff line number Diff line change @@ -10,15 +10,15 @@ Config { font = "xft:Fira Code:size=10"
10
10
, overrideRedirect = False
11
11
, border = BottomBM 0
12
12
, borderColor = " #3e3e3e"
13
- , commands = [ Run Network " wlp1s0 " [ " -t" , " d:<rx> u:<tx>"
13
+ , commands = [ Run Network " enp3s0 " [ " -t" , " d:<rx> u:<tx>"
14
14
, " -L" , " 100"
15
15
, " -H" , " 700"
16
16
, " -m" , " 4"
17
17
, " --normal" , " #b0bdbd"
18
18
, " --high" , " #ff8d80"
19
19
] 20
20
20
21
- , Run CoreTemp [ " -t" , " c:<core0>.<core1>"
21
+ , Run CoreTemp [ " -t" , " c:<core0>.<core1>.<core2>.<core3> "
22
22
, " -L" , " 40"
23
23
, " -H" , " 75"
24
24
, " -m" , " 2"
@@ -34,7 +34,9 @@ Config { font = "xft:Fira Code:size=10"
34
34
, " --high" , " #ff8d80"
35
35
] 20
36
36
37
- , Run DiskU [(" /dev/mapper/main" , " r:<usedvp>%" )]
37
+ , Run DiskU [ (" /" , " r:<usedp>%" )
38
+ , (" /home/aigis" , " v:<usedp>%" )
39
+ ]
38
40
[ " -L" , " 50"
39
41
, " -H" , " 85"
40
42
, " -m" , " 2"
@@ -62,5 +64,5 @@ Config { font = "xft:Fira Code:size=10"
62
64
]
63
65
, sepChar = " %"
64
66
, alignSep = " }{"
65
- , template = " %StdinReader% }{%battery % / r:%du% / % coretemp% / %memory% / %wlp1s0 % / <fc=#ede7b4>%date%</fc> "
67
+ , template = " %StdinReader% }{%disku % / % coretemp% / %memory% / %enp3s0 % / <fc=#ede7b4>%date%</fc> "
66
68
}
Original file line number Diff line number Diff line change @@ -194,19 +194,19 @@ myManageHookFloat = composeAll
194
194
]
195
195
196
196
-- xmobar
197
- myLogHook h = dynamicLogWithPP $ wsPP { ppOutput = hPutStrLn h }
197
+ myLogHook = dynamicLogWithPP . wsPP
198
198
199
199
myWsBar = " xmobar $HOME/.xmonad/xmobarrc"
200
200
201
- wsPP = xmobarPP
201
+ wsPP h = xmobarPP
202
202
{ ppOrder = \ (ws: l: t: _) -> [ws,l,t]
203
203
, ppCurrent = xmobarColor colorfg colorDarkbg . \ s -> " =" ++ s++ " ="
204
204
, ppUrgent = xmobarColor colorRed colorDarkbg . \ s -> " <" ++ s++ " >"
205
205
, ppVisible = xmobarColor colorfg colorDarkbg . \ s -> " ~" ++ s++ " ~"
206
206
, ppHidden = xmobarColor colorfg colorDarkbg . \ s -> " -" ++ s++ " -"
207
207
, ppHiddenNoWindows = xmobarColor colorfg colorDarkbg . \ s -> " _" ++ s++ " _"
208
208
, ppTitle = xmobarColor colorfg colorDarkbg
209
- , ppOutput = putStrLn
209
+ , ppOutput = hPutStrLn h
210
210
, ppWsSep = " "
211
211
, ppSep = " "
212
212
}
Original file line number Diff line number Diff line change
1
+ # configuration.nix
1
2
# Edit this configuration file to define what should be installed on
2
3
# your system. Help is available in the configuration.nix(5) man page
3
4
# and in the NixOS manual (accessible by running ‘nixos-help’).
4
5
{ config , pkgs , ... } :
5
- # configuration.nix
6
6
{
7
7
boot . tmpOnTmpfs = true ;
8
8
38
38
windowManager . xmonad . haskellPackages = pkgs . haskell . packages . ghc865 ;
39
39
40
40
displayManager . defaultSession = "none+xmonad" ;
41
+ displayManager . sessionCommands = ''
42
+ export PATH=$HOME/bin:$PATH
43
+
44
+ # disable accel on mouse
45
+ ${ pkgs . xorg . xset } /bin/xset m 1/1 0
46
+ '' ;
41
47
} ;
48
+
42
49
sshd . enable = true ;
43
50
} ;
44
51
108
115
filezilla
109
116
firefox-devedition-bin
110
117
git
111
- haskell . compiler . ghc881
118
+ haskell . compiler . ghc882
112
119
haskellPackages . cabal-install
113
120
haskellPackages . hlint
114
121
haskellPackages . stack
125
132
networkmanager
126
133
nitrogen
127
134
nix-bash-completions
128
- nomacs
135
+ # nomacs
129
136
ntfs3g
130
137
optipng
131
- p7zip
132
138
pavucontrol
133
139
psmisc
134
140
racket
Original file line number Diff line number Diff line change 18
18
} ;
19
19
} ;
20
20
services = {
21
+ xserver . resolutions = [
22
+ { x = 1920 ; y = 1080 ; }
23
+ { x = 1920 ; y = 1080 ; }
24
+ { x = 1920 ; y = 1080 ; }
25
+ ] ;
21
26
xserver . xrandrHeads = [
22
27
"DVI-0"
23
28
{ output = "HDMI-3" ; primary = true ; }
24
29
{ output = "DisplayPort-4" ;
25
30
monitorConfig = ''
26
- Option "Rotate" "Right "
31
+ Option "Rotate" "Left "
27
32
Option "Position" "3840 -420"
28
33
Option "Mode" "1920x1080"
29
34
'' ;
You can’t perform that action at this time.
0 commit comments