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/sh | |
# ~/.local/bin/lvim-gui | |
export LUNARVIM_RUNTIME_DIR="${LUNARVIM_RUNTIME_DIR:-"$HOME/.local/share/lunarvim"}" | |
export LUNARVIM_CONFIG_DIR="${LUNARVIM_CONFIG_DIR:-"$HOME/.config/lvim"}" | |
export LUNARVIM_CACHE_DIR="${LUNARVIM_CACHE_DIR:-"$HOME/.cache/lvim"}" | |
exec neovide -- -u "$LUNARVIM_RUNTIME_DIR/lvim/init.lua" "$@" |
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/sh | |
# Toggle touchpad status | |
# Using libinput and xinput | |
# Use xinput list and do a search for touchpads. Then get the first one and get its name. | |
device="$(xinput list | grep -P '(?<= )[\w\s:]*(?i)(touchpad|synaptics)(?-i).*?(?=\s*id)' -o | head -n1)" | |
# If it was activated disable it and if it wasn't disable it | |
[[ "$(xinput list-props "$device" | grep -P ".*Device Enabled.*\K.(?=$)" -o)" == "1" ]] && | |
xinput disable "$device" || |
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 | |
# active | |
scrot -u 'screenshot_%Y%m%d_%H%M%S.png' -e 'mkdir -p ~/screenshots && mv $f ~/screenshots && xclip -selection clipboard -t image/png -i ~/screenshots/`ls -1 -t ~/screenshots | head -1`' | |
#!/bin/bash | |
# full | |
scrot 'screenshot_%Y%m%d_%H%M%S.png' -e 'mkdir -p ~/screenshots && mv $f ~/screenshots && xclip -selection clipboard -t image/png -i ~/screenshots/`ls -1 -t ~/screenshots | head -1`' | |
#!/bin/bash | |
# selection |
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
# Put this file in /etc/X11/xorg.conf.d/ directory and then reboot to reflect changes | |
Section "InputClass" | |
Identifier "libinput pointer catchall" | |
MatchIsPointer "on" | |
MatchDevicePath "/dev/input/event*" | |
Driver "libinput" | |
EndSection | |
Section "InputClass" |
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
# Audio not working in tiling wms? | |
# This probably only works for intel audio cards | |
# Not sure if this will work for you | |
# Put this file in /etc/modprobe.d/ | |
options snd_hda_intel index=1 | |
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/sh | |
userresources=$HOME/.Xresources | |
usermodmap=$HOME/.Xmodmap | |
sysresources=/etc/X11/xinit/.Xresources | |
sysmodmap=/etc/X11/xinit/.Xmodmap | |
# merge in defaults and keymaps | |
if [ -f $sysresources ]; then |
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
-- Use the Nord theme: https://www.nordtheme.com/docs/colors-and-palettes | |
Config { | |
-- appearance | |
-- Hasklug is a much more readable font than mononoki, esp cus my bar is a bit small | |
font = "xft:FuraCode Nerd Font:weight=bold:pixelsize=14:antialias=true:hinting=true" | |
, bgColor = "#2E3440" | |
, fgColor = "#D8DEE9" | |
, position = Bottom | |
, border = BottomB |
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
title Arch Linux | |
linux /vmlinuz-linux-zen | |
initrd /amd-ucode.img | |
initrd /initramfs-linux-zen.img | |
options root=PARTUUID=2d00f3a7-eda4-7a4a-86a7-d0e7a43302e9 rw quiet loglevel=0 console=tty2 acpi_backlight=vendor |
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
timeout -1 | |
hideui all | |
textonly | |
use_graphics_for linux | |
scanfor internal | |
default_selection 1 |
OlderNewer