fixed issues with polybar and i3 config
This commit is contained in:
@@ -4,19 +4,17 @@ set $mod Mod4
|
|||||||
font pango:JetBrainsMonoNerdFont 14
|
font pango:JetBrainsMonoNerdFont 14
|
||||||
|
|
||||||
exec --no-startup-id picom --no-fading-openclose
|
exec --no-startup-id picom --no-fading-openclose
|
||||||
exec --no-startup-id feh --bg-scale ~/.wallpapers/active.png
|
exec --no-startup-id feh --bg-fill ~/.wallpapers/1 --bg-fill ~/.wallpapers/2 --bg-fill ~/.wallpapers/3
|
||||||
exec --no-startup-id xrdb -merge ~/.Xresources
|
exec --no-startup-id xrdb -merge ~/.Xresources
|
||||||
exec_always --no-startup-id setxkbmap -option ctrl:nocaps
|
exec_always --no-startup-id setxkbmap -option ctrl:nocaps
|
||||||
|
|
||||||
exec_always killall polybar
|
exec_always killall polybar
|
||||||
exec_always --no-startup-id ~/.config/polybar/launch_polybar.sh
|
exec_always --no-startup-id ~/.config/polybar/launch_polybar.sh
|
||||||
|
|
||||||
|
|
||||||
exec --no-startup-id dex --autostart --environment i3
|
exec --no-startup-id dex --autostart --environment i3
|
||||||
exec --no-startup-id xss-lock --transfer-sleep-lock -- i3lock --nofork
|
exec --no-startup-id xss-lock --transfer-sleep-lock -- i3lock --nofork
|
||||||
exec --no-startup-id nm-applet
|
exec --no-startup-id nm-applet
|
||||||
|
|
||||||
|
|
||||||
# Use pactl to adjust volume in PulseAudio.
|
# Use pactl to adjust volume in PulseAudio.
|
||||||
set $refresh_i3status killall -SIGUSR1 i3status
|
set $refresh_i3status killall -SIGUSR1 i3status
|
||||||
bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +10% && $refresh_i3status
|
bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +10% && $refresh_i3status
|
||||||
@@ -65,12 +63,6 @@ bindsym $mod+Shift+Down move down
|
|||||||
bindsym $mod+Shift+Up move up
|
bindsym $mod+Shift+Up move up
|
||||||
bindsym $mod+Shift+Right move right
|
bindsym $mod+Shift+Right move right
|
||||||
|
|
||||||
# split in horizontal orientation
|
|
||||||
bindsym $mod+percent split h
|
|
||||||
|
|
||||||
# split in vertical orientation
|
|
||||||
bindsym $mod+quotedbl split v
|
|
||||||
|
|
||||||
# enter fullscreen mode for the focused container
|
# enter fullscreen mode for the focused container
|
||||||
bindsym $mod+f fullscreen toggle
|
bindsym $mod+f fullscreen toggle
|
||||||
|
|
||||||
|
|||||||
@@ -54,10 +54,10 @@ secondary = ${colors.mantle}
|
|||||||
alert = ${colors.red}
|
alert = ${colors.red}
|
||||||
disabled = ${colors.subtext1}
|
disabled = ${colors.subtext1}
|
||||||
|
|
||||||
[bar/toph]
|
[bar/haelnorr]
|
||||||
monitor = ${env:MONITOR:}
|
monitor = ${env:MONITOR:}
|
||||||
width = 100%
|
width = 100%
|
||||||
height = 28pt
|
height = 18pt
|
||||||
radius = 0
|
radius = 0
|
||||||
|
|
||||||
; dpi = 96
|
; dpi = 96
|
||||||
@@ -80,7 +80,7 @@ module-margin = 1
|
|||||||
separator = |
|
separator = |
|
||||||
separator-foreground = ${colors.flamingo}
|
separator-foreground = ${colors.flamingo}
|
||||||
|
|
||||||
font-0 = MesloLGS Nerd Font Mono:size=22;6
|
font-0 = MesloLGS Nerd Font Mono:size=12;6
|
||||||
|
|
||||||
modules-left = xworkspaces xwindow
|
modules-left = xworkspaces xwindow
|
||||||
modules-right = pulseaudio battery memory cpu wlan date
|
modules-right = pulseaudio battery memory cpu wlan date
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
if type "xrand"; then
|
if type "xrandr"; then
|
||||||
for m in $(xrandr --query | grep " connected" | cut -d" " -f1); do
|
for m in $(xrandr --query | grep " connected" | cut -d" " -f1); do
|
||||||
MONITOR=$m polybar --reload toph &
|
MONITOR=$m polybar --reload haelnorr &
|
||||||
done
|
done
|
||||||
else
|
else
|
||||||
polybar --reload toph &
|
polybar --reload haelnorr &
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user