This commit is contained in:
Marco Thomas
2020-11-17 09:47:25 +01:00
parent 1a8ef8dad2
commit 09f6976477
6 changed files with 27 additions and 8 deletions

View File

@@ -51,8 +51,9 @@ bindsym $mod+p workspace prev
set $fg '#ffffff' set $fg '#ffffff'
set $bg '#000000' set $bg '#000000'
set $acc '#98c379' set $acc '#98c379'
bindsym $mod+d exec "dmenu_run -fn 'FiraCode Nerd Font Mono' -nb $bg -sb $acc -nf $fg -sf $bg" set $font 'Product Sans'
bindsym $mod+space exec "dmenu_run -fn 'FiraCode Nerd Font Mono' -nb $bg -sb $acc -nf $fg -sf $bg" bindsym $mod+d exec "dmenu_run -fn $font -nb $bg -sb $acc -nf $fg -sf $bg"
bindsym $mod+space exec "dmenu_run -fn $font -nb $bg -sb $acc -nf $fg -sf $bg"
# Screenhot # Screenhot
bindsym $mod+Shift+p exec "flameshot gui" bindsym $mod+Shift+p exec "flameshot gui"
@@ -176,4 +177,5 @@ exec nextcloud
exec feh --bg-scale $HOME/data/wallpaper/wallpaper.png exec feh --bg-scale $HOME/data/wallpaper/wallpaper.png
exec dunst exec dunst
exec picom exec picom
exec --no-startup-id ~/.config/polybar/launch.sh exec ~/scripts/fix_screens.sh
exec ~/.config/polybar/launch.sh

View File

@@ -28,6 +28,8 @@ padding-right = 2
separator = separator =
locale =
modules-left = i3 spotify modules-left = i3 spotify
modules-center = date time modules-center = date time
modules-right = cpu memory network volume backlight battery modules-right = cpu memory network volume backlight battery
@@ -72,8 +74,7 @@ ws-icon-8 = 9;九
ws-icon-9 = 10;十 ws-icon-9 = 10;十
label-focused = "%icon%" label-focused = "%icon%"
label-focused-foreground = ${colors.background} label-focused-foreground = ${colors.accent}
label-focused-background = ${colors.accent}
label-focused-padding = 2 label-focused-padding = 2
label-unfocused = "%icon%" label-unfocused = "%icon%"

View File

@@ -3,7 +3,7 @@ while pgrep -u $UID -x polybar >/dev/null; do sleep 1; done
if type "xrandr"; then if type "xrandr"; then
for mon in $(xrandr --query | grep " connected" | cut -d" " -f1); do for mon in $(xrandr --query | grep " connected" | cut -d" " -f1); do
if [ $mon = "eDP-1" ]; then if [ $mon = "eDP" ]; then
MONITOR=$mon polybar --reload laptop & MONITOR=$mon polybar --reload laptop &
elif [ $mon = "DP-3" ]; then elif [ $mon = "DP-3" ]; then
MONITOR="DP-3" polybar --reload desktop & MONITOR="DP-3" polybar --reload desktop &

View File

@@ -88,8 +88,8 @@ let g:lightline.active = {
\ 'right': [['lineinfo'], ['percent'], ['fileformat', 'fileencoding', 'filetype']] \ 'right': [['lineinfo'], ['percent'], ['fileformat', 'fileencoding', 'filetype']]
\ } \ }
let g:lightline.separator = { 'left': "", 'right': "" } "let g:lightline.separator = { 'left': "", 'right': "" }
let g:lightline.tabline_separator = { 'left': "", 'right': "" } "let g:lightline.tabline_separator = { 'left': "", 'right': "" }
let g:lightline.subseparator = { 'left': '|', 'right': '|' } let g:lightline.subseparator = { 'left': '|', 'right': '|' }
" ============================== Indents and Whitespaces " ============================== Indents and Whitespaces

5
files/scripts/fix_screens.sh Executable file
View File

@@ -0,0 +1,5 @@
#!/bin/sh
if [ `hostname` = "nazarick" ]; then
xrandr --output DP-3 --right-of DP-1 --primary
fi

View File

@@ -0,0 +1,11 @@
/**
* @name Material_Discord
* @version 2.3.3.10
* @description A theme based on Google's Material Design
* @author CapnKitten
*
* @website http://github.com/CapnKitten
* @source https://github.com/CapnKitten/BetterDiscord/blob/master/Themes/Material-Discord/css/source.css
*/
@import url(https://capnkitten.github.io/BetterDiscord/Themes/Material-Discord/css/source.css);