Change look of polybar on pc

+ modify picom settings
+ other small changes in configs
This commit is contained in:
samedamci 2020-03-27 17:17:53 +01:00
parent 309d5a6b14
commit 7d6fff5dfa
11 changed files with 23 additions and 31 deletions

View File

@ -13,7 +13,7 @@
# Default Apps # Default Apps
#~~~~~~~~~~~~~~ #~~~~~~~~~~~~~~
export EDITOR="nvim" export EDITOR="nvim"
export BROWSER="qutebrowser" export BROWSER="firefox"
export TERMINAL="st" export TERMINAL="st"
#~~~~~~ #~~~~~~

View File

@ -9,7 +9,7 @@
#~~~~~~~~~~~~~~~~ #~~~~~~~~~~~~~~~~
# WINDOW MANAGER # WINDOW MANAGER
#~~~~~~~~~~~~~~~~ #~~~~~~~~~~~~~~~~
bspc monitor -d one two three four five six seven eight nine ten bspc monitor -d I II III IV V VI VII VIII IX X
bspc desktop -f 1 bspc desktop -f 1
BOR_UF=$(echo $(xrdb -query | awk '/\*.border_unfocused/ { printf $2 } ')) BOR_UF=$(echo $(xrdb -query | awk '/\*.border_unfocused/ { printf $2 } '))
@ -17,8 +17,9 @@ BOR_F=$(echo $(xrdb -query | awk '/\*.border_focused/ { printf $2 } '))
bspc config border_width 1 bspc config border_width 1
bspc config window_gap 3 bspc config window_gap 3
bspc config normal_border_color "$BOR_UF" # bspc config normal_border_color "$BOR_UF"
bspc config focused_border_color "$BOR_F" # bspc config focused_border_color "$BOR_F"
bspc config border_width 0
bspc config split_ratio 0.52 bspc config split_ratio 0.52
bspc config borderless_monocle true bspc config borderless_monocle true
bspc config gapless_monocle true bspc config gapless_monocle true
@ -26,7 +27,7 @@ bspc config gapless_monocle true
#~~~~~~~~~~~~ #~~~~~~~~~~~~
# APPS RULES # APPS RULES
#~~~~~~~~~~~~ #~~~~~~~~~~~~
bspc rule -a qutebrowser desktop='^3' bspc rule -a firefox desktop='^3'
bspc rule -a discord desktop='^4' bspc rule -a discord desktop='^4'
bspc rule -a TelegramDesktop desktop='^4' bspc rule -a TelegramDesktop desktop='^4'

Binary file not shown.

View File

@ -1,12 +0,0 @@
[Default Applications]
x-scheme-handler/http=org.qutebrowser.qutebrowser.desktop
x-scheme-handler/https=org.qutebrowser.qutebrowser.desktop
x-scheme-handler/ftp=org.qutebrowser.qutebrowser.desktop
x-scheme-handler/chrome=org.qutebrowser.qutebrowser.desktop
text/html=org.qutebrowser.qutebrowser.desktop
application/x-extension-htm=org.qutebrowser.qutebrowser.desktop
application/x-extension-html=org.qutebrowser.qutebrowser.desktop
application/x-extension-shtml=org.qutebrowser.qutebrowser.desktop
application/xhtml+xml=org.qutebrowser.qutebrowser.desktop
application/x-extension-xhtml=org.qutebrowser.qutebrowser.desktop
application/x-extension-xht=org.qutebrowser.qutebrowser.desktop

View File

