diff --git a/aliases/zsh_aliases b/aliases/zsh_aliases index ad30d87..ef6711d 100644 --- a/aliases/zsh_aliases +++ b/aliases/zsh_aliases @@ -68,6 +68,7 @@ alias "f."="f .." alias "f.."="f ..." function mvd() { mv $1 ~/Downloads ; } +alias lhd="sudo fdisk -l" # }}} directory-related # @@ -113,6 +114,7 @@ function aptr() { sudo apt remove $1 ; } function pac() { sudo pacman -S $1 ; } function pcr() { sudo pacman -Rs $1 ; } alias aptu="sudo apt upgrade" + # }}} system # # config files {{{ # @@ -134,7 +136,7 @@ function vsnp() { ni ~/.vim/plugged/vim-snippets/UltiSnips/"$1".snippets ; } # applications {{{ # silent="> /dev/null 2>&1& " -alias r="ranger" +alias rg="ranger" alias mr="man ranger" # okular # function ok() { nohup okular $1 > /dev/null 2>&1& ; } @@ -154,6 +156,7 @@ function auc() { xdotool click --repeat 1000000 --delay $1 1 ; } # alias kauc="pkill -f xdotool" # alias rsl="java -jar ~/Downloads/RuneLite.jar" alias swex="sudo nohup ~/Downloads/swex.appimage $silent" +alias h="htop" alias vbn="cvlc --loop --alsa-gain 1 ~/Music/brown-noise.mp3" alias rmsw="rm .sw*" diff --git a/change-sink.sh b/change-sink.sh index 0b4b49a..3273860 100755 --- a/change-sink.sh +++ b/change-sink.sh @@ -2,7 +2,7 @@ #Device name variable if [ $1 = "dac" ]; then - devicename="alsa_output.usb-FiiO_DigiHug_USB_Audio-01.iec958-stereo" + devicename="alsa_output.usb-FiiO_DigiHug_USB_Audio-01.analog-stereo" elif [ $1 = "line-out" ]; then devicename="alsa_output.pci-0000_00_14.2.analog-stereo" fi diff --git a/configs/i3/config b/configs/i3/config index 8784c4d..ece2935 100644 --- a/configs/i3/config +++ b/configs/i3/config @@ -5,11 +5,10 @@ set $def_term "urxvt" set $swex "sudo ~/Downloads/swex.appimage" exec redshift -O 2000 # random bg -# exec wal -i "$HOME/Pictures/Backgrounds/dim" +exec wal -i "$HOME/Pictures/Backgrounds/dim" exec imwheel exec xmodmap ~/.Xmodmap exec xrdb ~/.Xresources -exec wal -i "$HOME/Pictures/van.png" exec --no-startup-id start-pulseaudio-x11 exec --no-startup-id i3-msg 'workspace $ws2; exec $def_term' exec --no-startup-id i3-msg 'workspace $ws3; exec $browser' @@ -151,7 +150,7 @@ bindsym $mod+a focus parent # workspace {{{ # # ws names {{{ # set $samsung "DVI-I-1" -set $benq "HDMI-0" +set $benq "HDMI-1" set $ws1 "1 " workspace $ws1 output $benq @@ -293,14 +292,24 @@ bindsym control+shift+0 gaps inner all set 0;gaps outer all set 0 # finds out, if available) set $sb_font Hack NF Bold bar { - font pango:$sb_font 27 - tray_output none - status_command i3blocks -c ~/.config/i3blocks/i3blocks.conf - output eDP1 - wheel_up_cmd nop - wheel_down_cmd nop + font pango:$sb_font 20 + tray_output none + status_command i3blocks -c ~/.config/i3blocks/i3blocks.conf + output $benq + wheel_up_cmd nop + wheel_down_cmd nop } -# }}} status bar # + +bar { + output $samsung + status_command i3blocks -c ~/.config/sam-i3blocks/sam-i3blocks.conf + tray_output none + font pango:$sb_font 23 + # font pango:monospace 22, FontAwesome 22 + wheel_up_cmd nop + wheel_down_cmd nop +} +# }}} status bar # # mod key/font {{{ # set $mod Mod1 diff --git a/configs/ranger/rc.conf b/configs/ranger/rc.conf index 6ac4d53..4422cc1 100644 --- a/configs/ranger/rc.conf +++ b/configs/ranger/rc.conf @@ -668,7 +668,7 @@ map R chain shell nvim -p ~/.config/ranger/rc.conf %rangerdir/config/rc.conf; so map rr source ~/.config/ranger/rc.conf # backgrounds -map w shell ~/.local/bin/wal -i %f +map w shell /usr/bin/wal -i %f map md shell mv %f dim map mb shell mv %f vibrant diff --git a/dotfiles/Xresources b/dotfiles/Xresources index 1813976..00df323 100644 --- a/dotfiles/Xresources +++ b/dotfiles/Xresources @@ -1,4 +1,4 @@ -URxvt.font: xft:Hack Nerd Font:size=18 +URxvt.font: xft:Hack Nerd Font:size=14 ! URxvt.font: xft:Hack NF:size=18 ! URxvt.font: xft:Hack:size=18 diff --git a/dotfiles/zshrc b/dotfiles/zshrc index cdfe42c..b931cb1 100644 --- a/dotfiles/zshrc +++ b/dotfiles/zshrc @@ -10,8 +10,8 @@ # Set name of the theme to load. Optionally, if you set this to "random" # it'll load a random theme each time that oh-my-zsh is loaded. # See https://github.com/robbyrussell/oh-my-zsh/wiki/Themes -# ZSH_THEME="muse" -ZSH_THEME="miloshadzic" +# ZSH_THEME="miloshadzic" +ZSH_THEME="bira" # Set list of themes to load # Setting this variable when ZSH_THEME=random diff --git a/key_dirs.txt b/key_dirs.txt index 75737c3..b9416ac 100644 --- a/key_dirs.txt +++ b/key_dirs.txt @@ -5,6 +5,7 @@ d ~/Downloads D ~/Documents ho ~/ lc ~/linux-config/ +m /run/media ro / # }}} sys *