1
0
Fork 0
mirror of https://git.sr.ht/~roxwize/.dotfiles synced 2025-01-31 07:03:36 +00:00
This commit is contained in:
Rae 5e 2024-12-10 23:09:03 -05:00
parent 98894cdb6e
commit b57732338f
3 changed files with 56 additions and 4 deletions

View file

@ -1,3 +1,4 @@
hsetroot -cover ~/.dotfiles/assets/wallpapers/kendal.png
xcompmgr &
polybar top &
polybar tray &

View file

@ -1,11 +1,49 @@
<?xml version="1.0" encoding="UTF-8"?>
<openbox_config xmlns="http://openbox.org/3.4/rc" xmlns:xi="http://www.w3.org/2001/XInclude">
<resistance>
<strength>10</strength>
<screen_edge_strength>20</screen_edge_strength>
</resistance>
<desktops>
<number>4</number>
<firstdesk>1</firstdesk>
</desktops>
<keyboard>
<keybind key="A-d">
<action name="Execute">
<command>rofi -show combi -modes combi -combi-modes "window,drun,run"</command>
</action>
</keybind>
<keybind key="A-Left">
<action name="GoToDesktop">
<to>previous</to>
</action>
</keybind>
<keybind key="A-Right">
<action name="GoToDesktop">
<to>next</to>
</action>
</keybind>
<keybind key="A-1">
<action name="GoToDesktop">
<to>1</to>
</action>
</keybind>
<keybind key="A-2">
<action name="GoToDesktop">
<to>2</to>
</action>
</keybind>
<keybind key="A-3">
<action name="GoToDesktop">
<to>3</to>
</action>
</keybind>
<keybind key="A-4">
<action name="GoToDesktop">
<to>4</to>
</action>
</keybind>
</keyboard>
</openbox_config>

View file

@ -55,11 +55,11 @@ in
script = "polybar &";
settings =
let
background = "#00000000";
background = "#0000";
foreground = "#fff";
color0 = "#ffd9eafd";
color1 = "#ffbcccdc";
color2 = "#ff9aa6b2";
color0 = "#d9eafd";
color1 = "#bcccdc";
color2 = "#9aa6b2";
in {
"global/wm" = {
margin-top = 2;
@ -78,6 +78,15 @@ in
offset-y = 14;
padding = 2;
};
"bar/tray" = {
background = color0;
foreground = "#000";
bottom = "true";
width = "100%";
height = 32;
font-0 = "GohuFont:style=Regular:size=14;3";
modules-left = "tray";
};
"module/cpu" = {
type = "internal/cpu";
@ -114,6 +123,10 @@ in
label-padding = 2;
interval = 5;
};
"module/tray" = {
type = "internal/tray";
tray-spacing = "8px";
};
};
};
};