Change startup browser, rofi width, add rofi color, enable zsh vi mode
This commit is contained in:
+1
-1
@@ -15,7 +15,7 @@ floating_modifier $mod
|
||||
# Application startup
|
||||
exec_always --no-startup-id "pkill lemonbar.sh; $HOME/.scripts/panel/lemonbar.sh &"
|
||||
exec_always --no-startup-id $HOME/.scripts/wm/wallpaper.sh &
|
||||
exec --no-startup-id qutebrowser
|
||||
exec --no-startup-id firefox
|
||||
exec --no-startup-id urxvt
|
||||
exec --no-startup-id thunar --daemon
|
||||
exec --no-startup-id thunar
|
||||
|
||||
+2
-2
@@ -3,12 +3,12 @@ rofi.color-enabled: true
|
||||
rofi.color-window: #404552, #2e3137, #2e3137
|
||||
! bg fg bgalt hlbg hlfg
|
||||
rofi.color-normal: #404552, #d3dae3, #3f4350, #5294e2, #d3dae3
|
||||
rofi.color-urgent: #524040, #ffffff, #524040, #ffffff, #707880
|
||||
!rofi.color-active: #
|
||||
!rofi.color-urgent: #
|
||||
|
||||
rofi.font: DejaVu Sans Mono 12
|
||||
rofi.lines: 8
|
||||
rofi.width: 30
|
||||
rofi.width: 50
|
||||
rofi.bw: 4
|
||||
rofi.separator-style: solid
|
||||
rofi.hide-scrollbar: true
|
||||
|
||||
@@ -26,8 +26,12 @@ export LESSHISTFILE=-
|
||||
|
||||
## Terminal
|
||||
|
||||
# Disable Ctrl+S and Ctrl+Q
|
||||
stty -ixon
|
||||
|
||||
# vi mode
|
||||
bindkey -v
|
||||
|
||||
## ZSH
|
||||
|
||||
autoload -Uz promptinit colors vcs_info compinit history-search-end
|
||||
|
||||
@@ -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