From 993917ddcedd58927a068cc804d81f1018d7bc0e Mon Sep 17 00:00:00 2001 From: zachir Date: Tue, 6 Jun 2023 10:14:44 -0500 Subject: Fix gtk theme setting --- themes/Plata/openbox-3/close.xbm | 4 + themes/Plata/openbox-3/compton.conf | 93 ++++++++++++++++ themes/Plata/openbox-3/desk.xbm | 4 + themes/Plata/openbox-3/desk_toggled.xbm | 4 + themes/Plata/openbox-3/iconify.xbm | 4 + themes/Plata/openbox-3/max.xbm | 4 + themes/Plata/openbox-3/max_toggled.xbm | 4 + themes/Plata/openbox-3/shade.xbm | 4 + themes/Plata/openbox-3/shade_toggled.xbm | 4 + themes/Plata/openbox-3/themerc | 179 +++++++++++++++++++++++++++++++ 10 files changed, 304 insertions(+) create mode 100644 themes/Plata/openbox-3/close.xbm create mode 100644 themes/Plata/openbox-3/compton.conf create mode 100644 themes/Plata/openbox-3/desk.xbm create mode 100644 themes/Plata/openbox-3/desk_toggled.xbm create mode 100644 themes/Plata/openbox-3/iconify.xbm create mode 100644 themes/Plata/openbox-3/max.xbm create mode 100644 themes/Plata/openbox-3/max_toggled.xbm create mode 100644 themes/Plata/openbox-3/shade.xbm create mode 100644 themes/Plata/openbox-3/shade_toggled.xbm create mode 100644 themes/Plata/openbox-3/themerc (limited to 'themes/Plata/openbox-3') diff --git a/themes/Plata/openbox-3/close.xbm b/themes/Plata/openbox-3/close.xbm new file mode 100644 index 0000000..ab7ff80 --- /dev/null +++ b/themes/Plata/openbox-3/close.xbm @@ -0,0 +1,4 @@ +#define close_width 8 +#define close_height 8 +static unsigned char close_bits[] = { + 0xc3, 0xe7, 0x7e, 0x3c, 0x3c, 0x7e, 0xe7, 0xc3 }; diff --git a/themes/Plata/openbox-3/compton.conf b/themes/Plata/openbox-3/compton.conf new file mode 100644 index 0000000..b62307a --- /dev/null +++ b/themes/Plata/openbox-3/compton.conf @@ -0,0 +1,93 @@ +################################### +# Plata specific compton settings # +################################### + +# Shadow +shadow = true; +no-dnd-shadow = true; +no-dock-shadow = true; +clear-shadow = true; +shadow-radius = 7.5; +shadow-offset-x = -11; +shadow-offset-y = -4.5; +shadow-opacity = 0.36; +# shadow-red = 0.0; +# shadow-green = 0.0; +# shadow-blue = 0.0; +shadow-exclude = [ + "name = 'Notification'", + "class_g = 'Conky'", + "class_g ?= 'Notify-osd'", + "class_g = 'Cairo-clock'", + "_GTK_FRAME_EXTENTS@:c" +]; +# shadow-exclude = "n:e:Notification"; +# shadow-exclude-reg = "x10+0+0"; +# xinerama-shadow-crop = true; + +# Opacity +menu-opacity = 1.0; +inactive-opacity = 1.0; +active-opacity = 1.0; +frame-opacity = 1.0; +inactive-opacity-override = false; +alpha-step = 0.06; +# inactive-dim = 0.2; +# inactive-dim-fixed = true; +# blur-background = true; +# blur-background-frame = true; +# blur-kern = "3x3box"; +# blur-kern = "5,5,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1"; +# blur-background-fixed = true; +blur-background-exclude = [ + "window_type = 'dock'", + "window_type = 'desktop'", + "_GTK_FRAME_EXTENTS@:c" +]; +# opacity-rule = [ "80:class_g = 'URxvt'" ]; + +# Fading +fading = true; +# fade-delta = 30; +fade-in-step = 0.20; +fade-out-step = 0.20; +# no-fading-openclose = true; +# no-fading-destroyed-argb = true; +fade-exclude = [ ]; + +# Other +backend = "xrender"; +mark-wmwin-focused = true; +mark-ovredir-focused = true; +# use-ewmh-active-win = true; +detect-rounded-corners = true; +detect-client-opacity = true; +refresh-rate = 0; +vsync = "none"; +dbe = false; +paint-on-overlay = true; +# sw-opti = true; +# unredir-if-possible = true; +# unredir-if-possible-delay = 5000; +# unredir-if-possible-exclude = [ ]; +focus-exclude = [ "class_g = 'Cairo-clock'" ]; +detect-transient = true; +detect-client-leader = true; +invert-color-include = [ ]; +# resize-damage = 1; + +# GLX backend +# glx-no-stencil = true; +glx-copy-from-front = false; +# glx-use-copysubbuffermesa = true; +# glx-no-rebind-pixmap = true; +glx-swap-method = "undefined"; +# glx-use-gpushader4 = true; +# xrender-sync = true; +# xrender-sync-fence = true; + +# Window type settings +wintypes: +{ + tooltip = { fade = true; shadow = false; opacity = 0.93; focus = true; }; +}; diff --git a/themes/Plata/openbox-3/desk.xbm b/themes/Plata/openbox-3/desk.xbm new file mode 100644 index 0000000..d92562d --- /dev/null +++ b/themes/Plata/openbox-3/desk.xbm @@ -0,0 +1,4 @@ +#define desk_width 8 +#define desk_height 8 +static unsigned char desk_bits[] = { + 0xe7, 0xe7, 0xe7, 0x00, 0x00, 0xe7, 0xe7, 0xe7 }; diff --git a/themes/Plata/openbox-3/desk_toggled.xbm b/themes/Plata/openbox-3/desk_toggled.xbm new file mode 100644 index 0000000..b9cadb9 --- /dev/null +++ b/themes/Plata/openbox-3/desk_toggled.xbm @@ -0,0 +1,4 @@ +#define desk_toggled_width 8 +#define desk_toggled_height 8 +static unsigned char desk_toggled_bits[] = { + 0xe7, 0xa5, 0xe7, 0x00, 0x00, 0xe7, 0xa5, 0xe7 }; diff --git a/themes/Plata/openbox-3/iconify.xbm b/themes/Plata/openbox-3/iconify.xbm new file mode 100644 index 0000000..0f415e0 --- /dev/null +++ b/themes/Plata/openbox-3/iconify.xbm @@ -0,0 +1,4 @@ +#define iconify_width 8 +#define iconify_height 8 +static unsigned char iconify_bits[] = { + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff }; diff --git a/themes/Plata/openbox-3/max.xbm b/themes/Plata/openbox-3/max.xbm new file mode 100644 index 0000000..88bb9bd --- /dev/null +++ b/themes/Plata/openbox-3/max.xbm @@ -0,0 +1,4 @@ +#define max_width 8 +#define max_height 8 +static unsigned char max_bits[] = { + 0xff, 0xff, 0xc3, 0xc3, 0xc3, 0xc3, 0xff, 0xff }; diff --git a/themes/Plata/openbox-3/max_toggled.xbm b/themes/Plata/openbox-3/max_toggled.xbm new file mode 100644 index 0000000..991ba27 --- /dev/null +++ b/themes/Plata/openbox-3/max_toggled.xbm @@ -0,0 +1,4 @@ +#define max_toggled_width 8 +#define max_toggled_height 8 +static unsigned char max_toggled_bits[] = { + 0xf8, 0xf8, 0xdb, 0xfb, 0xfb, 0x03, 0x3f, 0x3f }; diff --git a/themes/Plata/openbox-3/shade.xbm b/themes/Plata/openbox-3/shade.xbm new file mode 100644 index 0000000..153a023 --- /dev/null +++ b/themes/Plata/openbox-3/shade.xbm @@ -0,0 +1,4 @@ +#define shade_width 8 +#define shade_height 8 +static unsigned char shade_bits[] = { + 0x00, 0x00, 0x18, 0x3c, 0x7e, 0xff, 0x00, 0x00 }; diff --git a/themes/Plata/openbox-3/shade_toggled.xbm b/themes/Plata/openbox-3/shade_toggled.xbm new file mode 100644 index 0000000..ef7fb96 --- /dev/null +++ b/themes/Plata/openbox-3/shade_toggled.xbm @@ -0,0 +1,4 @@ +#define shade_toggled_width 8 +#define shade_toggled_height 8 +static unsigned char shade_toggled_bits[] = { + 0x00, 0x00, 0xff, 0x7e, 0x3c, 0x18, 0x00, 0x00 }; diff --git a/themes/Plata/openbox-3/themerc b/themes/Plata/openbox-3/themerc new file mode 100644 index 0000000..ab92f3f --- /dev/null +++ b/themes/Plata/openbox-3/themerc @@ -0,0 +1,179 @@ +# This file is part of plata-theme +# +# Copyright (C) 2018-2020 Tista +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# + + +# Fonts +window.active.label.text.font:shadow=n +window.inactive.label.text.font:shadow=n +menu.items.font:shadow=n +menu.title.text.font:shadow=n +window.label.text.justify: center +menu.title.text.justify: center + + +# Width and height +padding.width: 7 +padding.height: 5 + +border.width: 2 +menu.border.width: 1 +osd.border.width: 1 + +window.handle.width: 0 +window.client.padding.width: 0 + +menu.separator.width: 1 +menu.separator.padding.width: 0 +menu.separator.padding.height: 4 + + +# Active window +window.active.border.color: #080808 +window.active.title.bg: flat solid +window.active.title.bg.color: #080808 +window.active.title.separator.color: #080808 +window.active.text.justify: center + +window.active.title.bg.highlight: 0 +window.active.title.bg.shadow: 0 + +window.active.label.bg: parentrelative +window.active.label.text.color: #f5f5f5 + +window.active.handle.bg: flat solid +window.active.handle.bg.color: #080808 + +window.active.grip.bg: flat solid +window.active.grip.bg.color: #080808 + +window.active.button.unpressed.bg: flat solid +window.active.button.unpressed.bg.color: #080808 +window.active.button.unpressed.image.color: #d6d6d6 + +window.active.button.hover.bg: flat solid +window.active.button.hover.bg.color: #242424 +window.active.button.hover.image.color: #f5f5f5 + +window.active.button.pressed.bg: flat solid +window.active.button.pressed.bg.color: #434343 +window.active.button.pressed.image.color: #f5f5f5 + +window.active.button.toggled.bg: flat solid +window.active.button.toggled.bg.color: #080808 +window.active.button.toggled.image.color: #d6d6d6 +window.active.button.toggled.hover.image.color: #f5f5f5 + +window.active.button.disabled.bg: flat solid +window.active.button.disabled.bg.color: #080808 +window.active.button.disabled.image.color: #424242 + + +# Inactive window +window.inactive.border.color: #1d1d1d +window.inactive.title.bg: flat solid +window.inactive.title.bg.color: #1d1d1d +window.inactive.title.separator.color: #1d1d1d +window.inactive.text.justify: center + +window.inactive.title.bg.highlight: 0 +window.inactive.title.bg.shadow: 0 + +window.inactive.label.bg: parentrelative +window.inactive.label.text.color: #424242 + +window.inactive.handle.bg: flat solid +window.inactive.handle.bg.color: #1d1d1d + +window.inactive.grip.bg: flat solid +window.inactive.grip.bg.color: #1d1d1d + +window.inactive.button.unpressed.bg: flat solid +window.inactive.button.unpressed.bg.color: #1d1d1d +window.inactive.button.unpressed.image.color: #686868 + +window.inactive.button.hover.bg: flat solid +window.inactive.button.hover.bg.color: #272727 +window.inactive.button.hover.image.color: #737373 + +window.inactive.button.pressed.bg: flat solid +window.inactive.button.pressed.bg.color: #333333 +window.inactive.button.pressed.image.color: #737373 + +window.inactive.button.toggled.bg: flat solid +window.inactive.button.toggled.bg.color: #1d1d1d +window.inactive.button.toggled.image.color: #686868 +window.inactive.button.toggled.hover.image.color: #737373 + +window.inactive.button.disabled.bg: flat solid +window.inactive.button.disabled.bg.color: #1d1d1d +window.inactive.button.disabled.image.color: #353535 + + +# Menu +menu.border.color: #c7c7c7 + +menu.title.bg: flat solid +menu.title.bg.color: #e7e7e7 +menu.title.text.color: #111111 + +menu.items.bg: flat solid +menu.items.bg.color: #e7e7e7 +menu.items.text.color: #2d2d2d +menu.items.disabled.text.color: #ababab + +menu.items.active.bg: flat solid +menu.items.active.bg.color: #cbcbcb +menu.items.active.text.color: #111111 + +menu.separator.color: #c7c7c7 + + +# OSD +osd.border.color: #080808 + +osd.bg: flat solid +osd.bg.color: #080808 +osd.label.text.color: #f5f5f5 + +osd.active.label.bg: flat solid +osd.active.label.bg.color: #080808 +osd.active.label.text.color: #f5f5f5 + +osd.inactive.label.bg: flat solid +osd.inactive.label.bg.color: #080808 +osd.inactive.label.text.color: #676767 + +osd.hilight.bg: flat solid +osd.hilight.bg.color: #7986cb + +osd.unhilight.bg: flat solid +osd.unhilight.bg.color: #242424 + +osd.button.unpressed.bg: flat border +osd.button.unpressed.bg.color: #080808 +osd.button.unpressed.*.border.color: #080808 +osd.button.unpressed.text.color: #676767 + +osd.button.hover.bg: flat solid border +osd.button.hover.bg.color: #7986cb +osd.button.hover.*.border.color: #7986cb +osd.button.hover.text.color: #f5f5f5 + +osd.button.pressed.bg: flat border +osd.button.pressed.bg.color: #434343 +osd.button.pressed.*.border.color: #434343 +osd.button.pressed.text.color: #f5f5f5 + +osd.button.focused.bg: flat solid border +osd.button.focused.bg.color: #7986cb +osd.button.focused.*.border.color: #7986cb +osd.button.focused.text.color: #f5f5f5 + +osd.button.focused.box.color: #7986cb -- cgit v1.2.3