Skip to content

Commit ea58e8f

Browse files
committed
Merge branch 'master' of github.com:ngyj/dots
2 parents 1438cee + 493e365 commit ea58e8f

File tree

8 files changed

+46
-9
lines changed

8 files changed

+46
-9
lines changed

.Xresources

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,5 +63,5 @@ urxvt.scrollWithBuffer: true
6363
!! urls
6464
urxvt.matcher.button: C1
6565
urxvt.perl-ext-common: default,matcher
66-
urxvt.url-launcher: firefox
66+
urxvt.url-launcher: firefox-devedition
6767

.emacs.d/user.el

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
;; *scratch*
22
(setq initial-major-mode 'org-mode)
33

4-
54
;; pretty
65
(set-default-font "Fira Code")
76

@@ -70,6 +69,12 @@
7069
(setq flymake-start-syntax-check-on-newline nil)
7170
(setq flycheck-check-syntax-automatically '(save mode-enabled))
7271

72+
;; CLOS
73+
(use-package slime
74+
:ensure t
75+
:config
76+
(setq inferior-lisp-program "~/.nix-profile/bin/sbcl")
77+
(setq slime-contribs '(slime-fancy)))
7378

7479

7580
;; keybinds
@@ -97,6 +102,9 @@
97102
(setq indent-tabs-mode t)
98103
(setq tab-width 2)
99104
(setq python-indent 8)))
105+
(add-hook 'css-mode-hook
106+
(lambda ()
107+
(setq css-indent-offset 2)))
100108

101109
(load-file (let ((coding-system-for-read 'utf-8))
102110
(shell-command-to-string "agda-mode locate")))
@@ -112,3 +120,10 @@
112120
(desktop-save "~/.emacs.d/.#desktop#"))
113121
(global-set-key (kbd "C-c r l") 'load-desktop-default)
114122
(global-set-key (kbd "C-c r s") 'save-desktop-default)
123+
124+
125+
;; quicklisp
126+
127+
(load (expand-file-name "~/quicklisp/slime-helper.el"))
128+
;; Replace "sbcl" with the path to your implementation
129+
(setq inferior-lisp-program "sbcl")

.shell/aliases

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,4 +102,5 @@
102102
alias setusint='setxkbmap -layout us -variant intl'
103103
alias setus='setxkbmap -layout us'
104104
alias setdvp='setxkbmap -layout us -variant dvp'
105+
alias ss='scrot -s'
105106
# }}}

.shell/env

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
1+
# anime folder
12
animu=/home/aigis/Anime
3+
4+
# do not delete bash_history
5+
export HISTSIZE=
6+
export HISTFILESIZE=
7+
28
## Programming envs {{{
39
# haskell
410
export PATH=$PATH:~/.cabal/bin:~/.local/bin
@@ -10,7 +16,7 @@ export PATH="$PATH:$HOME/.cargo/bin"
1016
eval `opam config env`
1117

1218
# rakudo
13-
export PATH=$PATH:~/build/rakudo/rakudo-star-2018.04/install/bin/:~/build/rakudo/rakudo-star-2018.04/install/share/perl6/site/bin
19+
#export PATH=$PATH:~/build/rakudo/rakudo-star-2018.04/install/bin/:~/build/rakudo/rakudo-star-2018.04/install/share/perl6/site/bin
1420
# }}}
1521

1622
## Software envs {{{

.xmonad/xmobarrc

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Config { font = "xft:Fira Code:size=10"
1010
, overrideRedirect = False
1111
, border = BottomBM 0
1212
, borderColor = "#3e3e3e"
13-
, commands = [ Run Network "enp3s0" [ "-t" , "d:<rx> u:<tx>"
13+
, commands = [ Run Network "wlp1s0" [ "-t" , "d:<rx> u:<tx>"
1414
, "-L" , "100"
1515
, "-H" , "700"
1616
, "-m" , "4"
@@ -63,6 +63,5 @@ Config { font = "xft:Fira Code:size=10"
6363
]
6464
, sepChar = "%"
6565
, alignSep = "}{"
66-
, template = " %StdinReader% }{%mpd% / %disku% / %coretemp% / %memory% / %enp3s0% / <fc=#ede7b4>%date%</fc> "
66+
, template = " %StdinReader% }{%battery% / %disku% / %coretemp% / %memory% / %wlp1s0% / <fc=#ede7b4>%date%</fc> "
6767
}
68-

.xmonad/xmonad.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ main = do
162162
]
163163
`additionalKeysP`
164164
[(otherMasks ++ "M-" ++ [key], screenWorkspace scr >>= flip whenJust (windows . action))
165-
| (key, scr) <- zip "wer" [2,0,1]
165+
| (key, scr) <- zip "wer" [0,1,2]
166166
, (otherMasks, action) <- [ ("", W.view)
167167
, ("S-", W.shift)]
168168
]

configuration.nix

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
#windowManager.i3.enable = true;
4141
windowManager.xmonad.enable = true;
4242
windowManager.xmonad.extraPackages = self: [ self.xmonad-contrib ];
43-
windowManager.xmonad.haskellPackages = pkgs.haskell.packages.ghc822;
43+
windowManager.xmonad.haskellPackages = pkgs.haskell.packages.ghc865;
4444
windowManager.default = "xmonad";
4545
};
4646
sshd.enable = true;
@@ -95,38 +95,54 @@
9595
maxJobs = pkgs.stdenv.lib.mkForce 4;
9696
};
9797

98+
virtualisation.virtualbox.host.enable = true;
99+
98100
# List packages installed in system profile. To search, run:
99101
# $ nix search wget
100102
environment.systemPackages = with pkgs; [
103+
ahoviewer
104+
anki
101105
binutils
102106
cabal2nix
107+
curl
103108
emacs
104109
feh
110+
ffmpeg
105111
firefox-devedition-bin
106112
git
107113
haskellPackages.hlint
108114
haskellPackages.xmobar
109115
htop
110116
jpegoptim
117+
kdeApplications.kio-extras
118+
keepassxc
119+
krita
120+
krusader
111121
mpv
112122
networkmanager
113123
nitrogen
114124
nix-bash-completions
125+
nomacs
115126
ntfs3g
116127
optipng
117128
p7zip
118129
pavucontrol
130+
gnome3.polari
119131
psmisc
120132
racket
121133
ripgrep
122134
rofi
135+
rustup
123136
rxvt_unicode
124137
scrot
138+
spotify
139+
tmsu
125140
unzip
126141
vim
127142
# vimus
128143
wget
129144
which
145+
wine
130146
xlibs.xsetroot
131147
xscreensaver
132148
zathura

dots

Submodule dots updated from dd1e258 to add0849

0 commit comments

Comments
 (0)