Change startup browser, rofi width, add rofi color, enable zsh vi mode
This commit is contained in:
@@ -52,12 +52,12 @@ start() {
|
||||
# Directory of this script
|
||||
DIR="$(dirname "$0")"
|
||||
|
||||
# Setup workspaces with xprop events
|
||||
# Setup workspaces block with xprop events
|
||||
xprop -root -spy _NET_CURRENT_DESKTOP | while read -r line; do
|
||||
"$DIR"/workspaces.sh
|
||||
done > "$PIPE" &
|
||||
|
||||
# Setup window title with xprop events
|
||||
# Setup window title block with xprop events
|
||||
xprop -root -spy _NET_ACTIVE_WINDOW | while read -r line; do
|
||||
title "$line"
|
||||
done > "$PIPE" &
|
||||
|
||||
@@ -6,7 +6,7 @@ calc() { awk "BEGIN{print $*}"; }
|
||||
# Calculate size
|
||||
MON_WIDTH=$(xdotool getdisplaygeometry | awk '{print $1}')
|
||||
MON_HEIGHT=$(xdotool getdisplaygeometry | awk '{print $2}')
|
||||
NEW_WIDTH=$(calc "$MON_WIDTH * 0.25")
|
||||
NEW_WIDTH=$(calc "$MON_WIDTH * 0.2")
|
||||
NEW_HEIGHT=$(calc "$NEW_WIDTH / 16 * 9")
|
||||
|
||||
# Calculate position
|
||||
|
||||
Reference in New Issue
Block a user