mirror of
https://git.sr.ht/~roxwize/.dotfiles
synced 2025-02-26 01:12:05 +00:00
~
This commit is contained in:
parent
98894cdb6e
commit
b57732338f
3 changed files with 56 additions and 4 deletions
|
@ -1,3 +1,4 @@
|
||||||
hsetroot -cover ~/.dotfiles/assets/wallpapers/kendal.png
|
hsetroot -cover ~/.dotfiles/assets/wallpapers/kendal.png
|
||||||
xcompmgr &
|
xcompmgr &
|
||||||
polybar top &
|
polybar top &
|
||||||
|
polybar tray &
|
||||||
|
|
|
@ -1,11 +1,49 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<openbox_config xmlns="http://openbox.org/3.4/rc" xmlns:xi="http://www.w3.org/2001/XInclude">
|
<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>
|
<keyboard>
|
||||||
<keybind key="A-d">
|
<keybind key="A-d">
|
||||||
<action name="Execute">
|
<action name="Execute">
|
||||||
<command>rofi -show combi -modes combi -combi-modes "window,drun,run"</command>
|
<command>rofi -show combi -modes combi -combi-modes "window,drun,run"</command>
|
||||||
</action>
|
</action>
|
||||||
</keybind>
|
</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>
|
</keyboard>
|
||||||
</openbox_config>
|
</openbox_config>
|
||||||
|
|
||||||
|
|
|
@ -55,11 +55,11 @@ in
|
||||||
script = "polybar &";
|
script = "polybar &";
|
||||||
settings =
|
settings =
|
||||||
let
|
let
|
||||||
background = "#00000000";
|
background = "#0000";
|
||||||
foreground = "#fff";
|
foreground = "#fff";
|
||||||
color0 = "#ffd9eafd";
|
color0 = "#d9eafd";
|
||||||
color1 = "#ffbcccdc";
|
color1 = "#bcccdc";
|
||||||
color2 = "#ff9aa6b2";
|
color2 = "#9aa6b2";
|
||||||
in {
|
in {
|
||||||
"global/wm" = {
|
"global/wm" = {
|
||||||
margin-top = 2;
|
margin-top = 2;
|
||||||
|
@ -78,6 +78,15 @@ in
|
||||||
offset-y = 14;
|
offset-y = 14;
|
||||||
padding = 2;
|
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" = {
|
"module/cpu" = {
|
||||||
type = "internal/cpu";
|
type = "internal/cpu";
|
||||||
|
@ -114,6 +123,10 @@ in
|
||||||
label-padding = 2;
|
label-padding = 2;
|
||||||
interval = 5;
|
interval = 5;
|
||||||
};
|
};
|
||||||
|
"module/tray" = {
|
||||||
|
type = "internal/tray";
|
||||||
|
tray-spacing = "8px";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Reference in a new issue