new changes
This commit is contained in:
parent
b3769ea57d
commit
c8a534da02
@ -40,4 +40,5 @@ webm() {
|
|||||||
ffmpeg -i $1 -c:v libvpx -b:v 1M -c:a libvorbis "$(printf "%b" "$1" | awk -F '.' '{print $1}')".webm
|
ffmpeg -i $1 -c:v libvpx -b:v 1M -c:a libvorbis "$(printf "%b" "$1" | awk -F '.' '{print $1}')".webm
|
||||||
}
|
}
|
||||||
|
|
||||||
|
alias y=youtube-dl
|
||||||
alias yay="paru"
|
alias yay="paru"
|
||||||
|
@ -1,6 +1,22 @@
|
|||||||
|
set -x
|
||||||
# load X default stuff
|
# load X default stuff
|
||||||
xrdb -load .Xresources
|
! [ -e $HOME/.Xresources ] \
|
||||||
|
|| xrdb -load $HOME/.Xresources
|
||||||
# wallpaper
|
# wallpaper
|
||||||
feh --bg-center /home/trinity/Pictures/Wallpapers/nosebleed.jpg
|
WALLPAPER="$HOME/Pictures/Wallpapers/nosebleed.jpg"
|
||||||
|
! [ -e "$WALLPAPER" ] \
|
||||||
|
|| feh --bg-center "$WALLPAPER"
|
||||||
|
# internal display
|
||||||
|
xrandr \
|
||||||
|
--output "$(xrandr | grep ' connected ' | awk '{print $1}' | grep LVDS)" \
|
||||||
|
--mode 1280x800 --rate 60.00
|
||||||
|
# VGA monitor
|
||||||
|
if xrandr | grep " connected " | awk '{ print$1 }' | grep "VGA" >/dev/null 2>&1; then
|
||||||
|
! [ "$MONITOR" = "MV720" ] \
|
||||||
|
|| xrandr \
|
||||||
|
--output "$(xrandr | grep ' connected ' | awk '{print $1}' | grep VGA)" \
|
||||||
|
--above "$(xrandr | grep ' connected ' | awk '{print $1}' | grep LVDS)" \
|
||||||
|
--mode 1024x768 --rate 85.00
|
||||||
|
fi
|
||||||
# keybind manager
|
# keybind manager
|
||||||
pgrep -x sxhkd >/dev/null || sxhkd &
|
pgrep -x sxhkd >/dev/null || sxhkd &
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
BROWSER=firefox-developer-edition; export BROWSER
|
BROWSER=firefox; export BROWSER
|
||||||
DOOMWADDIR=/mnt/partone/misc/doomwads/; export DOOMWADDIR
|
DOOMWADDIR=/mnt/partone/misc/doomwads/; export DOOMWADDIR
|
||||||
EDITOR=ed; export EDITOR
|
EDITOR=ed; export EDITOR
|
||||||
PAGER="less"; export PAGER
|
PAGER="less"; export PAGER
|
||||||
PLAN9=/usr/local/plan9; export PLAN9
|
PLAN9=/usr/local/plan9; export PLAN9
|
||||||
PATH="$HOME/bin/:$HOME/bin/oneliners/:"$PATH":$PLAN9/bin"; export PATH
|
PATH="$HOME/bin/:$HOME/bin/oneliners/:"$PATH":/usr/pkg/qt5/bin:$PLAN9/bin"; export PATH
|
||||||
TERMINAL="uxterm"; export TERMINAL
|
TERMINAL="uxterm"; export TERMINAL
|
||||||
UNITS_SYSTEM="si"; export UNITS_SYSTEM
|
UNITS_SYSTEM="si"; export UNITS_SYSTEM
|
||||||
VISUAL=vi; export VISUAL
|
VISUAL=vi; export VISUAL
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
set bg=dark
|
set bg=dark
|
||||||
|
set mouse=
|
||||||
set nocp
|
set nocp
|
||||||
set noexpandtab
|
set noexpandtab
|
||||||
set noim
|
set noim
|
||||||
|
@ -16,7 +16,7 @@ get_current_level() {
|
|||||||
# acpi | awk '{print $4}' will print the battery percentage,
|
# acpi | awk '{print $4}' will print the battery percentage,
|
||||||
# and s/,$// strips the trailing comma.
|
# and s/,$// strips the trailing comma.
|
||||||
# acpi -a will just print the power adapter status.
|
# acpi -a will just print the power adapter status.
|
||||||
printf "%b" "$(acpi | awk '{print $4}' | sed 's/,$//') ($(acpi -a))"
|
printf "%b" "$(acpi | awk '{print $4}' | sed 's/,$//')"
|
||||||
return 0
|
return 0
|
||||||
elif [ "$(uname)" = "NetBSD" ]; then
|
elif [ "$(uname)" = "NetBSD" ]; then
|
||||||
printf "%b" "$(envstat -s acpibat0:charge \
|
printf "%b" "$(envstat -s acpibat0:charge \
|
||||||
|
Loading…
Reference in New Issue
Block a user