Change startup browser, rofi width, add rofi color, enable zsh vi mode

This commit is contained in:
Riyyi
2019-05-02 17:31:50 +02:00
parent 47f6733549
commit 440b53bd41
5 changed files with 12 additions and 8 deletions
+1 -1
View File
@@ -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
+4 -4
View File
@@ -2,13 +2,13 @@ rofi.color-enabled: true
! bg border separator
rofi.color-window: #404552, #2e3137, #2e3137
! bg fg bgalt hlbg hlfg
rofi.color-normal: #404552, #d3dae3, #3f4350, #5294e2, #d3dae3
!rofi.color-active: #
!rofi.color-urgent: #
rofi.color-normal: #404552, #d3dae3, #3f4350, #5294e2, #d3dae3
rofi.color-urgent: #524040, #ffffff, #524040, #ffffff, #707880
!rofi.color-active: #
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
+4
View File
@@ -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
+2 -2
View File
@@ -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" &
+1 -1
View File
@@ -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