arch-kexec
This commit is contained in:
parent
74c9d40126
commit
cbf1731632
3
bashrc
3
bashrc
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
3
scripts/arch-kexec
Executable file
3
scripts/arch-kexec
Executable 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
10
scripts/heavyPackages
Executable 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
7
vimpcrc
Normal 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
|
Loading…
Reference in a new issue