From 63278ef30c2e54ddade539168ebd32223e42792e Mon Sep 17 00:00:00 2001 From: Wiktor Zykubek Date: Fri, 27 Mar 2020 17:17:53 +0100 Subject: [PATCH] Change look of polybar on pc + modify picom settings + other small changes in configs --- botfiles/.bash_profile | 2 +- botfiles/.config/bspwm/bspwmrc | 9 +++++---- botfiles/.config/dconf/user | Bin 907 -> 907 bytes botfiles/.config/mimeapps.list | 12 ------------ botfiles/.config/picom/picom.conf | 12 ++++++------ botfiles/.config/polybar/config.pc | 10 ++++++---- botfiles/.config/sxhkd/sxhkdrc.pc | 2 +- botfiles/.profile | 2 +- botfiles/.scripts/autostart | 2 +- botfiles/.zprofile | 2 +- botfiles/.zshrc | 1 + 11 files changed, 23 insertions(+), 31 deletions(-) delete mode 100644 botfiles/.config/mimeapps.list diff --git a/botfiles/.bash_profile b/botfiles/.bash_profile index 61f7d17..4ccc2a1 100644 --- a/botfiles/.bash_profile +++ b/botfiles/.bash_profile @@ -13,7 +13,7 @@ # Default Apps #~~~~~~~~~~~~~~ export EDITOR="nvim" -export BROWSER="qutebrowser" +export BROWSER="firefox" export TERMINAL="st" #~~~~~~ diff --git a/botfiles/.config/bspwm/bspwmrc b/botfiles/.config/bspwm/bspwmrc index 9e126fe..5a970a8 100755 --- a/botfiles/.config/bspwm/bspwmrc +++ b/botfiles/.config/bspwm/bspwmrc @@ -9,7 +9,7 @@ #~~~~~~~~~~~~~~~~ # 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 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 window_gap 3 -bspc config normal_border_color "$BOR_UF" -bspc config focused_border_color "$BOR_F" +# bspc config normal_border_color "$BOR_UF" +# bspc config focused_border_color "$BOR_F" +bspc config border_width 0 bspc config split_ratio 0.52 bspc config borderless_monocle true bspc config gapless_monocle true @@ -26,7 +27,7 @@ bspc config gapless_monocle true #~~~~~~~~~~~~ # APPS RULES #~~~~~~~~~~~~ -bspc rule -a qutebrowser desktop='^3' +bspc rule -a firefox desktop='^3' bspc rule -a discord desktop='^4' bspc rule -a TelegramDesktop desktop='^4' diff --git a/botfiles/.config/dconf/user b/botfiles/.config/dconf/user index 760c836007206b0464f67dbc0ad30ca08c5afc63..3620a05e7262187758e109b9529aeca2208128e4 100644 GIT binary patch delta 240 zcmeBX?`Geiz^HndiGji4%YFt{1_lNYn}xxL;RKLA1H{hN8>TS>#m`K3Wem6VWIi|( z#FGUQ{0wCb20+>th^++G+(F_XHZM>-07ypz@q%sMQ6O;;n``n-#%fhQAP;CP12+&0 z05Ka7vjZ^*@B=X;5c5v1WU}YT%}>cp%S=s~yoX6*@(m_e$@0v+l>Bntg8bsllFa-( wkd6qT@<@isV$4R$DXGQDsd*`xdFc!c#l;ywg(Z~*sk+JeIiTS>#ZOFjWem5q5>#^s z@nnGnFGCrF0g$!^;sx8hqd?*yHWyIb14xGeu_yDvnILfxn}706#%fhwAP;CP12+&0 z05Ka7vjZ^*@BuL+5c5y2WU^<;OUzB3e1J&;q<`{tCb!A9%-YV0#mT98DVcfc3=GBP znRzMs<+=s=#hE3U`FTKP3=H8w{ShFBMrNjFaRyMjq_QAYH#tA2G#8|Tks%2H4(>0W diff --git a/botfiles/.config/mimeapps.list b/botfiles/.config/mimeapps.list deleted file mode 100644 index 9c51bab..0000000 --- a/botfiles/.config/mimeapps.list +++ /dev/null @@ -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 diff --git a/botfiles/.config/picom/picom.conf b/botfiles/.config/picom/picom.conf index 36fbf36..bc1ec4c 100644 --- a/botfiles/.config/picom/picom.conf +++ b/botfiles/.config/picom/picom.conf @@ -101,13 +101,13 @@ inactive-opacity-override = false; opacity-rule = [ "92:class_g = 'St' && focused", - "90:class_g = 'St' && !focused", - "90:class_g = 'Polybar'", - "90:class_g = 'Rofi'" + "92:class_g = 'St' && !focused", + "85:class_g = 'Polybar'", + "80:class_g = 'Rofi'" ]; # Dim inactive windows. (0.0 - 1.0) -inactive-dim = 0.3; +inactive-dim = 0.2; # Do not let dimness adjust based on window opacity. inactive-dim-fixed = true; @@ -134,9 +134,9 @@ blur-background-exclude = [ ################################# # Fade windows during opacity changes. -fading = false; +fading = true; # 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). fade-in-step = 0.03; # Opacity change between steps while fading out. (default 0.03). diff --git a/botfiles/.config/polybar/config.pc b/botfiles/.config/polybar/config.pc index 7a0e3a0..3a9832e 100644 --- a/botfiles/.config/polybar/config.pc +++ b/botfiles/.config/polybar/config.pc @@ -28,7 +28,7 @@ font-2 = "Font Awesome 5 Free:style=Solid:pixelsize=12:antialias=true;3" background = ${colors.bg} foreground = ${colors.fg} -line-size = 0 +line-size = 2 line-color = ${colors.fg} border-size = 0 @@ -44,7 +44,7 @@ module-margin-right = 0 modules-left = bspwm 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-scroll = ns-resize @@ -73,10 +73,12 @@ ws-icon-7 = "8;" format = label-monitor = %name% label-focused = %name% -label-focused-background = ${colors.border_f} +; label-focused-background = ${colors.border} label-focused-overline = ${colors.fg} 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-focused-padding = 1 label-unfocused-padding = 1 diff --git a/botfiles/.config/sxhkd/sxhkdrc.pc b/botfiles/.config/sxhkd/sxhkdrc.pc index 0613594..7f8d07a 100644 --- a/botfiles/.config/sxhkd/sxhkdrc.pc +++ b/botfiles/.config/sxhkd/sxhkdrc.pc @@ -16,7 +16,7 @@ #~~~~~~ # qutebrowser super + b - qutebrowser + firefox # st super + Return st diff --git a/botfiles/.profile b/botfiles/.profile index 61f7d17..4ccc2a1 100644 --- a/botfiles/.profile +++ b/botfiles/.profile @@ -13,7 +13,7 @@ # Default Apps #~~~~~~~~~~~~~~ export EDITOR="nvim" -export BROWSER="qutebrowser" +export BROWSER="firefox" export TERMINAL="st" #~~~~~~ diff --git a/botfiles/.scripts/autostart b/botfiles/.scripts/autostart index 6995fe0..406fbca 100755 --- a/botfiles/.scripts/autostart +++ b/botfiles/.scripts/autostart @@ -41,7 +41,7 @@ xsetroot -cursor_name left_ptr & # change the cursor shape from "x" to normal [[ -z $(pgrep clipmenud) ]] && clipmenud & [[ -z $(pgrep mpd) ]] && mpd & [[ -z $(pgrep dunst) ]] && dunst & -[[ -z $(pgrep syncthing) ]] && syncthing & +[[ -z $(pgrep syncthing) ]] && syncthing -no-browser & telegram-desktop & # Welcome notify diff --git a/botfiles/.zprofile b/botfiles/.zprofile index 61f7d17..4ccc2a1 100644 --- a/botfiles/.zprofile +++ b/botfiles/.zprofile @@ -13,7 +13,7 @@ # Default Apps #~~~~~~~~~~~~~~ export EDITOR="nvim" -export BROWSER="qutebrowser" +export BROWSER="firefox" export TERMINAL="st" #~~~~~~ diff --git a/botfiles/.zshrc b/botfiles/.zshrc index 14b8482..6a5bcc5 100644 --- a/botfiles/.zshrc +++ b/botfiles/.zshrc @@ -115,6 +115,7 @@ ZSH_HIGHLIGHT_STYLES[double-quoted-argument]='fg=red' ZSH_HIGHLIGHT_STYLES[dollar-double-quoted-argument]='fg=cyan' ZSH_HIGHLIGHT_STYLES[back-double-quoted-argument]='fg=cyan' ZSH_HIGHLIGHT_STYLES[assign]='none' +ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE='fg=8' # tetris easter-egg autoload -Uz tetriscurses