add theme

This commit is contained in:
Daniel Napora 2024-12-27 09:10:11 +01:00
parent 1f1ec13c49
commit 6888f9dbed
7 changed files with 233 additions and 119 deletions

View File

@ -8,7 +8,7 @@
<labwc_config>
<theme>
<name></name>
<name>Mabox-Labwc</name>
<cornerRadius>8</cornerRadius>
<font name="sans" size="10" />
</theme>

View File

@ -0,0 +1,115 @@
# This file contains all themerc options with default values
#
# System-wide and local themes can be overridden by creating a copy of this
# file and renaming it to $HOME/.config/labwc/themerc-override. Be careful
# though - if you only want to override a small number of specific options,
# make sure all other lines are commented out or deleted.
# general
#border.width: 1
#
# The global padding.{width,height} of openbox are not supported because
# the default labwc button geometry deviates from that of openbox
#
#window.titlebar.padding.width: 0
#window.titlebar.padding.height: 0
# window border
#window.active.border.color: #aaaaaa
#window.inactive.border.color: #aaaaaa
# ToggleKeybinds status indicator
#window.active.indicator.toggled-keybind.color: #ff0000
# window titlebar background
#window.active.title.bg.color: #e1dedb
#window.inactive.title.bg.color: #f6f5f4
# window titlebar text
#window.active.label.text.color: #000000
#window.inactive.label.text.color: #000000
#window.label.text.justify: center
# window button width and spacing
#window.button.width: 26
#window.button.height: 26
#window.button.spacing: 0
# window button hover effect
#window.button.hover.bg.corner-radius: 0
# window buttons
#window.active.button.unpressed.image.color: #000000
#window.inactive.button.unpressed.image.color: #000000
# window drop-shadows
#window.active.shadow.size: 60
#window.inactive.shadow.size: 40
#window.active.shadow.color: #00000060
#window.inactive.shadow.color: #00000040
# Note that "menu", "iconify", "max", "close" buttons colors can be defined
# individually by inserting the type after the button node, for example:
#
# window.active.button.iconify.unpressed.image.color: #333333
# menu
#menu.overlap.x: 0
#menu.overlap.y: 0
#menu.width.min: 20
#menu.width.max: 200
#menu.border.width: 1
#menu.border.color: #aaaaaa
#menu.items.bg.color: #fcfbfa
#menu.items.text.color: #000000
#menu.items.active.bg.color: #e1dedb
#menu.items.active.text.color: #000000
#menu.items.padding.x: 7
#menu.items.padding.y: 4
#menu.separator.width: 1
#menu.separator.padding.width: 6
#menu.separator.padding.height: 3
#menu.separator.color: #888888
#menu.title.bg.color: #589bda
#menu.title.text.color: #ffffff
#menu.title.text.justify: Center
# on screen display (window-cycle dialog)
#osd.bg.color: #e1dedb
#osd.border.color: #000000
#osd.border.width: 1
#osd.label.text.color: #000000
# width can be set as percent (of screen width)
# example 50% or 75% instead of 600, max 100%
#osd.window-switcher.width: 600
#osd.window-switcher.padding: 4
#osd.window-switcher.item.padding.x: 10
#osd.window-switcher.item.padding.y: 1
#osd.window-switcher.item.active.border.width: 2
#osd.window-switcher.preview.border.width: 1
#osd.window-switcher.preview.border.color: #dddda6,#000000,#dddda6
#osd.workspace-switcher.boxes.width: 20
#osd.workspace-switcher.boxes.height: 20
# Default values for following options change depending on the rendering
# backend. For software-based renderers, *.bg.enabled is "no" and
# *.border.enabled is "yes" if not set. For hardware-based renderers,
# *.bg.enabled is "yes" and *.border.enabled is "no" if not set.
# Setting *.bg.enabled to "yes" for software-based renderer with translucent
# background color may severely impact performance.
#
# snapping.overlay.region.bg.enabled:
# snapping.overlay.edge.bg.enabled:
# snapping.overlay.region.border.enabled:
# snapping.overlay.edge.border.enabled:
#snapping.overlay.region.bg.color: #8080b380
#snapping.overlay.edge.bg.color: #8080b380
#snapping.overlay.region.border.width: 1
#snapping.overlay.edge.border.width: 1
#snapping.overlay.region.border.color: #dddda6,#000000,#dddda6
#snapping.overlay.edge.border.color: #dddda6,#000000,#dddda6

