1
0
mirror of https://gitlab.com/linuxstuff/dotfiles.git synced 2026-06-19 04:06:00 +02:00

adapted to yoga3

This commit is contained in:
Simon
2021-02-19 09:41:19 +01:00
parent 1fcf3ceb94
commit 07809667b9
6 changed files with 75 additions and 63 deletions
+9 -4
View File
@@ -59,7 +59,7 @@ override-redirect = true
tray-detached = true
tray-maxsize = 15
tray-offset-x= 86
tray-offset-y = 0px
tray-offset-y =4px
tray-padding = 3
tray-position = left
tray-scale = 0.8
@@ -69,7 +69,7 @@ inherit="bar/base_border"
bottom = true
enable-ipc = true
height = 40px
width = 22%
width = 11%
offset-x = 20%
offset-y = 58px
@@ -78,6 +78,7 @@ inherit="bar/base_master"
font-0 = dark forest:style=Bold:fontformat=truetype:pixelsize=10;4
height = 15
width = 100%
background = ${colors.transparent}
modules-center = i3
padding= 4
wm-restack = i3
@@ -87,7 +88,7 @@ inherit="bar/base_floating"
monitor = ${env:MONITOR:eDP1}
modules-center = clock playerctl_long
modules-left = floating_popup_button pavucontrol_button
modules-right = sensors_cpu_pc nvgpu memory
modules-right = usbmodem5 wlan sensors_cpu_yoga3 memory
[bar/floating_cava]
inherit = "bar/floating"
@@ -96,7 +97,7 @@ modules-center = cava
[bar/floating_popup]
inherit="bar/base_floating_popup"
monitor = ${env:MONITOR:eDP1}
modules-left = disk_short_pc checkupdates ovpn nvpn eth_pc
modules-left = disk_short_pc checkupdates ovpn nvpn wlan
[bar/floating_wm]
inherit="bar/base_floating_wm"
@@ -386,6 +387,10 @@ exec = bash .config/polybar/scripts/modules/usbmodem.sh enp0s20f0u3
inherit="module/usbmodem1"
exec = bash .config/polybar/scripts/modules/usbmodem.sh ens8u1u2
[module/usbmodem5]
inherit="module/usbmodem1"
exec = bash .config/polybar/scripts/modules/usbmodem.sh enp60s0u2u2
; Module VPN
[module/ovpn]
@@ -1,56 +0,0 @@
; Material design icon font:
; https://github.com/Templarian/MaterialDesign-Font/blob/master/MaterialDesignIconsDesktop.ttf
[bar/base_master]
background = ${colors.background}
foreground = ${colors.foreground}
fixed-center = true
font-0 = Hack Nerd Font:fontformat=truetype:pixelsize=10;1
font-1 = Material Design Icons Desktop:fontformat=truetype:pixelsize=10:antialias=true;1
line-size = 1
module-margin-left = 1
module-margin-right = 1
padding= 2
separator =|
override-redirect = true
[bar/base_border]
inherit="bar/base_master"
border-size=2
border-color=${colors.border}
radius = 15.0
[bar/base_floating]
inherit="bar/base_border"
bottom = true
enable-ipc = false
height = 40px
width = 60%
offset-x = 20%
offset-y = 8px
override-redirect = true
tray-detached = true
tray-maxsize = 15
tray-offset-x= 86
tray-offset-y = 0px
tray-padding = 3
tray-position = left
tray-scale = 0.8
[bar/base_floating_popup]
inherit="bar/base_border"
bottom = true
enable-ipc = true
height = 40px
width = 22%
offset-x = 20%
offset-y = 58px
[bar/base_floating_wm]
inherit="bar/base_master"
font-0 = dark forest:style=Bold:fontformat=truetype:pixelsize=10;4
height = 15
width = 100%
modules-center = i3
padding= 4
wm-restack = i3
+1
View File
@@ -0,0 +1 @@
c02-config-bars-base##h.yoga3
@@ -0,0 +1,57 @@
; Material design icon font:
; https://github.com/Templarian/MaterialDesign-Font/blob/master/MaterialDesignIconsDesktop.ttf
[bar/base_master]
background = ${colors.background}
foreground = ${colors.foreground}
fixed-center = true
font-0 = Hack Nerd Font:fontformat=truetype:pixelsize=10;1
font-1 = Material Design Icons Desktop:fontformat=truetype:pixelsize=10:antialias=true;1
line-size = 1
module-margin-left = 1
module-margin-right = 1
padding= 2
separator =|
override-redirect = true
[bar/base_border]
inherit="bar/base_master"
border-size=2
border-color=${colors.border}
radius = 15.0
[bar/base_floating]
inherit="bar/base_border"
bottom = true
enable-ipc = false
height = 40px
width = 60%
offset-x = 20%
offset-y = 8px
override-redirect = true
tray-detached = true
tray-maxsize = 15
tray-offset-x= 86
tray-offset-y =0px
tray-padding = 3
tray-position = left
tray-scale = 0.8
[bar/base_floating_popup]
inherit="bar/base_border"
bottom = true
enable-ipc = true
height = 40px
width = 11%
offset-x = 20%
offset-y = 58px
[bar/base_floating_wm]
inherit="bar/base_master"
background = ${colors.transparent}
font-0 = dark forest:style=Bold:fontformat=truetype:pixelsize=10;4
height = 15
width = 100%
modules-center = i3
padding= 4
wm-restack = i3
@@ -42,12 +42,13 @@ inherit="bar/base_border"
bottom = true
enable-ipc = true
height = 40px
width = 22%
width = 11%
offset-x = 20%
offset-y = 58px
[bar/base_floating_wm]
inherit="bar/base_master"
background = ${colors.transparent}
font-0 = dark forest:style=Bold:fontformat=truetype:pixelsize=10;4
height = 15
width = 100%
@@ -3,7 +3,7 @@ inherit="bar/base_floating"
monitor = ${env:MONITOR:eDP1}
modules-center = clock playerctl_long
modules-left = floating_popup_button pavucontrol_button
modules-right = sensors_cpu_pc nvgpu memory
modules-right = usbmodem5 wlan sensors_cpu_yoga3 memory
[bar/floating_cava]
inherit = "bar/floating"
@@ -12,7 +12,7 @@ modules-center = cava
[bar/floating_popup]
inherit="bar/base_floating_popup"
monitor = ${env:MONITOR:eDP1}
modules-left = disk_short_pc checkupdates ovpn nvpn eth_pc
modules-left = disk_short_pc checkupdates ovpn nvpn wlan
[bar/floating_wm]
inherit="bar/base_floating_wm"
@@ -114,6 +114,10 @@ exec = bash .config/polybar/scripts/modules/usbmodem.sh enp0s20f0u3
inherit="module/usbmodem1"
exec = bash .config/polybar/scripts/modules/usbmodem.sh ens8u1u2
[module/usbmodem5]
inherit="module/usbmodem1"
exec = bash .config/polybar/scripts/modules/usbmodem.sh enp60s0u2u2
; Module VPN
[module/ovpn]