Merge branch 'master' into nvim-lua

This commit is contained in:
Marko Korhonen 2021-02-27 11:50:22 +02:00
commit 42b00296cf
No known key found for this signature in database
GPG key ID: 911B85FBC6003FE5
18 changed files with 90 additions and 110 deletions

View file

@ -1,12 +0,0 @@
#!/bin/bash
# vim:ft=sh
sudo efibootmgr \
--disk /dev/sda \
--part 1 \
--create \
--quiet \
--remove-dups \
--label "Arch Linux" \
--loader /vmlinuz-linux \
--unicode 'cryptdevice=UUID=19fa8fab-c5fe-454a-9a17-b7185ce975ea:cryptroot:allow-discards root=/dev/mapper/cryptroot rootflags=subvol=root resume=/dev/mapper/cryptroot resume_offset=7345408 rw quiet loglevel=3 vga=current processor.max_cstate=5 rcu_nocbs=0-11 initrd=/amd-ucode.img initrd=/initramfs-linux.img amdgpu.noretry=0'

View file

@ -1,12 +0,0 @@
#!/bin/bash
# vim:ft=sh
sudo efibootmgr \
--disk /dev/sda \
--part 1 \
--create \
--quiet \
--remove-dups \
--label "Arch Linux CK" \
--loader /vmlinuz-linux-ck-zen \
--unicode 'cryptdevice=UUID=19fa8fab-c5fe-454a-9a17-b7185ce975ea:cryptroot:allow-discards root=/dev/mapper/cryptroot rootflags=subvol=root resume=/dev/mapper/cryptroot resume_offset=7345408 rw quiet loglevel=3 vga=current vt.global_cursor_default=0 processor.max_cstate=5 rcu_nocbs=0-11 initrd=/amd-ucode.img initrd=/initramfs-linux.img amdgpu.noretry=0'

View file

@ -1,12 +0,0 @@
#!/bin/bash
# vim:ft=sh
sudo efibootmgr \
--disk /dev/sda \
--part 1 \
--create \
--quiet \
--remove-dups \
--label "Arch Linux LTS" \
--loader /vmlinuz-linux-lts \
--unicode 'cryptdevice=UUID=19fa8fab-c5fe-454a-9a17-b7185ce975ea:cryptroot:allow-discards root=/dev/mapper/cryptroot rootflags=subvol=root resume=/dev/mapper/cryptroot resume_offset=7345408 rw quiet loglevel=3 vga=current vt.global_cursor_default=0 processor.max_cstate=5 rcu_nocbs=0-11 initrd=/amd-ucode.img initrd=/initramfs-linux.img amdgpu.noretry=0'

View file

@ -1,14 +0,0 @@
#!/bin/bash
# remove old entries
for bootentry in $(efibootmgr | head -n 3 | tail -n 1 | cut -d' ' -f2- | sed 's/,/\n/g'); do
sudo efibootmgr -qBb $bootentry
done
# add all entries back
for bootscript in *.efi; do
./$bootscript
done
# set bootorder
sudo efibootmgr --bootorder 0000,0001,0002

View file

@ -21,10 +21,8 @@ audio-pitch-correction=yes # automatically insert scaletempo when playing with h
replaygain=track
#############
# Plugins/misc #
# misc #
#############
# Mpris plugin
script=/usr/lib/mpv/mpris.so
# Start ipc server
input-ipc-server=/tmp/mpvsocket

View file

@ -3,3 +3,7 @@
output * bg $wallpaper fill
output eDP-1 position 0 0
output HDMI-A-1 position 1920 0
# Disable laptop screen when lid is closed
bindswitch --locked lid:on output $laptop disable
bindswitch --locked lid:off output $laptop enable