View File

@ -27,7 +27,7 @@
<!-- <font><theme> can be defined without an attribute to set all places -->
<theme>
<name></name>
<name>Mabox-Labwc</name>
<icon></icon>
<titlebar>
<layout>icon:iconify,max,close</layout>

View File

@ -1,115 +0,0 @@
# This file contains all themerc options with default values
#
# System-wide and local themes can be overridden by creating a copy of this
# file and renaming it to $HOME/.config/labwc/themerc-override. Be careful
# though - if you only want to override a small number of specific options,
# make sure all other lines are commented out or deleted.
# general
border.width: 1
#
# The global padding.{width,height} of openbox are not supported because
# the default labwc button geometry deviates from that of openbox
#
window.titlebar.padding.width: 0
window.titlebar.padding.height: 0
# window border
window.active.border.color: #aaaaaa
window.inactive.border.color: #aaaaaa
# ToggleKeybinds status indicator
window.active.indicator.toggled-keybind.color: #ff0000
# window titlebar background
window.active.title.bg.color: #e1dedb
window.inactive.title.bg.color: #f6f5f4
# window titlebar text
window.active.label.text.color: #000000
window.inactive.label.text.color: #000000
window.label.text.justify: center
# window button width and spacing
window.button.width: 26
window.button.height: 26
window.button.spacing: 0
# window button hover effect
window.button.hover.bg.corner-radius: 0
# window buttons
window.active.button.unpressed.image.color: #000000
window.inactive.button.unpressed.image.color: #000000
# window drop-shadows
window.active.shadow.size: 60
window.inactive.shadow.size: 40
window.active.shadow.color: #00000060
window.inactive.shadow.color: #00000040
# Note that "menu", "iconify", "max", "close" buttons colors can be defined
# individually by inserting the type after the button node, for example:
#
# window.active.button.iconify.unpressed.image.color: #333333
# menu
menu.overlap.x: 0
menu.overlap.y: 0
menu.width.min: 20
menu.width.max: 200
menu.border.width: 1
menu.border.color: #aaaaaa
menu.items.bg.color: #fcfbfa
menu.items.text.color: #000000
menu.items.active.bg.color: #e1dedb
menu.items.active.text.color: #000000
menu.items.padding.x: 7
menu.items.padding.y: 4
menu.separator.width: 1
menu.separator.padding.width: 6
menu.separator.padding.height: 3
menu.separator.color: #888888
menu.title.bg.color: #589bda
menu.title.text.color: #ffffff
menu.title.text.justify: Center
# on screen display (window-cycle dialog)
osd.bg.color: #e1dedb
osd.border.color: #000000
osd.border.width: 1
osd.label.text.color: #000000
# width can be set as percent (of screen width)
# example 50% or 75% instead of 600, max 100%
osd.window-switcher.width: 600
osd.window-switcher.padding: 4
osd.window-switcher.item.padding.x: 10
osd.window-switcher.item.padding.y: 1
osd.window-switcher.item.active.border.width: 2
osd.window-switcher.preview.border.width: 1
osd.window-switcher.preview.border.color: #dddda6,#000000,#dddda6
osd.workspace-switcher.boxes.width: 20
osd.workspace-switcher.boxes.height: 20
# Default values for following options change depending on the rendering
# backend. For software-based renderers, *.bg.enabled is "no" and
# *.border.enabled is "yes" if not set. For hardware-based renderers,
# *.bg.enabled is "yes" and *.border.enabled is "no" if not set.
# Setting *.bg.enabled to "yes" for software-based renderer with translucent
# background color may severely impact performance.
#
# snapping.overlay.region.bg.enabled:
# snapping.overlay.edge.bg.enabled:
# snapping.overlay.region.border.enabled:
# snapping.overlay.edge.border.enabled:
snapping.overlay.region.bg.color: #8080b380
snapping.overlay.edge.bg.color: #8080b380
snapping.overlay.region.border.width: 1
snapping.overlay.edge.border.width: 1
snapping.overlay.region.border.color: #dddda6,#000000,#dddda6
snapping.overlay.edge.border.color: #dddda6,#000000,#dddda6

View File

