mirror of
https://github.com/ksyasuda/rice.git
synced 2024-10-28 09:04:10 -07:00
add stuff
This commit is contained in:
parent
333aae4b14
commit
72427eda90
@ -1,11 +1,13 @@
|
|||||||
alias suda='sudo'
|
alias suda='sudo'
|
||||||
|
|
||||||
## Colorls
|
## Colorls
|
||||||
alias lca='colorls -A --sd -X'
|
alias lca='colorls -A --sd --gs -X'
|
||||||
alias lc='colorls --sd -X'
|
alias lc='colorls --sd --gs -X'
|
||||||
alias lcl='colorls --sd -Xl'
|
alias lcl='colorls --sd --gs -Xl'
|
||||||
alias lcla='colorls -lA --sd -X'
|
alias lcla='colorls -lA --sd --gs -X'
|
||||||
alias lcal='colorls -lA --sd -X'
|
alias lcal='colorls -lA --sd --gs -X'
|
||||||
|
alias lct='colorls --gs --tree=5'
|
||||||
|
alias ls='colorls --sd -Xl'
|
||||||
|
|
||||||
## Pacman/Yay
|
## Pacman/Yay
|
||||||
# update without noconfirm
|
# update without noconfirm
|
||||||
@ -73,3 +75,15 @@ alias whatsmyip='http ipinfo.io'
|
|||||||
alias edit='sudoedit'
|
alias edit='sudoedit'
|
||||||
alias ports='sudo netstat -tupln'
|
alias ports='sudo netstat -tupln'
|
||||||
alias ncdu='ncdu --color dark'
|
alias ncdu='ncdu --color dark'
|
||||||
|
alias updates='~/SudacodeRice/scripts/package-updates'
|
||||||
|
alias aliases='cat ~/.bash_aliases'
|
||||||
|
alias sauce='~/Videos/sauce/'
|
||||||
|
alias aniedit='emc ~/Projects/Scripts/ani-cli/'
|
||||||
|
alias wmedit='emc ~/.config/i3/config'
|
||||||
|
alias ani='cd $HOME/Projects/Scripts/ani-cli'
|
||||||
|
alias archvm='VBoxManage startvm "arch-vm"'
|
||||||
|
alias chrome='google-chrome-beta --profile-directory="Profile 1" &>/dev/null &'
|
||||||
|
alias bar='~/SudacodeRice/scripts/launch_desktop.sh'
|
||||||
|
|
||||||
|
## Rice
|
||||||
|
alias config='/usr/bin/git --git-dir=$HOME/rice/ --work-tree=$HOME'
|
||||||
|
4
dotfiles/.xprofile
Normal file
4
dotfiles/.xprofile
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
# FIFO for mpv queue
|
||||||
|
rm -f /tmp/mp_pipe && mkfifo /tmp/mp_pipe
|
||||||
|
setxkbmap -option caps:escape &>/dev/null
|
||||||
|
setxkbmap -option caps:escape_shifted_capslock &>/dev/null
|
@ -24,16 +24,17 @@
|
|||||||
# dynamic width from 0 to 300
|
# dynamic width from 0 to 300
|
||||||
# width = (0, 300)
|
# width = (0, 300)
|
||||||
# constant width of 300
|
# constant width of 300
|
||||||
width = 300
|
width = 0
|
||||||
|
|
||||||
# The maximum height of a single notification, excluding the frame.
|
# The maximum height of a single notification, excluding the frame.
|
||||||
height = 300
|
# height = 300
|
||||||
|
height = 500
|
||||||
|
|
||||||
# Position the notification in the top right corner
|
# Position the notification in the top right corner
|
||||||
origin = top-right
|
origin = top-right
|
||||||
|
|
||||||
# Offset from the origin
|
# Offset from the origin
|
||||||
offset = 30x56
|
offset = 22x54
|
||||||
|
|
||||||
# Scale factor. It is auto-detected if value is 0.
|
# Scale factor. It is auto-detected if value is 0.
|
||||||
scale = 0
|
scale = 0
|
||||||
@ -68,7 +69,7 @@
|
|||||||
# The transparency of the window. Range: [0; 100].
|
# The transparency of the window. Range: [0; 100].
|
||||||
# This option will only work if a compositing window manager is
|
# This option will only work if a compositing window manager is
|
||||||
# present (e.g. xcompmgr, compiz, etc.). (X11 only)
|
# present (e.g. xcompmgr, compiz, etc.). (X11 only)
|
||||||
transparency = 10
|
transparency = 0
|
||||||
|
|
||||||
# Draw a line of "separator_height" pixel height between two
|
# Draw a line of "separator_height" pixel height between two
|
||||||
# notifications.
|
# notifications.
|
||||||
@ -86,7 +87,7 @@
|
|||||||
|
|
||||||
# Defines width in pixels of frame around the notification window.
|
# Defines width in pixels of frame around the notification window.
|
||||||
# Set to 0 to disable.
|
# Set to 0 to disable.
|
||||||
frame_width = 6
|
frame_width = 7
|
||||||
|
|
||||||
# Defines color of the frame around the notification window.
|
# Defines color of the frame around the notification window.
|
||||||
frame_color = "#aaaaaa"
|
frame_color = "#aaaaaa"
|
||||||
|
37
polybar-themes/sblocks/scripts/music-controls.sh
Executable file
37
polybar-themes/sblocks/scripts/music-controls.sh
Executable file
@ -0,0 +1,37 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
set -euo pipefail
|
||||||
|
|
||||||
|
NEXT=0
|
||||||
|
PREV=0
|
||||||
|
TOGGLE=0
|
||||||
|
VERBOSE='-q'
|
||||||
|
while getopts nptv options
|
||||||
|
do
|
||||||
|
case $options in
|
||||||
|
n)
|
||||||
|
NEXT=1
|
||||||
|
;;
|
||||||
|
p)
|
||||||
|
PREV=1
|
||||||
|
;;
|
||||||
|
t)
|
||||||
|
TOGGLE=1
|
||||||
|
;;
|
||||||
|
v)
|
||||||
|
VERBOSE='-v'
|
||||||
|
;;
|
||||||
|
?)
|
||||||
|
echo 'something went wrong'
|
||||||
|
exit 1
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
done
|
||||||
|
|
||||||
|
if [[ $NEXT -eq 1 ]]; then
|
||||||
|
mpc next $VERBOSE
|
||||||
|
elif [[ $PREV -eq 1 ]]; then
|
||||||
|
mpc prev $VERBOSE
|
||||||
|
elif [[ $TOGGLE -eq 1 ]]; then
|
||||||
|
mpc toggle $VERBOSE
|
||||||
|
fi
|
Loading…
Reference in New Issue
Block a user