diff --git a/dotfiles/.bash_aliases b/dotfiles/.bash_aliases index e0fbdc2..b508b71 100644 --- a/dotfiles/.bash_aliases +++ b/dotfiles/.bash_aliases @@ -1,11 +1,13 @@ alias suda='sudo' ## Colorls -alias lca='colorls -A --sd -X' -alias lc='colorls --sd -X' -alias lcl='colorls --sd -Xl' -alias lcla='colorls -lA --sd -X' -alias lcal='colorls -lA --sd -X' +alias lca='colorls -A --sd --gs -X' +alias lc='colorls --sd --gs -X' +alias lcl='colorls --sd --gs -Xl' +alias lcla='colorls -lA --sd --gs -X' +alias lcal='colorls -lA --sd --gs -X' +alias lct='colorls --gs --tree=5' +alias ls='colorls --sd -Xl' ## Pacman/Yay # update without noconfirm @@ -73,3 +75,15 @@ alias whatsmyip='http ipinfo.io' alias edit='sudoedit' alias ports='sudo netstat -tupln' 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' diff --git a/dotfiles/.xprofile b/dotfiles/.xprofile new file mode 100644 index 0000000..1c48f5c --- /dev/null +++ b/dotfiles/.xprofile @@ -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 diff --git a/dunst/dunstrc-desktop b/dunst/dunstrc-desktop index a45f532..a69708a 100644 --- a/dunst/dunstrc-desktop +++ b/dunst/dunstrc-desktop @@ -24,16 +24,17 @@ # dynamic width from 0 to 300 # width = (0, 300) # constant width of 300 - width = 300 + width = 0 # The maximum height of a single notification, excluding the frame. - height = 300 + # height = 300 + height = 500 # Position the notification in the top right corner origin = top-right # Offset from the origin - offset = 30x56 + offset = 22x54 # Scale factor. It is auto-detected if value is 0. scale = 0 @@ -68,7 +69,7 @@ # The transparency of the window. Range: [0; 100]. # This option will only work if a compositing window manager is # present (e.g. xcompmgr, compiz, etc.). (X11 only) - transparency = 10 + transparency = 0 # Draw a line of "separator_height" pixel height between two # notifications. @@ -86,7 +87,7 @@ # Defines width in pixels of frame around the notification window. # Set to 0 to disable. - frame_width = 6 + frame_width = 7 # Defines color of the frame around the notification window. frame_color = "#aaaaaa" diff --git a/polybar-themes/sblocks/scripts/music-controls.sh b/polybar-themes/sblocks/scripts/music-controls.sh new file mode 100755 index 0000000..edb6244 --- /dev/null +++ b/polybar-themes/sblocks/scripts/music-controls.sh @@ -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