Update
This commit is contained in:
@@ -51,8 +51,9 @@ bindsym $mod+p workspace prev
|
||||
set $fg '#ffffff'
|
||||
set $bg '#000000'
|
||||
set $acc '#98c379'
|
||||
bindsym $mod+d exec "dmenu_run -fn 'FiraCode Nerd Font Mono' -nb $bg -sb $acc -nf $fg -sf $bg"
|
||||
bindsym $mod+space exec "dmenu_run -fn 'FiraCode Nerd Font Mono' -nb $bg -sb $acc -nf $fg -sf $bg"
|
||||
set $font 'Product Sans'
|
||||
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
|
||||
bindsym $mod+Shift+p exec "flameshot gui"
|
||||
@@ -176,4 +177,5 @@ exec nextcloud
|
||||
exec feh --bg-scale $HOME/data/wallpaper/wallpaper.png
|
||||
exec dunst
|
||||
exec picom
|
||||
exec --no-startup-id ~/.config/polybar/launch.sh
|
||||
exec ~/scripts/fix_screens.sh
|
||||
exec ~/.config/polybar/launch.sh
|
||||
|
||||
@@ -28,6 +28,8 @@ padding-right = 2
|
||||
|
||||
separator =
|
||||
|
||||
locale =
|
||||
|
||||
modules-left = i3 spotify
|
||||
modules-center = date time
|
||||
modules-right = cpu memory network volume backlight battery
|
||||
@@ -72,8 +74,7 @@ ws-icon-8 = 9;九
|
||||
ws-icon-9 = 10;十
|
||||
|
||||
label-focused = "%icon%"
|
||||
label-focused-foreground = ${colors.background}
|
||||
label-focused-background = ${colors.accent}
|
||||
label-focused-foreground = ${colors.accent}
|
||||
label-focused-padding = 2
|
||||
|
||||
label-unfocused = "%icon%"
|
||||
|
||||
@@ -3,7 +3,7 @@ while pgrep -u $UID -x polybar >/dev/null; do sleep 1; done
|
||||
|
||||
if type "xrandr"; then
|
||||
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 &
|
||||
elif [ $mon = "DP-3" ]; then
|
||||
MONITOR="DP-3" polybar --reload desktop &
|
||||
|
||||
@@ -88,8 +88,8 @@ let g:lightline.active = {
|
||||
\ 'right': [['lineinfo'], ['percent'], ['fileformat', 'fileencoding', 'filetype']]
|
||||
\ }
|
||||
|
||||
let g:lightline.separator = { 'left': "", 'right': "" }
|
||||
let g:lightline.tabline_separator = { 'left': "", 'right': "" }
|
||||
"let g:lightline.separator = { 'left': "", 'right': "" }
|
||||
"let g:lightline.tabline_separator = { 'left': "", 'right': "" }
|
||||
let g:lightline.subseparator = { 'left': '|', 'right': '|' }
|
||||
|
||||
" ============================== Indents and Whitespaces
|
||||
|
||||
5
files/scripts/fix_screens.sh
Executable file
5
files/scripts/fix_screens.sh
Executable file
@@ -0,0 +1,5 @@
|
||||
#!/bin/sh
|
||||
|
||||
if [ `hostname` = "nazarick" ]; then
|
||||
xrandr --output DP-3 --right-of DP-1 --primary
|
||||
fi
|
||||
Reference in New Issue
Block a user