arch-kexec

This commit is contained in:
Geoffrey Frogeye 2018-01-22 08:29:43 +01:00
parent 74c9d40126
commit cbf1731632
12 changed files with 35 additions and 0 deletions

3
bashrc
View file

@ -46,6 +46,9 @@ alias pacman='pacman --color auto'
alias dmesg='dmesg --ctime'
# Frequent mistakes
alias sl=ls
alias al=la
alias mdkir=mkdir
alias systemclt=systemctl
# Shortcuts for commonly used commands

1
bower Symbolic link
View file

@ -0,0 +1 @@
.cache/bower

1
cargo Symbolic link
View file

@ -0,0 +1 @@
.cache/cargo

View file

@ -145,14 +145,19 @@ set $WS10 10
# Workspace output
workspace "$WS1" output LVDS1
workspace "$WS2" output VGA1
workspace "$WS2" output HDMI1
workspace "$WS3" output LVDS1
workspace "$WS4" output VGA1
workspace "$WS4" output HDMI1
workspace "$WS5" output LVDS1
workspace "$WS6" output VGA1
workspace "$WS6" output HDMI1
workspace "$WS7" output LVDS1
workspace "$WS8" output VGA1
workspace "$WS8" output HDMI1
workspace "$WS9" output LVDS1
workspace "$WS10" output VGA1
workspace "$WS10" output HDMI1
# switch to workspace
bindsym $mod+1 workspace $WS1

1
gem Symbolic link
View file

@ -0,0 +1 @@
.cache/gem

1
go Symbolic link
View file

@ -0,0 +1 @@
.cache/go

1
m2 Symbolic link
View file

@ -0,0 +1 @@
.cache/m2

1
npm Symbolic link
View file

@ -0,0 +1 @@
.cache/npm

1
nv Symbolic link
View file

@ -0,0 +1 @@
.cache/nv

3
scripts/arch-kexec Executable file
View file

@ -0,0 +1,3 @@
#!/usr/bin/env bash
sudo kexec -l /boot/vmlinuz-linux --initrd=/boot/initramfs-linux.img --reuse-cmdlin
sudo systemctl kexec

10
scripts/heavyPackages Executable file
View file

@ -0,0 +1,10 @@
#!/usr/bin/env bash
# Return a list of packages sorted by size
(echo PACKAGE SIZE; \
for A in /var/lib/pacman/local/*/desc; do
(sed -n 2p $A; (grep '^%SIZE%$' $A -A1 | tail -1)) | tr '\n' ' '; echo
done \
| sort -nrk2) \
| column -t

7
vimpcrc Normal file
View file

@ -0,0 +1,7 @@
map FF :browse<C-M>gg/
map à :set add next<C-M>a:set add end<C-M>
map @ :set add next<C-M>a:set add end<C-M>:next<C-M>
map ° D:browse<C-M>A:shuffle<C-M>:play<C-M>:playlist<C-M>
set songformat {%a - %b: %t}|{%f}$E$R $H[$H%l$H]$H
set libraryformat %n \| {%t}|{%f}$E$R $H[$H%l$H]$H
set ignorecase