- Chroot into your linux instalation
- The easiest way is with
mhwd-chroot
- Install it
yaourt -S mhwd-chroot
- Run it
sudo mhwd-chroot
- DONE, you have chrooted into your linux installation (open a root console of your installed linux OS, is like just open a console with root access)
- Install it
- The easiest way is with
- Restore your GRUB
- Install a new GRUB bootloader with
grub-install /dev/sda
- Install a new GRUB bootloader with
- Recheck to ensure the that installation has completed without any errors
grub-install --recheck /dev/sda
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# to run this: | |
# fusuma -d --config=.config/fusuma/config.yml | |
swipe: | |
4: | |
right: | |
command: 'xdotool key alt+Right' # History forward | |
left: | |
command: 'xdotool key alt+Left' # History back | |
up: | |
command: 'xdotool key ctrl+t' # Open new tab |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# This script switches between multiple Pulseaudio output devices/sinks | |
# Created by Jan Keith Darunday jkcdarunday@gmail.com as the original script didn't work with pipewire | |
# This uses pactl instead of pacmd since pacmd is not available in pipewire | |
SINKS=$(pactl list short sinks) | |
SINK_COUNT=$(echo "$SINKS" | wc -l) | |
DEFAULT_SINK=$(pactl info | sed -En 's/Default Sink: (.*)/\1/p') | |
if [ "$DEFAULT_SINK" = "tunnel.serv.local.alsa_output.pci-0000_00_1b.0.analog-stereo" ]; then DEFAULT_SINK_INDEX=$(echo "$SINKS" | grep -n "$DEFAULT_SINK" | grep "tunnel" | egrep -o '^[0-9]+') | |
else DEFAULT_SINK_INDEX=$(echo "$SINKS" | grep -n "$DEFAULT_SINK" | grep -v "tunnel" | egrep -o '^[0-9]+')fiNEW_SINK_INDEX=$((DEFAULT_SINK_INDEX % $SINK_COUNT + 1))NEW_SINK=$(echo "$SINKS" | sed "${NEW_SINK_INDEX}q;d" | awk '{ print $2 }') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Author: thamudi | |
# profile: https://github.com/thamudi | |
## You will need iwconfig to run the script | |
## Keep in mind that wlp4s0 is my wifi interface and you will need to change it with yours accordingly | |
## You can find out which one is yours by simply running iwconfig | |
## Use the below script to toggle power saving on |