diff --git a/.config/i3/config b/.config/i3/config index fcfaf78..e18ab15 100644 --- a/.config/i3/config +++ b/.config/i3/config @@ -9,7 +9,8 @@ # # Please see http://i3wm.org/docs/userguide.html for a complete reference! # exec xrandr --auto --output DP-4 --right-of HDMI-0 --primary --dpi 150 -exec --no-startup-id ~/.config/i3/autoxrandr +exec --no-startup-id ~/.config/i3/xrandr.sh + set $mod Mod4 diff --git a/.config/i3/xrandr.sh b/.config/i3/xrandr.sh new file mode 100755 index 0000000..edb9cb6 --- /dev/null +++ b/.config/i3/xrandr.sh @@ -0,0 +1,5 @@ +#!/bin/bash + +if [ -f ~/.screenlayout/default.sh ]; then + bash ~/.screenlayout/default.sh +fi diff --git a/.config/polybar/config b/.config/polybar/config index 230eba8..180c89a 100644 --- a/.config/polybar/config +++ b/.config/polybar/config @@ -26,17 +26,11 @@ padding-right = 2 module-margin-left = 1 module-margin-right = 3 -font-0 = "Noto Sans:size=14:style=Regular;1" -font-1 = unifont:fontformat=truetype:size=14:antialias=false;0 -font-2 = FontAwesome:size=14;0 - - wm-restack = i3 ;override-redirect = true scroll-up = i3wm-wsnext scroll-down = i3wm-wsprev - [bar/laptop] monitor = ${env:MONITOR:eDP-1} inherit = bar/base @@ -46,22 +40,26 @@ tray-padding = 2 modules-left = i3 xwindow modules-right = spotify volume cpu memory battery1 date -[bar/example_left] +font-0 = "Noto Sans:size=14:style=Regular;1" +font-1 = unifont:fontformat=truetype:size=14:antialias=false;0 +font-2 = FontAwesome:size=14;0 + +[bar/workstation] inherit = bar/base -monitor = ${env:MONITOR:HDMI-0} -modules-left = i3 -modules-center = xwindow -modules-right = spotify mpd volume filesystem memory gpu cpu date +monitor = ${env:MONITOR:DP-2} +modules-left = i3 xwindow +modules-right = spotify mpd volume filesystem cpu gpu memory date tray-position = right tray-padding = 2 -;tray-transparent = true -;tray-background = #0063ff +font-0 = "Noto Sans:size=11:style=Regular;1" +font-1 = unifont:fontformat=truetype:size=11:antialias=false;0 +font-2 = FontAwesome:size=11;0 -[bar/example_right] -inherit = bar/base +[bar/workstation2] +inherit = bar/workstation monitor = ${env:MONITOR:DP-4} -modules-left = i3 +tray-position = false [module/xwindow] @@ -229,7 +227,7 @@ format =