Merge branch 'main' of sobina-git:jbourdon/dotfiles
This commit is contained in:
@@ -2,16 +2,15 @@
|
||||
"layer": "top",
|
||||
"position": "top",
|
||||
"mod": "dock",
|
||||
"margin-left": 10,
|
||||
"margin-right": 10,
|
||||
"margin-top": 10,
|
||||
"margin-left": 4,
|
||||
"margin-right": 4,
|
||||
"margin-top": 8,
|
||||
"margin-bottom": 0,
|
||||
"exclusive": true,
|
||||
"passthrough": false,
|
||||
"gtk-layer-shell": true,
|
||||
"reload_style_on_change": true,
|
||||
"modules-left": [
|
||||
"custom/launcher",
|
||||
"hyprland/workspaces",
|
||||
"hyprland/window"
|
||||
],
|
||||
@@ -24,16 +23,10 @@
|
||||
"pulseaudio",
|
||||
"cpu",
|
||||
"memory",
|
||||
"battery",
|
||||
"tray",
|
||||
"custom/power"
|
||||
],
|
||||
"custom/launcher": {
|
||||
"format": "",
|
||||
"tooltip": true,
|
||||
"tooltip-format": "Open Walker",
|
||||
"on-click": "walker",
|
||||
"on-click-right": "thunar"
|
||||
},
|
||||
"memory": {
|
||||
"interval": 5,
|
||||
"format": " {}%"
|
||||
@@ -42,6 +35,27 @@
|
||||
"interval": 5,
|
||||
"format": " {usage}%"
|
||||
},
|
||||
"battery": {
|
||||
"states": {
|
||||
"warning": 30,
|
||||
"critical": 15
|
||||
},
|
||||
"format": "{icon} {capacity}%",
|
||||
"format-charging": " {capacity}%",
|
||||
"format-plugged": " {capacity}%",
|
||||
"format-full": " 100%",
|
||||
"format-icons": [
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
""
|
||||
],
|
||||
"interval": 10,
|
||||
"tooltip": true
|
||||
},
|
||||
"tray": {
|
||||
"icon-size": 18,
|
||||
"spacing": 6,
|
||||
@@ -93,7 +107,6 @@
|
||||
"clock": {
|
||||
"format": "{:%R %a %d %b}",
|
||||
"rotate": 0,
|
||||
"on-click": "walker",
|
||||
"tooltip-format": "<tt>{calendar}</tt>",
|
||||
"calendar": {
|
||||
"mode": "year",
|
||||
|
||||
@@ -1,51 +1,81 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<interface>
|
||||
<object class="GtkMenu" id="menu">
|
||||
<child>
|
||||
<object class="GtkMenuItem" id="section-session">
|
||||
<property name="label">Session</property>
|
||||
<property name="sensitive">False</property>
|
||||
<property name="can-focus">False</property>
|
||||
<style>
|
||||
<class name="section-header"/>
|
||||
</style>
|
||||
</object>
|
||||
</child>
|
||||
|
||||
<!-- Session controls -->
|
||||
<child>
|
||||
<object class="GtkMenuItem" id="lock">
|
||||
<property name="label"> Lock</property>
|
||||
<property name="label"> Lock</property>
|
||||
</object>
|
||||
</child>
|
||||
|
||||
<child>
|
||||
<object class="GtkMenuItem" id="logout">
|
||||
<property name="label"> Logout</property>
|
||||
<property name="label"> Log Out</property>
|
||||
</object>
|
||||
</child>
|
||||
|
||||
<child>
|
||||
<object class="GtkSeparatorMenuItem" id="sep1" />
|
||||
<object class="GtkSeparatorMenuItem" id="sep1"/>
|
||||
</child>
|
||||
|
||||
<child>
|
||||
<object class="GtkMenuItem" id="section-sleep">
|
||||
<property name="label">Sleep</property>
|
||||
<property name="sensitive">False</property>
|
||||
<property name="can-focus">False</property>
|
||||
<style>
|
||||
<class name="section-header"/>
|
||||
</style>
|
||||
</object>
|
||||
</child>
|
||||
|
||||
<!-- Power controls -->
|
||||
<child>
|
||||
<object class="GtkMenuItem" id="suspend">
|
||||
<property name="label"> Suspend</property>
|
||||
</object>
|
||||
</child>
|
||||
<child>
|
||||
<object class="GtkMenuItem" id="hibernate">
|
||||
<property name="label">⏾ Hibernate</property>
|
||||
<property name="label"> Suspend</property>
|
||||
</object>
|
||||
</child>
|
||||
|
||||
<child>
|
||||
<object class="GtkSeparatorMenuItem" id="sep2" />
|
||||
<object class="GtkMenuItem" id="hibernate">
|
||||
<property name="label"> Hibernate</property>
|
||||
</object>
|
||||
</child>
|
||||
|
||||
<child>
|
||||
<object class="GtkSeparatorMenuItem" id="sep2"/>
|
||||
</child>
|
||||
|
||||
<child>
|
||||
<object class="GtkMenuItem" id="section-power">
|
||||
<property name="label">Power</property>
|
||||
<property name="sensitive">False</property>
|
||||
<property name="can-focus">False</property>
|
||||
<style>
|
||||
<class name="section-header"/>
|
||||
</style>
|
||||
</object>
|
||||
</child>
|
||||
|
||||
<child>
|
||||
<object class="GtkMenuItem" id="reboot">
|
||||
<property name="label"> Reboot</property>
|
||||
</object>
|
||||
</child>
|
||||
|
||||
<child>
|
||||
<object class="GtkMenuItem" id="shutdown">
|
||||
<property name="label">⏻ Shutdown</property>
|
||||
<property name="label"> Shut Down</property>
|
||||
</object>
|
||||
</child>
|
||||
<child>
|
||||
<object class="GtkMenuItem" id="reboot">
|
||||
<property name="label"> Reboot</property>
|
||||
</object>
|
||||
</child>
|
||||
|
||||
</object>
|
||||
|
||||
</interface>
|
||||
|
||||
@@ -44,25 +44,17 @@ tooltip {
|
||||
#pulseaudio,
|
||||
#cpu,
|
||||
#memory,
|
||||
#battery,
|
||||
#tray,
|
||||
#custom-power {
|
||||
background: alpha(@background, 0.56);
|
||||
border: 1px solid alpha(@foreground, 0.14);
|
||||
border-radius: 14px;
|
||||
box-shadow: 0 8px 24px alpha(@background, 0.22);
|
||||
background: @background;
|
||||
border: 1px solid alpha(@accent-alt, 0.22);
|
||||
border-radius: 8px;
|
||||
margin: 0 5px;
|
||||
padding: 0 12px;
|
||||
min-height: 34px;
|
||||
}
|
||||
|
||||
#custom-launcher {
|
||||
background: @accent;
|
||||
border-color: @accent;
|
||||
color: @background;
|
||||
font-size: 18px;
|
||||
padding: 0 14px 0 12px;
|
||||
}
|
||||
|
||||
#workspaces {
|
||||
padding: 0 6px;
|
||||
}
|
||||
@@ -101,7 +93,7 @@ tooltip {
|
||||
#clock {
|
||||
border-color: alpha(@accent, 0.35);
|
||||
color: @foreground;
|
||||
font-weight: 700;
|
||||
font-weight: 400;
|
||||
padding: 0 18px;
|
||||
}
|
||||
|
||||
@@ -122,12 +114,30 @@ tooltip {
|
||||
color: @warning;
|
||||
}
|
||||
|
||||
#battery {
|
||||
color: @accent-soft;
|
||||
}
|
||||
|
||||
#battery.charging,
|
||||
#battery.plugged {
|
||||
color: @accent;
|
||||
}
|
||||
|
||||
#battery.warning:not(.charging) {
|
||||
color: @warning;
|
||||
}
|
||||
|
||||
#battery.critical:not(.charging) {
|
||||
color: @danger;
|
||||
}
|
||||
|
||||
#tray {
|
||||
padding: 0 14px;
|
||||
}
|
||||
|
||||
#custom-power {
|
||||
color: @danger;
|
||||
font-size: 22px;
|
||||
padding: 0 13px;
|
||||
}
|
||||
|
||||
@@ -138,6 +148,7 @@ tooltip {
|
||||
#pulseaudio:hover,
|
||||
#cpu:hover,
|
||||
#memory:hover,
|
||||
#battery:hover,
|
||||
#tray:hover,
|
||||
#custom-power:hover,
|
||||
#clock:hover {
|
||||
@@ -153,3 +164,54 @@ tooltip {
|
||||
.hidden {
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
menu#menu {
|
||||
background: @background;
|
||||
border: 1px solid alpha(@accent-alt, 0.24);
|
||||
border-radius: 14px;
|
||||
padding: 8px;
|
||||
}
|
||||
|
||||
menu#menu menuitem {
|
||||
border-radius: 10px;
|
||||
margin: 2px 4px;
|
||||
padding: 6px 12px;
|
||||
}
|
||||
|
||||
menu#menu menuitem:hover {
|
||||
background: @background-alt;
|
||||
}
|
||||
|
||||
menu#menu menuitem.section-header {
|
||||
color: @foreground-muted;
|
||||
font-size: 12px;
|
||||
margin-top: 4px;
|
||||
padding: 4px 12px;
|
||||
}
|
||||
|
||||
menu#menu menuitem#lock {
|
||||
color: @accent;
|
||||
}
|
||||
|
||||
menu#menu menuitem#logout {
|
||||
color: @accent-soft;
|
||||
}
|
||||
|
||||
menu#menu menuitem#suspend,
|
||||
menu#menu menuitem#hibernate {
|
||||
color: @type;
|
||||
}
|
||||
|
||||
menu#menu menuitem#reboot {
|
||||
color: @warning;
|
||||
}
|
||||
|
||||
menu#menu menuitem#shutdown {
|
||||
color: @danger;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
menu#menu separator {
|
||||
background: alpha(@accent-alt, 0.24);
|
||||
margin: 6px 10px;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user