@ -0,0 +1,115 @@
# This file contains all themerc options with default values
#
# System-wide and local themes can be overridden by creating a copy of this
# file and renaming it to $HOME/.config/labwc/themerc-override. Be careful
# though - if you only want to override a small number of specific options,
# make sure all other lines are commented out or deleted.
# general
#border.width: 1
#
# The global padding.{width,height} of openbox are not supported because
# the default labwc button geometry deviates from that of openbox
#
#window.titlebar.padding.width: 0
#window.titlebar.padding.height: 0
# window border
#window.active.border.color: #aaaaaa
#window.inactive.border.color: #aaaaaa
# ToggleKeybinds status indicator
#window.active.indicator.toggled-keybind.color: #ff0000
# window titlebar background
#window.active.title.bg.color: #e1dedb
#window.inactive.title.bg.color: #f6f5f4
# window titlebar text
#window.active.label.text.color: #000000
#window.inactive.label.text.color: #000000
#window.label.text.justify: center
# window button width and spacing
#window.button.width: 26
#window.button.height: 26
#window.button.spacing: 0
# window button hover effect
#window.button.hover.bg.corner-radius: 0
# window buttons
#window.active.button.unpressed.image.color: #000000
#window.inactive.button.unpressed.image.color: #000000
# window drop-shadows
#window.active.shadow.size: 60
#window.inactive.shadow.size: 40
#window.active.shadow.color: #00000060
#window.inactive.shadow.color: #00000040
# Note that "menu", "iconify", "max", "close" buttons colors can be defined
# individually by inserting the type after the button node, for example:
#
# window.active.button.iconify.unpressed.image.color: #333333
# menu
#menu.overlap.x: 0
#menu.overlap.y: 0
#menu.width.min: 20
#menu.width.max: 200
#menu.border.width: 1
#menu.border.color: #aaaaaa
#menu.items.bg.color: #fcfbfa
#menu.items.text.color: #000000
#menu.items.active.bg.color: #e1dedb
#menu.items.active.text.color: #000000
#menu.items.padding.x: 7
#menu.items.padding.y: 4
#menu.separator.width: 1
#menu.separator.padding.width: 6
#menu.separator.padding.height: 3
#menu.separator.color: #888888
#menu.title.bg.color: #589bda
#menu.title.text.color: #ffffff
#menu.title.text.justify: Center
# on screen display (window-cycle dialog)
#osd.bg.color: #e1dedb
#osd.border.color: #000000
#osd.border.width: 1
#osd.label.text.color: #000000
# width can be set as percent (of screen width)
# example 50% or 75% instead of 600, max 100%
#osd.window-switcher.width: 600
#osd.window-switcher.padding: 4
#osd.window-switcher.item.padding.x: 10
#osd.window-switcher.item.padding.y: 1
#osd.window-switcher.item.active.border.width: 2
#osd.window-switcher.preview.border.width: 1
#osd.window-switcher.preview.border.color: #dddda6,#000000,#dddda6
#osd.workspace-switcher.boxes.width: 20
#osd.workspace-switcher.boxes.height: 20
# Default values for following options change depending on the rendering
# backend. For software-based renderers, *.bg.enabled is "no" and
# *.border.enabled is "yes" if not set. For hardware-based renderers,
# *.bg.enabled is "yes" and *.border.enabled is "no" if not set.
# Setting *.bg.enabled to "yes" for software-based renderer with translucent
# background color may severely impact performance.
#
# snapping.overlay.region.bg.enabled:
# snapping.overlay.edge.bg.enabled:
# snapping.overlay.region.border.enabled:
# snapping.overlay.edge.border.enabled:
#snapping.overlay.region.bg.color: #8080b380
#snapping.overlay.edge.bg.color: #8080b380
#snapping.overlay.region.border.width: 1
#snapping.overlay.edge.border.width: 1
#snapping.overlay.region.border.color: #dddda6,#000000,#dddda6
#snapping.overlay.edge.border.color: #dddda6,#000000,#dddda6

View File

@ -1,7 +1,6 @@
[Desktop Entry]
Name=Mabox LabWC
Name=Mabox Labwc (experimental)
Comment=A wayland stacking compositor
#Exec=sh -c "labwc -C $HOME/.config/mabox-labwc/"
Exec=mabox-labwc
Icon=labwc
Type=Application