@ -101,13 +101,13 @@ inactive-opacity-override = false;
opacity-rule = [ opacity-rule = [
"92:class_g = 'St' && focused", "92:class_g = 'St' && focused",
"90:class_g = 'St' && !focused", "92:class_g = 'St' && !focused",
"90:class_g = 'Polybar'", "85:class_g = 'Polybar'",
"90:class_g = 'Rofi'" "80:class_g = 'Rofi'"
]; ];
# Dim inactive windows. (0.0 - 1.0) # Dim inactive windows. (0.0 - 1.0)
inactive-dim = 0.3; inactive-dim = 0.2;
# Do not let dimness adjust based on window opacity. # Do not let dimness adjust based on window opacity.
inactive-dim-fixed = true; inactive-dim-fixed = true;
@ -134,9 +134,9 @@ blur-background-exclude = [
################################# #################################
# Fade windows during opacity changes. # Fade windows during opacity changes.
fading = false; fading = true;
# The time between steps in a fade in milliseconds. (default 10). # The time between steps in a fade in milliseconds. (default 10).
fade-delta = 3; fade-delta = 6;
# Opacity change between steps while fading in. (default 0.028). # Opacity change between steps while fading in. (default 0.028).
fade-in-step = 0.03; fade-in-step = 0.03;
# Opacity change between steps while fading out. (default 0.03). # Opacity change between steps while fading out. (default 0.03).

View File

@ -28,7 +28,7 @@ font-2 = "Font Awesome 5 Free:style=Solid:pixelsize=12:antialias=true;3"
background = ${colors.bg} background = ${colors.bg}
foreground = ${colors.fg} foreground = ${colors.fg}
line-size = 0 line-size = 2
line-color = ${colors.fg} line-color = ${colors.fg}
border-size = 0 border-size = 0
@ -44,7 +44,7 @@ module-margin-right = 0
modules-left = bspwm modules-left = bspwm
modules-center = mpd modules-center = mpd
modules-right = alsa sym2 fsroot sym5 fshome sym2 coreuse temperature memory sym2 clock sym2 updater sym2 powermenu modules-right = alsa sym2 fsroot sym5 fshome sym2 clock sym2 updater sym2 powermenu
cursor-click = pointer cursor-click = pointer
cursor-scroll = ns-resize cursor-scroll = ns-resize
@ -73,10 +73,12 @@ ws-icon-7 = "8;"
format = <label-state><label-mode> format = <label-state><label-mode>
label-monitor = %name% label-monitor = %name%
label-focused = %name% label-focused = %name%
label-focused-background = ${colors.border_f} ; label-focused-background = ${colors.border}
label-focused-overline = ${colors.fg} label-focused-overline = ${colors.fg}
label-occupied = %name% label-occupied = %name%
label-occupied-background = ${colors.border} ; label-occupied-background = ${colors.border}
label-occupied-foreground = ${colors.fg}
label-empty-foreground = ${colors.border_f}
label-occupied-padding = 1 label-occupied-padding = 1
label-focused-padding = 1 label-focused-padding = 1
label-unfocused-padding = 1 label-unfocused-padding = 1

View File

@ -16,7 +16,7 @@
#~~~~~~ #~~~~~~
# qutebrowser # qutebrowser
super + b super + b
qutebrowser firefox
# st # st
super + Return super + Return
st st

View File

@ -13,7 +13,7 @@
# Default Apps # Default Apps
#~~~~~~~~~~~~~~ #~~~~~~~~~~~~~~
export EDITOR="nvim" export EDITOR="nvim"
export BROWSER="qutebrowser" export BROWSER="firefox"
export TERMINAL="st" export TERMINAL="st"
#~~~~~~ #~~~~~~

View File

@ -41,7 +41,7 @@ xsetroot -cursor_name left_ptr & # change the cursor shape from "x" to normal
[[ -z $(pgrep clipmenud) ]] && clipmenud & [[ -z $(pgrep clipmenud) ]] && clipmenud &
[[ -z $(pgrep mpd) ]] && mpd & [[ -z $(pgrep mpd) ]] && mpd &
[[ -z $(pgrep dunst) ]] && dunst & [[ -z $(pgrep dunst) ]] && dunst &
[[ -z $(pgrep syncthing) ]] && syncthing & [[ -z $(pgrep syncthing) ]] && syncthing -no-browser &
telegram-desktop & telegram-desktop &
# Welcome notify # Welcome notify

View File

@ -13,7 +13,7 @@
# Default Apps # Default Apps
#~~~~~~~~~~~~~~ #~~~~~~~~~~~~~~
export EDITOR="nvim" export EDITOR="nvim"
export BROWSER="qutebrowser" export BROWSER="firefox"
export TERMINAL="st" export TERMINAL="st"
#~~~~~~ #~~~~~~

View File

@ -115,6 +115,7 @@ ZSH_HIGHLIGHT_STYLES[double-quoted-argument]='fg=red'
ZSH_HIGHLIGHT_STYLES[dollar-double-quoted-argument]='fg=cyan' ZSH_HIGHLIGHT_STYLES[dollar-double-quoted-argument]='fg=cyan'
ZSH_HIGHLIGHT_STYLES[back-double-quoted-argument]='fg=cyan' ZSH_HIGHLIGHT_STYLES[back-double-quoted-argument]='fg=cyan'
ZSH_HIGHLIGHT_STYLES[assign]='none' ZSH_HIGHLIGHT_STYLES[assign]='none'
ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE='fg=8'
# tetris easter-egg # tetris easter-egg
autoload -Uz tetriscurses autoload -Uz tetriscurses