Updoots
This commit is contained in:
@@ -51,33 +51,22 @@ fixed-center = true
|
|||||||
|
|
||||||
line-size = 0
|
line-size = 0
|
||||||
|
|
||||||
|
tray-position = right
|
||||||
|
|
||||||
font-0 = "Product Sans:pixelsize=10:weight=regular;2"
|
font-0 = "Product Sans:pixelsize=10:weight=regular;2"
|
||||||
#font-1 = "Noto Sans CJK JP:antialiase=false:pixelsize=11;3"
|
font-1 = "Stick:pixelsize=13;2"
|
||||||
font-1 = "Stick:pixelsize=13;3"
|
|
||||||
font-2 = "Material Design Icons:size=10;3"
|
font-2 = "Material Design Icons:size=10;3"
|
||||||
|
|
||||||
wm-restack = i3
|
wm-restack = i3
|
||||||
|
|
||||||
modules-left = i3 spotify
|
modules-left = i3 spotify
|
||||||
modules-center = date
|
modules-center = date
|
||||||
modules-right = volume
|
modules-right = memory cpu volume sep
|
||||||
|
|
||||||
[bar/bottom]
|
|
||||||
inherit = bar/main
|
|
||||||
|
|
||||||
bottom = true
|
|
||||||
override-redirect = true
|
|
||||||
|
|
||||||
modules-left = memory cpu
|
|
||||||
modules-center =
|
|
||||||
modules-right =
|
|
||||||
|
|
||||||
tray-position = right
|
|
||||||
|
|
||||||
[bar/laptop]
|
[bar/laptop]
|
||||||
inherit = bar/main
|
inherit = bar/main
|
||||||
|
|
||||||
modules-right = volume battery
|
modules-right = memory cpu volume battery sep
|
||||||
|
|
||||||
# ======================================== MODULES
|
# ======================================== MODULES
|
||||||
[module/i3]
|
[module/i3]
|
||||||
@@ -175,7 +164,8 @@ animation-charging-framerate = 1000
|
|||||||
|
|
||||||
[module/volume]
|
[module/volume]
|
||||||
type = internal/pulseaudio
|
type = internal/pulseaudio
|
||||||
format-volume = <bar-volume>
|
format-volume = <label-volume>
|
||||||
|
#<bar-volume>
|
||||||
|
|
||||||
interval = 2
|
interval = 2
|
||||||
|
|
||||||
@@ -249,3 +239,7 @@ format-connected-prefix = " "
|
|||||||
label-connected = %essid%
|
label-connected = %essid%
|
||||||
|
|
||||||
format-disconnected = " No Connection"
|
format-disconnected = " No Connection"
|
||||||
|
|
||||||
|
[module/sep]
|
||||||
|
type = custom/text
|
||||||
|
content = |
|
||||||
@@ -146,7 +146,7 @@ export FZF_DEFAULT_OPTS='--preview="head {}" --layout=reverse --bind=tab:down --
|
|||||||
## fzf Bindings in zsh (C-r and C-t)
|
## fzf Bindings in zsh (C-r and C-t)
|
||||||
if [[ -x $(which fzf 2> /dev/null) ]]
|
if [[ -x $(which fzf 2> /dev/null) ]]
|
||||||
then
|
then
|
||||||
source ~/scripts/key-bindings.zsh
|
source ~/scripts/key_bindings.zsh
|
||||||
else
|
else
|
||||||
bindkey '^R' history-incremental-search-backward
|
bindkey '^R' history-incremental-search-backward
|
||||||
fi
|
fi
|
||||||
|
|||||||
@@ -1,22 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
FONT="Product Sans:pixelsize=15:antialias=true:rgba=rgb"
|
|
||||||
BGCOL="#000000"
|
|
||||||
FGCOL="#ffffff"
|
|
||||||
SELBGCOL="#98c379"
|
|
||||||
SELFGCOL="#000000"
|
|
||||||
|
|
||||||
COMMANDS="
|
|
||||||
poweroff\n
|
|
||||||
reboot\n
|
|
||||||
lock\n
|
|
||||||
"
|
|
||||||
|
|
||||||
command=$(echo -e $COMMANDS | \
|
|
||||||
dmenu -fn "$FONT" -nb $BGCOL -nf $FGCOL -sb $SELBGCOL -sf $SELFGCOL)
|
|
||||||
[ "$command" = "" ] && exit 1
|
|
||||||
if [ "$command" = "lock" ]; then
|
|
||||||
lock.sh && exit 0
|
|
||||||
else
|
|
||||||
systemctl $command && exit 0
|
|
||||||
fi
|
|
||||||
@@ -3,7 +3,6 @@ while pgrep -u $UID -x polybar >/dev/null; do sleep 1; done
|
|||||||
|
|
||||||
if type "xrandr"; then
|
if type "xrandr"; then
|
||||||
for mon in $(xrandr --query | grep " connected" | cut -d" " -f1); do
|
for mon in $(xrandr --query | grep " connected" | cut -d" " -f1); do
|
||||||
MONITOR=$mon polybar --reload bottom &
|
|
||||||
if [ $mon = "eDP" ]; then
|
if [ $mon = "eDP" ]; then
|
||||||
MONITOR=$mon polybar --reload laptop &
|
MONITOR=$mon polybar --reload laptop &
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user