+
This commit is contained in:
parent
09a803e156
commit
c47b6452b3
7 changed files with 20 additions and 8 deletions
|
@ -165,7 +165,7 @@ module-margin-right = 0
|
||||||
|
|
||||||
;https://github.com/jaagr/polybar/wiki/Fonts
|
;https://github.com/jaagr/polybar/wiki/Fonts
|
||||||
font-0 = "UbuntuMono Nerd Font:size=10;2"
|
font-0 = "UbuntuMono Nerd Font:size=10;2"
|
||||||
font-1 = "UbuntuMono Nerd Font:size=16;3"
|
font-1 = "UbuntuMono Nerd Font:size=12;2"
|
||||||
font-2 = "Sarasa Term J:bold:size=9;2"
|
font-2 = "Sarasa Term J:bold:size=9;2"
|
||||||
font-3 = "Nimbus Sans:bold:size=9;2"
|
font-3 = "Nimbus Sans:bold:size=9;2"
|
||||||
font-4 = "Iosevka Nerd Font:bold:size=9;2"
|
font-4 = "Iosevka Nerd Font:bold:size=9;2"
|
||||||
|
@ -174,9 +174,9 @@ font-6 = "Nimbus Sans:bold:size=16;2"
|
||||||
font-7 = "Iosevka Nerd Font:bold:style=solid:size=6;2"
|
font-7 = "Iosevka Nerd Font:bold:style=solid:size=6;2"
|
||||||
font-8 = "Iosevka Nerd Font:bold:style=solid:size=8;2"
|
font-8 = "Iosevka Nerd Font:bold:style=solid:size=8;2"
|
||||||
; ----------------------------------------------------------------------------------------
|
; ----------------------------------------------------------------------------------------
|
||||||
modules-left = ewmh dividerS wirednetwork temp covPos covSem dividerS
|
modules-left = ewmh dividerS wirednetwork checktor temp covPos covSem dividerS
|
||||||
modules-center = date
|
modules-center = date
|
||||||
modules-right = dividerS disk player-mpris-tail player-mpris mpd volume battery dividerS prompt
|
modules-right = dividerS disk playerctl-tail playerctl mpd volume battery dividerS prompt
|
||||||
; ----------------------------------------------------------------------------------------
|
; ----------------------------------------------------------------------------------------
|
||||||
|
|
||||||
tray-detached = false
|
tray-detached = false
|
||||||
|
@ -222,7 +222,7 @@ label-occupied-foreground = #ffffff
|
||||||
label-urgent = %icon%
|
label-urgent = %icon%
|
||||||
label-urgent-padding = 2
|
label-urgent-padding = 2
|
||||||
|
|
||||||
label-empty = "ﱤ"
|
label-empty = "ﱣ"
|
||||||
;label-empty = %icon%
|
;label-empty = %icon%
|
||||||
label-empty-foreground = #7f8fa6
|
label-empty-foreground = #7f8fa6
|
||||||
label-empty-padding = 2
|
label-empty-padding = 2
|
||||||
|
|
|
@ -19,7 +19,7 @@
|
||||||
#SAVELAST=0
|
#SAVELAST=0
|
||||||
|
|
||||||
# Uncomment to use text UI instead of ncurses UI
|
# Uncomment to use text UI instead of ncurses UI
|
||||||
#TDMUI=tdm_text
|
TDMUI=tdm_text
|
||||||
|
|
||||||
# Uncomment to show linux logo
|
# Uncomment to show linux logo
|
||||||
#linux_logo -L classic
|
#linux_logo -L classic
|
||||||
|
|
|
@ -1,5 +1,8 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
|
# Disable auto-dim/autolock/screen saver
|
||||||
|
xset s off -dpms
|
||||||
|
|
||||||
# Slow app startup fix (for flatpaks)
|
# Slow app startup fix (for flatpaks)
|
||||||
dbus-update-activation-environment --systemd DBUS_SESSION_BUS_ADDRESS DISPLAY XAUTHORITY
|
dbus-update-activation-environment --systemd DBUS_SESSION_BUS_ADDRESS DISPLAY XAUTHORITY
|
||||||
|
|
||||||
|
|
|
@ -1803,5 +1803,5 @@ autoload -Uz +X _call_program
|
||||||
typeset -gUa _comp_assocs
|
typeset -gUa _comp_assocs
|
||||||
_comp_assocs=( '' )
|
_comp_assocs=( '' )
|
||||||
|
|
||||||
#omz revision: aada4d62bff3fc2e1720da1da4c54d47b5f86fa3
|
#omz revision: 94e784360e2ad34faa6a4a648c67a5c6ed6c987f
|
||||||
#omz fpath: /home/ziro/.local/share/oh-my-zsh/custom/plugins/zsh-autosuggestions /home/ziro/.local/share/oh-my-zsh/custom/plugins/fast-syntax-highlighting /home/ziro/.local/share/oh-my-zsh/plugins/git /home/ziro/.local/share/oh-my-zsh/functions /home/ziro/.local/share/oh-my-zsh/completions /usr/local/share/zsh/site-functions /usr/share/zsh/site-functions /usr/share/zsh/functions/Calendar /usr/share/zsh/functions/Chpwd /usr/share/zsh/functions/Completion /usr/share/zsh/functions/Completion/Base /usr/share/zsh/functions/Completion/Linux /usr/share/zsh/functions/Completion/Unix /usr/share/zsh/functions/Completion/X /usr/share/zsh/functions/Completion/Zsh /usr/share/zsh/functions/Exceptions /usr/share/zsh/functions/Math /usr/share/zsh/functions/MIME /usr/share/zsh/functions/Misc /usr/share/zsh/functions/Newuser /usr/share/zsh/functions/Prompts /usr/share/zsh/functions/TCP /usr/share/zsh/functions/VCS_Info /usr/share/zsh/functions/VCS_Info/Backends /usr/share/zsh/functions/Zftp /usr/share/zsh/functions/Zle
|
#omz fpath: /home/ziro/.local/share/oh-my-zsh/custom/plugins/zsh-autosuggestions /home/ziro/.local/share/oh-my-zsh/custom/plugins/fast-syntax-highlighting /home/ziro/.local/share/oh-my-zsh/plugins/git /home/ziro/.local/share/oh-my-zsh/functions /home/ziro/.local/share/oh-my-zsh/completions /usr/local/share/zsh/site-functions /usr/share/zsh/site-functions /usr/share/zsh/functions/Calendar /usr/share/zsh/functions/Chpwd /usr/share/zsh/functions/Completion /usr/share/zsh/functions/Completion/Base /usr/share/zsh/functions/Completion/Linux /usr/share/zsh/functions/Completion/Unix /usr/share/zsh/functions/Completion/X /usr/share/zsh/functions/Completion/Zsh /usr/share/zsh/functions/Exceptions /usr/share/zsh/functions/Math /usr/share/zsh/functions/MIME /usr/share/zsh/functions/Misc /usr/share/zsh/functions/Newuser /usr/share/zsh/functions/Prompts /usr/share/zsh/functions/TCP /usr/share/zsh/functions/VCS_Info /usr/share/zsh/functions/VCS_Info/Backends /usr/share/zsh/functions/Zftp /usr/share/zsh/functions/Zle
|
||||||
|
|
|
@ -13,8 +13,9 @@ export BROWSER='firefox'
|
||||||
export TERMINAL='st'
|
export TERMINAL='st'
|
||||||
export READER='zathura'
|
export READER='zathura'
|
||||||
|
|
||||||
# vim as manpager
|
# vim/nvim as manpager
|
||||||
export MANPAGER="/bin/sh -c \"col -b | vim --not-a-term -c 'set ft=man ts=8 nomod nolist noma' -\""
|
export MANPAGER="nvimpager"
|
||||||
|
# export MANPAGER="/bin/sh -c \"col -b | vim --not-a-term -c 'set ft=man ts=8 nomod nolist noma' -\""
|
||||||
|
|
||||||
# SUDO
|
# SUDO
|
||||||
#export SUDO_ASKPASS=/bin/rofi-askpass
|
#export SUDO_ASKPASS=/bin/rofi-askpass
|
||||||
|
|
|
@ -10,6 +10,7 @@ alias sudovim='sudoedit'
|
||||||
#vim
|
#vim
|
||||||
alias nano=nvim
|
alias nano=nvim
|
||||||
alias vim=nvim
|
alias vim=nvim
|
||||||
|
alias vimsudo='sudoedit /etc/sudoers'
|
||||||
alias vi=nvim
|
alias vi=nvim
|
||||||
alias v=nvim
|
alias v=nvim
|
||||||
|
|
||||||
|
@ -73,6 +74,7 @@ alias cfkeys='vim $XDG_CONFIG_HOME/sxhkd/sxhkdrc'
|
||||||
alias cfalias='vim $XDG_CONFIG_HOME/zsh/aliases'
|
alias cfalias='vim $XDG_CONFIG_HOME/zsh/aliases'
|
||||||
alias cfbind='vim $XDG_CONFIG_HOME/zsh/keybinds'
|
alias cfbind='vim $XDG_CONFIG_HOME/zsh/keybinds'
|
||||||
alias cfprofile='vim $XDG_CONFIG_HOME/zsh/.zprofile'
|
alias cfprofile='vim $XDG_CONFIG_HOME/zsh/.zprofile'
|
||||||
|
alias cfxprofile='vim $XDG_CONFIG_HOME/xprofile'
|
||||||
alias cfcompt='vim $XDG_CONFIG_HOME/picom/compton.conf'
|
alias cfcompt='vim $XDG_CONFIG_HOME/picom/compton.conf'
|
||||||
alias cfenv='vim $XDG_CONFIG_HOME/zsh/.zshenv'
|
alias cfenv='vim $XDG_CONFIG_HOME/zsh/.zshenv'
|
||||||
|
|
||||||
|
|
|
@ -21,10 +21,16 @@ restartTor() {
|
||||||
sudo systemctl restart tor && notify-send "Tor restarting" || notify-send "Tor failed to restart"
|
sudo systemctl restart tor && notify-send "Tor restarting" || notify-send "Tor failed to restart"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
checkIP() {
|
||||||
|
curl --socks5-hostname localhost:9050 -s https://check.torproject.org | grep "IP" | cut -d'>' -f3 | cut -d'<' -f1
|
||||||
|
}
|
||||||
|
|
||||||
case "$1" in
|
case "$1" in
|
||||||
-t ) $(toggle) ;;
|
-t ) $(toggle) ;;
|
||||||
-c ) checkWeb ;;
|
-c ) checkWeb ;;
|
||||||
-r ) restartTor ;;
|
-r ) restartTor ;;
|
||||||
-n ) checkNotif ;;
|
-n ) checkNotif ;;
|
||||||
|
-l ) echo "$(pidof tor | wc -l)" ;;
|
||||||
|
--check-ip ) checkIP ;;
|
||||||
* ) check ;;
|
* ) check ;;
|
||||||
esac
|
esac
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue