From a9e216dd0ffdc357773993f4398659d109f9bf5e Mon Sep 17 00:00:00 2001 From: cbax Date: Mon, 21 Oct 2024 00:12:24 -0400 Subject: [PATCH] fixed leftwm startup and monitor sizing --- leftwm/.config/leftwm/config.ron | 6 +++++- leftwm/.config/leftwm/themes/current/polybar.config | 10 ++++++++-- xorg/.xinitrc | 1 + xorg/.xprofile | 4 +++- zsh/.oh-my-zsh | 2 +- 5 files changed, 18 insertions(+), 5 deletions(-) diff --git a/leftwm/.config/leftwm/config.ron b/leftwm/.config/leftwm/config.ron index 6daf857..734f8fb 100644 --- a/leftwm/.config/leftwm/config.ron +++ b/leftwm/.config/leftwm/config.ron @@ -52,6 +52,7 @@ (command: Execute, value: "dmenu_run", modifier: ["modkey"], key: "p"), (command: Execute, value: "rofi -config ~/.config/rofi/config.rasi -show drun", modifier: ["modkey"], key: "space"), (command: Execute, value: "alacritty", modifier: ["modkey"], key: "Return"), + (command: Execute, value: "thunar", modifier: ["modkey"], key: "f"), (command: Execute, value: "firefox-developer-edition", modifier: ["modkey"], key: "b"), (command: CloseWindow, value: "", modifier: ["modkey"], key: "q"), (command: SoftReload, value: "", modifier: ["modkey", "Shift"], key: "r"), @@ -96,6 +97,9 @@ (command: MoveToTag, value: "8", modifier: ["modkey", "Shift"], key: "8"), (command: MoveToTag, value: "9", modifier: ["modkey", "Shift"], key: "9"), ], - workspaces: [ + auto_derive_workspaces: true, + workspaces: [ //2036 + ( output: "DP-2", y: 596, x: 0, height: 1440, width: 3440 ), + ( output: "DP-4", y: 0, x: 3440, height: 2560, width: 1080 ), ], ) diff --git a/leftwm/.config/leftwm/themes/current/polybar.config b/leftwm/.config/leftwm/themes/current/polybar.config index 94d6d61..3bb72d1 100644 --- a/leftwm/.config/leftwm/themes/current/polybar.config +++ b/leftwm/.config/leftwm/themes/current/polybar.config @@ -25,7 +25,7 @@ a-red = #bf616a [bar/mainbar] monitor = "DP-2" width = 100% -height = 18 +height = 20 background = ${colors.bg} foreground = ${colors.fg} font-0 = Intel One Mono:style=weight=bold:size=10;1 @@ -33,7 +33,7 @@ separator = "┊" separator-foreground = ${colors.pn-light} modules-left = ewmh modules-center = xwindow -modules-right = network volume cpu temperature date time time_utc +modules-right = network tray volume cpu temperature date time time_utc [bar/readerbar] monitor = "DP-4" @@ -122,6 +122,12 @@ format-disconnected = label-connected = " %{F#a3be8c}%local_ip% " format-connected = +[module/tray] +type = internal/tray + +format-margin = 2px +tray-spacing = 8px + ;[module/vpn] ;type = internal/network ;interface = wg1 diff --git a/xorg/.xinitrc b/xorg/.xinitrc index 9a500b8..775b521 100644 --- a/xorg/.xinitrc +++ b/xorg/.xinitrc @@ -1,2 +1,3 @@ /usr/bin/xscreensaver -nosplash & /usr/bin/dunst & +/usr/bin/openrgb -p /home/cbax/.config/OpenRGB/main.orp & diff --git a/xorg/.xprofile b/xorg/.xprofile index a04366a..231b919 100755 --- a/xorg/.xprofile +++ b/xorg/.xprofile @@ -1 +1,3 @@ -autorandr --change default +autorandr --change default & +/usr/bin/xscreensaver -nosplash & +/usr/bin/dunst & diff --git a/zsh/.oh-my-zsh b/zsh/.oh-my-zsh index a72a264..9bfa339 160000 --- a/zsh/.oh-my-zsh +++ b/zsh/.oh-my-zsh @@ -1 +1 @@ -Subproject commit a72a26406ad3aa9a47c3f5227291bad23494bed0 +Subproject commit 9bfa3395f34f63d14945e01c45c72ec43d372dfa