forked from Shinonome/dots-hyprland
[Qt theming] Qt apps material theming using kvantum (#1055)
This commit is contained in:
@@ -0,0 +1,576 @@
|
|||||||
|
[%General]
|
||||||
|
author=Vince Liuice, based on KvAdapta by Tsu Jan
|
||||||
|
comment=An uncomplicated theme inspired by the Materia GTK theme
|
||||||
|
x11drag=none
|
||||||
|
alt_mnemonic=true
|
||||||
|
left_tabs=false
|
||||||
|
attach_active_tab=false
|
||||||
|
mirror_doc_tabs=true
|
||||||
|
group_toolbar_buttons=false
|
||||||
|
toolbar_item_spacing=0
|
||||||
|
toolbar_interior_spacing=2
|
||||||
|
spread_progressbar=true
|
||||||
|
composite=false
|
||||||
|
menu_shadow_depth=6
|
||||||
|
spread_menuitems=false
|
||||||
|
tooltip_shadow_depth=7
|
||||||
|
splitter_width=1
|
||||||
|
scroll_width=9
|
||||||
|
scroll_arrows=false
|
||||||
|
scroll_min_extent=60
|
||||||
|
slider_width=2
|
||||||
|
slider_handle_width=23
|
||||||
|
slider_handle_length=22
|
||||||
|
tickless_slider_handle_size=22
|
||||||
|
center_toolbar_handle=true
|
||||||
|
check_size=24
|
||||||
|
textless_progressbar=false
|
||||||
|
progressbar_thickness=2
|
||||||
|
menubar_mouse_tracking=true
|
||||||
|
toolbutton_style=1
|
||||||
|
double_click=false
|
||||||
|
translucent_windows=false
|
||||||
|
blurring=false
|
||||||
|
popup_blurring=false
|
||||||
|
vertical_spin_indicators=false
|
||||||
|
spin_button_width=24
|
||||||
|
fill_rubberband=false
|
||||||
|
merge_menubar_with_toolbar=true
|
||||||
|
small_icon_size=16
|
||||||
|
large_icon_size=32
|
||||||
|
button_icon_size=16
|
||||||
|
toolbar_icon_size=16
|
||||||
|
combo_as_lineedit=true
|
||||||
|
animate_states=true
|
||||||
|
button_contents_shift=false
|
||||||
|
combo_menu=true
|
||||||
|
hide_combo_checkboxes=true
|
||||||
|
combo_focus_rect=false
|
||||||
|
groupbox_top_label=true
|
||||||
|
inline_spin_indicators=true
|
||||||
|
joined_inactive_tabs=false
|
||||||
|
layout_spacing=3
|
||||||
|
layout_margin=3
|
||||||
|
scrollbar_in_view=true
|
||||||
|
transient_scrollbar=true
|
||||||
|
transient_groove=false
|
||||||
|
submenu_overlap=0
|
||||||
|
tooltip_delay=0
|
||||||
|
tree_branch_line=false
|
||||||
|
no_window_pattern=false
|
||||||
|
opaque=kaffeine,kmplayer,subtitlecomposer,kdenlive,vlc,smplayer,smplayer2,avidemux,avidemux2_qt4,avidemux3_qt4,avidemux3_qt5,kamoso,QtCreator,VirtualBox,trojita,dragon,digikam
|
||||||
|
reduce_window_opacity=0
|
||||||
|
respect_DE=true
|
||||||
|
scrollable_menu=false
|
||||||
|
submenu_delay=150
|
||||||
|
no_inactiveness=false
|
||||||
|
reduce_menu_opacity=0
|
||||||
|
click_behavior=2
|
||||||
|
contrast=1.00
|
||||||
|
dialog_button_layout=0
|
||||||
|
intensity=1.00
|
||||||
|
saturation=1.00
|
||||||
|
shadowless_popup=false
|
||||||
|
drag_from_buttons=false
|
||||||
|
menu_blur_radius=0
|
||||||
|
tooltip_blur_radius=0
|
||||||
|
|
||||||
|
[GeneralColors]
|
||||||
|
window.color=#F5F5F5
|
||||||
|
base.color=#ffffff
|
||||||
|
alt.base.color=#f8f8f8
|
||||||
|
button.color=#f2f2f2
|
||||||
|
light.color=#ffffff
|
||||||
|
mid.light.color=#f0f0f0
|
||||||
|
dark.color=#c8c8c8
|
||||||
|
mid.color=#e1e1e1
|
||||||
|
highlight.color=#3c84f7
|
||||||
|
inactive.highlight.color=#3c84f7
|
||||||
|
text.color=#444444
|
||||||
|
window.text.color=#444444
|
||||||
|
button.text.color=#444444
|
||||||
|
disabled.text.color=#44444474
|
||||||
|
tooltip.text.color=#444444
|
||||||
|
highlight.text.color=#333333
|
||||||
|
link.color=#0057AE
|
||||||
|
link.visited.color=#E040FB
|
||||||
|
progress.indicator.text.color=#444444
|
||||||
|
|
||||||
|
[Hacks]
|
||||||
|
transparent_ktitle_label=true
|
||||||
|
transparent_dolphin_view=true
|
||||||
|
transparent_pcmanfm_sidepane=true
|
||||||
|
blur_translucent=false
|
||||||
|
transparent_menutitle=true
|
||||||
|
respect_darkness=true
|
||||||
|
kcapacitybar_as_progressbar=true
|
||||||
|
force_size_grip=true
|
||||||
|
iconless_pushbutton=false
|
||||||
|
iconless_menu=false
|
||||||
|
disabled_icon_opacity=100
|
||||||
|
lxqtmainmenu_iconsize=16
|
||||||
|
normal_default_pushbutton=true
|
||||||
|
single_top_toolbar=true
|
||||||
|
tint_on_mouseover=0
|
||||||
|
transparent_pcmanfm_view=true
|
||||||
|
no_selection_tint=true
|
||||||
|
transparent_arrow_button=true
|
||||||
|
middle_click_scroll=false
|
||||||
|
opaque_colors=false
|
||||||
|
kinetic_scrolling=false
|
||||||
|
scroll_jump_workaround=true
|
||||||
|
centered_forms=false
|
||||||
|
noninteger_translucency=false
|
||||||
|
style_vertical_toolbars=false
|
||||||
|
blur_only_active_window=true
|
||||||
|
|
||||||
|
[PanelButtonCommand]
|
||||||
|
frame=true
|
||||||
|
frame.element=button
|
||||||
|
frame.top=6
|
||||||
|
frame.bottom=6
|
||||||
|
frame.left=6
|
||||||
|
frame.right=6
|
||||||
|
interior=true
|
||||||
|
interior.element=button
|
||||||
|
indicator.size=8
|
||||||
|
text.normal.color=#444444
|
||||||
|
text.focus.color=#444444
|
||||||
|
text.press.color=#333333
|
||||||
|
text.toggle.color=white
|
||||||
|
highlight.text.color=white
|
||||||
|
text.shadow=0
|
||||||
|
text.margin=4
|
||||||
|
text.iconspacing=4
|
||||||
|
indicator.element=arrow
|
||||||
|
frame.expansion=0
|
||||||
|
|
||||||
|
[PanelButtonTool]
|
||||||
|
inherits=PanelButtonCommand
|
||||||
|
text.normal.color=#444444
|
||||||
|
text.focus.color=#444444
|
||||||
|
text.press.color=#333333
|
||||||
|
text.toggle.color=white
|
||||||
|
text.disabled.color=#44444474
|
||||||
|
text.bold=false
|
||||||
|
indicator.element=arrow
|
||||||
|
indicator.size=8
|
||||||
|
frame.expansion=0
|
||||||
|
|
||||||
|
[ToolbarButton]
|
||||||
|
frame=true
|
||||||
|
frame.element=tbutton
|
||||||
|
interior.element=tbutton
|
||||||
|
frame.top=14
|
||||||
|
frame.bottom=14
|
||||||
|
frame.left=14
|
||||||
|
frame.right=14
|
||||||
|
indicator.element=tarrow
|
||||||
|
text.normal.color=#444444
|
||||||
|
text.focus.color=#444444
|
||||||
|
text.press.color=#333333
|
||||||
|
text.toggle.color=#333333
|
||||||
|
text.disabled.color=#44444474
|
||||||
|
text.bold=false
|
||||||
|
frame.expansion=28
|
||||||
|
|
||||||
|
[Dock]
|
||||||
|
inherits=PanelButtonCommand
|
||||||
|
interior.element=dock
|
||||||
|
frame.element=dock
|
||||||
|
frame.top=1
|
||||||
|
frame.bottom=1
|
||||||
|
frame.left=1
|
||||||
|
frame.right=1
|
||||||
|
text.normal.color=#444444
|
||||||
|
|
||||||
|
[DockTitle]
|
||||||
|
inherits=PanelButtonCommand
|
||||||
|
frame=false
|
||||||
|
interior=false
|
||||||
|
text.normal.color=#444444
|
||||||
|
text.focus.color=#444444
|
||||||
|
text.bold=false
|
||||||
|
|
||||||
|
[IndicatorSpinBox]
|
||||||
|
inherits=PanelButtonCommand
|
||||||
|
frame=true
|
||||||
|
interior=true
|
||||||
|
frame.top=2
|
||||||
|
frame.bottom=2
|
||||||
|
frame.left=2
|
||||||
|
frame.right=2
|
||||||
|
indicator.element=spin
|
||||||
|
indicator.size=8
|
||||||
|
text.normal.color=#444444
|
||||||
|
text.margin.top=2
|
||||||
|
text.margin.bottom=2
|
||||||
|
text.margin.left=2
|
||||||
|
text.margin.right=2
|
||||||
|
|
||||||
|
[RadioButton]
|
||||||
|
inherits=PanelButtonCommand
|
||||||
|
frame=false
|
||||||
|
interior.element=radio
|
||||||
|
text.normal.color=#444444
|
||||||
|
text.focus.color=#444444
|
||||||
|
text.press.color=#333333
|
||||||
|
text.toggle.color=#333333
|
||||||
|
min_width=+0.3font
|
||||||
|
min_height=+0.3font
|
||||||
|
|
||||||
|
[CheckBox]
|
||||||
|
inherits=PanelButtonCommand
|
||||||
|
frame=false
|
||||||
|
interior.element=checkbox
|
||||||
|
text.normal.color=#444444
|
||||||
|
text.focus.color=#444444
|
||||||
|
text.press.color=#333333
|
||||||
|
text.toggle.color=#333333
|
||||||
|
min_width=+0.3font
|
||||||
|
min_height=+0.3font
|
||||||
|
|
||||||
|
[Focus]
|
||||||
|
inherits=PanelButtonCommand
|
||||||
|
frame=true
|
||||||
|
frame.element=focus
|
||||||
|
frame.top=2
|
||||||
|
frame.bottom=2
|
||||||
|
frame.left=2
|
||||||
|
frame.right=2
|
||||||
|
frame.patternsize=14
|
||||||
|
|
||||||
|
[GenericFrame]
|
||||||
|
inherits=PanelButtonCommand
|
||||||
|
frame=true
|
||||||
|
interior=false
|
||||||
|
frame.element=common
|
||||||
|
interior.element=common
|
||||||
|
frame.top=1
|
||||||
|
frame.bottom=1
|
||||||
|
frame.left=1
|
||||||
|
frame.right=1
|
||||||
|
|
||||||
|
[LineEdit]
|
||||||
|
inherits=PanelButtonCommand
|
||||||
|
frame.element=lineedit
|
||||||
|
interior.element=lineedit
|
||||||
|
frame.top=6
|
||||||
|
frame.bottom=6
|
||||||
|
frame.left=6
|
||||||
|
frame.right=6
|
||||||
|
text.margin.top=2
|
||||||
|
text.margin.bottom=2
|
||||||
|
text.margin.left=2
|
||||||
|
text.margin.right=2
|
||||||
|
|
||||||
|
[ToolbarLineEdit]
|
||||||
|
frame.element=lineedit
|
||||||
|
interior.element=lineedit
|
||||||
|
|
||||||
|
[DropDownButton]
|
||||||
|
inherits=PanelButtonCommand
|
||||||
|
indicator.element=arrow-down
|
||||||
|
|
||||||
|
[IndicatorArrow]
|
||||||
|
indicator.element=arrow
|
||||||
|
indicator.size=8
|
||||||
|
|
||||||
|
[ToolboxTab]
|
||||||
|
inherits=PanelButtonCommand
|
||||||
|
text.normal.color=#444444
|
||||||
|
text.press.color=#333333
|
||||||
|
text.focus.color=#444444
|
||||||
|
|
||||||
|
[Tab]
|
||||||
|
inherits=PanelButtonCommand
|
||||||
|
interior.element=tab
|
||||||
|
text.margin.left=8
|
||||||
|
text.margin.right=8
|
||||||
|
text.margin.top=0
|
||||||
|
text.margin.bottom=0
|
||||||
|
frame.element=tab
|
||||||
|
indicator.element=tab
|
||||||
|
indicator.size=22
|
||||||
|
frame.top=8
|
||||||
|
frame.bottom=8
|
||||||
|
frame.left=8
|
||||||
|
frame.right=8
|
||||||
|
text.normal.color=#444444
|
||||||
|
text.focus.color=#444444
|
||||||
|
text.press.color=#333333
|
||||||
|
text.toggle.color=#333333
|
||||||
|
frame.expansion=0
|
||||||
|
text.bold=false
|
||||||
|
|
||||||
|
[TabFrame]
|
||||||
|
inherits=PanelButtonCommand
|
||||||
|
frame.element=tabframe
|
||||||
|
interior.element=tabframe
|
||||||
|
frame.top=6
|
||||||
|
frame.bottom=6
|
||||||
|
frame.left=6
|
||||||
|
frame.right=6
|
||||||
|
|
||||||
|
[TreeExpander]
|
||||||
|
inherits=PanelButtonCommand
|
||||||
|
indicator.size=8
|
||||||
|
indicator.element=tree
|
||||||
|
|
||||||
|
[HeaderSection]
|
||||||
|
inherits=PanelButtonCommand
|
||||||
|
interior.element=header
|
||||||
|
frame.element=header
|
||||||
|
frame.top=0
|
||||||
|
frame.bottom=1
|
||||||
|
frame.left=1
|
||||||
|
frame.right=1
|
||||||
|
text.normal.color=#444444
|
||||||
|
text.focus.color=#444444
|
||||||
|
text.press.color=#333333
|
||||||
|
text.toggle.color=#333333
|
||||||
|
frame.expansion=0
|
||||||
|
|
||||||
|
[SizeGrip]
|
||||||
|
indicator.element=resize-grip
|
||||||
|
|
||||||
|
[Toolbar]
|
||||||
|
inherits=PanelButtonCommand
|
||||||
|
indicator.element=toolbar
|
||||||
|
indicator.size=5
|
||||||
|
text.margin=0
|
||||||
|
interior.element=menubar
|
||||||
|
frame.element=menubar
|
||||||
|
text.normal.color=#444444
|
||||||
|
text.focus.color=#444444
|
||||||
|
text.press.color=#333333
|
||||||
|
text.toggle.color=#333333
|
||||||
|
frame.left=6
|
||||||
|
frame.right=6
|
||||||
|
frame.top=0
|
||||||
|
frame.bottom=1
|
||||||
|
frame.expansion=0
|
||||||
|
|
||||||
|
[Slider]
|
||||||
|
inherits=PanelButtonCommand
|
||||||
|
frame.element=slider
|
||||||
|
focusFrame=true
|
||||||
|
interior.element=slider
|
||||||
|
frame.top=3
|
||||||
|
frame.bottom=3
|
||||||
|
frame.left=3
|
||||||
|
frame.right=3
|
||||||
|
|
||||||
|
[SliderCursor]
|
||||||
|
inherits=PanelButtonCommand
|
||||||
|
frame=false
|
||||||
|
interior.element=slidercursor
|
||||||
|
|
||||||
|
[Progressbar]
|
||||||
|
inherits=PanelButtonCommand
|
||||||
|
frame.element=progress
|
||||||
|
interior.element=progress
|
||||||
|
text.margin=0
|
||||||
|
text.normal.color=#444444
|
||||||
|
text.focus.color=#444444
|
||||||
|
text.press.color=#333333
|
||||||
|
text.toggle.color=#333333
|
||||||
|
text.bold=false
|
||||||
|
frame.expansion=8
|
||||||
|
|
||||||
|
[ProgressbarContents]
|
||||||
|
inherits=PanelButtonCommand
|
||||||
|
frame=true
|
||||||
|
frame.element=progress-pattern
|
||||||
|
interior.element=progress-pattern
|
||||||
|
|
||||||
|
[ItemView]
|
||||||
|
inherits=PanelButtonCommand
|
||||||
|
text.margin=0
|
||||||
|
frame.element=itemview
|
||||||
|
interior.element=itemview
|
||||||
|
frame.top=4
|
||||||
|
frame.bottom=4
|
||||||
|
frame.left=4
|
||||||
|
frame.right=4
|
||||||
|
text.margin.top=0
|
||||||
|
text.margin.bottom=0
|
||||||
|
text.margin.left=8
|
||||||
|
text.margin.right=8
|
||||||
|
text.normal.color=#444444
|
||||||
|
text.focus.color=#444444
|
||||||
|
text.press.color=#333333
|
||||||
|
text.toggle.color=#333333
|
||||||
|
min_width=+0.3font
|
||||||
|
min_height=+0.3font
|
||||||
|
frame.expansion=0
|
||||||
|
|
||||||
|
[Splitter]
|
||||||
|
interior.element=splitter
|
||||||
|
frame=false
|
||||||
|
indicator.size=0
|
||||||
|
|
||||||
|
[Scrollbar]
|
||||||
|
inherits=PanelButtonCommand
|
||||||
|
indicator.element=arrow
|
||||||
|
indicator.size=12
|
||||||
|
|
||||||
|
[ScrollbarSlider]
|
||||||
|
inherits=PanelButtonCommand
|
||||||
|
frame.element=scrollbarslider
|
||||||
|
interior=false
|
||||||
|
frame.left=5
|
||||||
|
frame.right=5
|
||||||
|
frame.top=5
|
||||||
|
frame.bottom=5
|
||||||
|
indicator.element=grip
|
||||||
|
indicator.size=12
|
||||||
|
|
||||||
|
[ScrollbarGroove]
|
||||||
|
inherits=PanelButtonCommand
|
||||||
|
interior=false
|
||||||
|
frame=false
|
||||||
|
|
||||||
|
[Menu]
|
||||||
|
inherits=PanelButtonCommand
|
||||||
|
frame.top=10
|
||||||
|
frame.bottom=10
|
||||||
|
frame.left=10
|
||||||
|
frame.right=10
|
||||||
|
frame.element=menu
|
||||||
|
interior.element=menu
|
||||||
|
text.normal.color=#444444
|
||||||
|
text.shadow=false
|
||||||
|
frame.expansion=0
|
||||||
|
text.bold=false
|
||||||
|
|
||||||
|
[MenuItem]
|
||||||
|
inherits=PanelButtonCommand
|
||||||
|
frame=true
|
||||||
|
frame.element=menuitem
|
||||||
|
interior.element=menuitem
|
||||||
|
indicator.element=menuitem
|
||||||
|
text.normal.color=#444444
|
||||||
|
text.focus.color=#333333
|
||||||
|
text.margin.top=0
|
||||||
|
text.margin.bottom=0
|
||||||
|
text.margin.left=6
|
||||||
|
text.margin.right=6
|
||||||
|
frame.top=4
|
||||||
|
frame.bottom=4
|
||||||
|
frame.left=4
|
||||||
|
frame.right=4
|
||||||
|
text.bold=false
|
||||||
|
frame.expansion=0
|
||||||
|
|
||||||
|
[MenuBar]
|
||||||
|
inherits=PanelButtonCommand
|
||||||
|
frame.element=menubar
|
||||||
|
interior.element=menubar
|
||||||
|
frame.bottom=0
|
||||||
|
text.normal.color=#444444
|
||||||
|
text.focus.color=#444444
|
||||||
|
text.press.color=#333333
|
||||||
|
text.toggle.color=#333333
|
||||||
|
frame.expansion=0
|
||||||
|
text.bold=false
|
||||||
|
|
||||||
|
[MenuBarItem]
|
||||||
|
inherits=PanelButtonCommand
|
||||||
|
interior=true
|
||||||
|
interior.element=menubaritem
|
||||||
|
frame.element=menubaritem
|
||||||
|
frame.top=2
|
||||||
|
frame.bottom=2
|
||||||
|
frame.left=2
|
||||||
|
frame.right=2
|
||||||
|
text.margin.left=4
|
||||||
|
text.margin.right=4
|
||||||
|
text.margin.top=0
|
||||||
|
text.margin.bottom=0
|
||||||
|
text.normal.color=#444444
|
||||||
|
text.focus.color=#444444
|
||||||
|
text.press.color=#333333
|
||||||
|
text.toggle.color=#333333
|
||||||
|
text.bold=false
|
||||||
|
min_width=+0.3font
|
||||||
|
min_height=+0.3font
|
||||||
|
frame.expansion=0
|
||||||
|
|
||||||
|
[TitleBar]
|
||||||
|
inherits=PanelButtonCommand
|
||||||
|
frame=false
|
||||||
|
text.margin.top=2
|
||||||
|
text.margin.bottom=2
|
||||||
|
text.margin.left=2
|
||||||
|
text.margin.right=2
|
||||||
|
interior.element=titlebar
|
||||||
|
indicator.size=16
|
||||||
|
indicator.element=mdi
|
||||||
|
text.normal.color=#444444
|
||||||
|
text.focus.color=#444444
|
||||||
|
text.bold=false
|
||||||
|
text.italic=true
|
||||||
|
frame.expansion=0
|
||||||
|
|
||||||
|
[ComboBox]
|
||||||
|
inherits=PanelButtonCommand
|
||||||
|
frame.element=combo
|
||||||
|
interior.element=combo
|
||||||
|
frame.top=6
|
||||||
|
frame.bottom=6
|
||||||
|
frame.left=6
|
||||||
|
frame.right=6
|
||||||
|
text.margin.top=2
|
||||||
|
text.margin.bottom=2
|
||||||
|
text.margin.left=2
|
||||||
|
text.margin.right=2
|
||||||
|
text.normal.color=#444444
|
||||||
|
text.focus.color=#424242
|
||||||
|
text.press.color=#424242
|
||||||
|
text.toggle.color=#424242
|
||||||
|
|
||||||
|
[GroupBox]
|
||||||
|
inherits=GenericFrame
|
||||||
|
frame=false
|
||||||
|
text.shadow=0
|
||||||
|
text.margin=0
|
||||||
|
text.normal.color=#444444
|
||||||
|
text.focus.color=#333333
|
||||||
|
text.bold=false
|
||||||
|
frame.expansion=0
|
||||||
|
|
||||||
|
[TabBarFrame]
|
||||||
|
inherits=GenericFrame
|
||||||
|
frame=false
|
||||||
|
interior=false
|
||||||
|
|
||||||
|
[ToolTip]
|
||||||
|
inherits=GenericFrame
|
||||||
|
frame.top=6
|
||||||
|
frame.bottom=6
|
||||||
|
frame.left=6
|
||||||
|
frame.right=6
|
||||||
|
interior=true
|
||||||
|
text.shadow=0
|
||||||
|
text.margin=6
|
||||||
|
interior.element=tooltip
|
||||||
|
frame.element=tooltip
|
||||||
|
text.normal.color=#444444
|
||||||
|
text.focus.color=#333333
|
||||||
|
text.press.color=#333333
|
||||||
|
text.toggle.color=#333333
|
||||||
|
frame.expansion=6
|
||||||
|
|
||||||
|
[StatusBar]
|
||||||
|
inherits=GenericFrame
|
||||||
|
frame=false
|
||||||
|
interior=false
|
||||||
|
|
||||||
|
[Window]
|
||||||
|
interior=true
|
||||||
|
interior.element=window
|
||||||
|
frame=true
|
||||||
|
frame.element=window
|
||||||
|
frame.bottom=10
|
||||||
|
frame.top=10
|
||||||
File diff suppressed because it is too large
Load Diff
|
After Width: | Height: | Size: 170 KiB |
@@ -0,0 +1,569 @@
|
|||||||
|
[%General]
|
||||||
|
author=Vince Liuice, based on KvAdapta by Tsu Jan
|
||||||
|
comment=An uncomplicated theme inspired by the Materia GTK theme
|
||||||
|
x11drag=none
|
||||||
|
alt_mnemonic=true
|
||||||
|
left_tabs=false
|
||||||
|
attach_active_tab=false
|
||||||
|
mirror_doc_tabs=true
|
||||||
|
group_toolbar_buttons=false
|
||||||
|
toolbar_item_spacing=0
|
||||||
|
toolbar_interior_spacing=2
|
||||||
|
spread_progressbar=true
|
||||||
|
composite=false
|
||||||
|
menu_shadow_depth=6
|
||||||
|
spread_menuitems=false
|
||||||
|
tooltip_shadow_depth=7
|
||||||
|
splitter_width=1
|
||||||
|
scroll_width=9
|
||||||
|
scroll_arrows=false
|
||||||
|
scroll_min_extent=60
|
||||||
|
slider_width=2
|
||||||
|
slider_handle_width=23
|
||||||
|
slider_handle_length=22
|
||||||
|
tickless_slider_handle_size=22
|
||||||
|
center_toolbar_handle=true
|
||||||
|
check_size=24
|
||||||
|
textless_progressbar=false
|
||||||
|
progressbar_thickness=2
|
||||||
|
menubar_mouse_tracking=true
|
||||||
|
toolbutton_style=1
|
||||||
|
double_click=false
|
||||||
|
translucent_windows=false
|
||||||
|
blurring=false
|
||||||
|
popup_blurring=false
|
||||||
|
vertical_spin_indicators=false
|
||||||
|
spin_button_width=24
|
||||||
|
fill_rubberband=false
|
||||||
|
merge_menubar_with_toolbar=true
|
||||||
|
small_icon_size=16
|
||||||
|
large_icon_size=32
|
||||||
|
button_icon_size=16
|
||||||
|
toolbar_icon_size=16
|
||||||
|
combo_as_lineedit=true
|
||||||
|
animate_states=true
|
||||||
|
button_contents_shift=false
|
||||||
|
combo_menu=true
|
||||||
|
hide_combo_checkboxes=true
|
||||||
|
combo_focus_rect=false
|
||||||
|
groupbox_top_label=true
|
||||||
|
inline_spin_indicators=true
|
||||||
|
joined_inactive_tabs=false
|
||||||
|
layout_spacing=3
|
||||||
|
layout_margin=3
|
||||||
|
scrollbar_in_view=true
|
||||||
|
transient_scrollbar=true
|
||||||
|
transient_groove=false
|
||||||
|
submenu_overlap=0
|
||||||
|
tooltip_delay=0
|
||||||
|
tree_branch_line=false
|
||||||
|
no_window_pattern=false
|
||||||
|
opaque=kaffeine,kmplayer,subtitlecomposer,kdenlive,vlc,smplayer,smplayer2,avidemux,avidemux2_qt4,avidemux3_qt4,avidemux3_qt5,kamoso,QtCreator,VirtualBox,trojita,dragon,digikam
|
||||||
|
reduce_window_opacity=0
|
||||||
|
respect_DE=true
|
||||||
|
scrollable_menu=false
|
||||||
|
submenu_delay=150
|
||||||
|
no_inactiveness=false
|
||||||
|
reduce_menu_opacity=0
|
||||||
|
click_behavior=2
|
||||||
|
contrast=1.00
|
||||||
|
dialog_button_layout=0
|
||||||
|
intensity=1.00
|
||||||
|
saturation=1.00
|
||||||
|
shadowless_popup=false
|
||||||
|
drag_from_buttons=false
|
||||||
|
menu_blur_radius=0
|
||||||
|
tooltip_blur_radius=0
|
||||||
|
|
||||||
|
[GeneralColors]
|
||||||
|
window.color=#2c2c2c
|
||||||
|
base.color=#2c2c2c
|
||||||
|
alt.base.color=#2e2e2e
|
||||||
|
button.color=#4d4d4d
|
||||||
|
light.color=#535353
|
||||||
|
mid.light.color=#474747
|
||||||
|
dark.color=#282828
|
||||||
|
mid.color=#323232
|
||||||
|
highlight.color=#5b9bf8
|
||||||
|
inactive.highlight.color=#5b9bf8
|
||||||
|
text.color=#dfdfdf
|
||||||
|
window.text.color=#dfdfdf
|
||||||
|
button.text.color=#dfdfdf
|
||||||
|
disabled.text.color=#696969
|
||||||
|
tooltip.text.color=#efefef
|
||||||
|
highlight.text.color=#ffffff
|
||||||
|
link.color=#0057AE
|
||||||
|
link.visited.color=#E040FB
|
||||||
|
progress.indicator.text.color=#dfdfdf
|
||||||
|
|
||||||
|
[Hacks]
|
||||||
|
transparent_ktitle_label=true
|
||||||
|
transparent_dolphin_view=true
|
||||||
|
transparent_pcmanfm_sidepane=true
|
||||||
|
blur_translucent=false
|
||||||
|
transparent_menutitle=true
|
||||||
|
respect_darkness=true
|
||||||
|
kcapacitybar_as_progressbar=true
|
||||||
|
force_size_grip=true
|
||||||
|
iconless_pushbutton=false
|
||||||
|
iconless_menu=false
|
||||||
|
disabled_icon_opacity=100
|
||||||
|
lxqtmainmenu_iconsize=16
|
||||||
|
normal_default_pushbutton=true
|
||||||
|
single_top_toolbar=true
|
||||||
|
tint_on_mouseover=0
|
||||||
|
transparent_pcmanfm_view=true
|
||||||
|
no_selection_tint=true
|
||||||
|
transparent_arrow_button=true
|
||||||
|
middle_click_scroll=false
|
||||||
|
opaque_colors=false
|
||||||
|
kinetic_scrolling=false
|
||||||
|
scroll_jump_workaround=true
|
||||||
|
centered_forms=false
|
||||||
|
noninteger_translucency=false
|
||||||
|
style_vertical_toolbars=false
|
||||||
|
blur_only_active_window=true
|
||||||
|
|
||||||
|
[PanelButtonCommand]
|
||||||
|
frame=true
|
||||||
|
frame.element=button
|
||||||
|
frame.top=6
|
||||||
|
frame.bottom=6
|
||||||
|
frame.left=6
|
||||||
|
frame.right=6
|
||||||
|
interior=true
|
||||||
|
interior.element=button
|
||||||
|
indicator.size=8
|
||||||
|
text.normal.color=#dfdfdf
|
||||||
|
text.focus.color=white
|
||||||
|
text.press.color=white
|
||||||
|
text.toggle.color=#ffffff
|
||||||
|
text.shadow=0
|
||||||
|
text.margin=4
|
||||||
|
text.iconspacing=4
|
||||||
|
indicator.element=arrow
|
||||||
|
frame.expansion=0
|
||||||
|
|
||||||
|
[PanelButtonTool]
|
||||||
|
inherits=PanelButtonCommand
|
||||||
|
text.normal.color=#dfdfdf
|
||||||
|
text.focus.color=white
|
||||||
|
text.press.color=white
|
||||||
|
text.toggle.color=#ffffff
|
||||||
|
text.bold=false
|
||||||
|
indicator.element=arrow
|
||||||
|
indicator.size=8
|
||||||
|
frame.expansion=0
|
||||||
|
|
||||||
|
[ToolbarButton]
|
||||||
|
frame=true
|
||||||
|
frame.element=tbutton
|
||||||
|
interior.element=tbutton
|
||||||
|
frame.top=16
|
||||||
|
frame.bottom=16
|
||||||
|
frame.left=16
|
||||||
|
frame.right=16
|
||||||
|
indicator.element=tarrow
|
||||||
|
text.normal.color=#dfdfdf
|
||||||
|
text.focus.color=white
|
||||||
|
text.press.color=white
|
||||||
|
text.toggle.color=white
|
||||||
|
text.bold=false
|
||||||
|
frame.expansion=32
|
||||||
|
|
||||||
|
[Dock]
|
||||||
|
inherits=PanelButtonCommand
|
||||||
|
interior.element=dock
|
||||||
|
frame.element=dock
|
||||||
|
frame.top=1
|
||||||
|
frame.bottom=1
|
||||||
|
frame.left=1
|
||||||
|
frame.right=1
|
||||||
|
text.normal.color=#dfdfdf
|
||||||
|
|
||||||
|
[DockTitle]
|
||||||
|
inherits=PanelButtonCommand
|
||||||
|
frame=false
|
||||||
|
interior=false
|
||||||
|
text.normal.color=#dfdfdf
|
||||||
|
text.focus.color=white
|
||||||
|
text.bold=false
|
||||||
|
|
||||||
|
[IndicatorSpinBox]
|
||||||
|
inherits=PanelButtonCommand
|
||||||
|
frame=true
|
||||||
|
interior=true
|
||||||
|
frame.top=2
|
||||||
|
frame.bottom=2
|
||||||
|
frame.left=2
|
||||||
|
frame.right=2
|
||||||
|
indicator.element=spin
|
||||||
|
indicator.size=8
|
||||||
|
text.normal.color=#dfdfdf
|
||||||
|
text.margin.top=2
|
||||||
|
text.margin.bottom=2
|
||||||
|
text.margin.left=2
|
||||||
|
text.margin.right=2
|
||||||
|
|
||||||
|
[RadioButton]
|
||||||
|
inherits=PanelButtonCommand
|
||||||
|
frame=false
|
||||||
|
interior.element=radio
|
||||||
|
text.normal.color=#dfdfdf
|
||||||
|
text.focus.color=white
|
||||||
|
min_width=+0.3font
|
||||||
|
min_height=+0.3font
|
||||||
|
|
||||||
|
[CheckBox]
|
||||||
|
inherits=PanelButtonCommand
|
||||||
|
frame=false
|
||||||
|
interior.element=checkbox
|
||||||
|
text.normal.color=#dfdfdf
|
||||||
|
text.focus.color=white
|
||||||
|
min_width=+0.3font
|
||||||
|
min_height=+0.3font
|
||||||
|
|
||||||
|
[Focus]
|
||||||
|
inherits=PanelButtonCommand
|
||||||
|
frame=true
|
||||||
|
frame.element=focus
|
||||||
|
frame.top=2
|
||||||
|
frame.bottom=2
|
||||||
|
frame.left=2
|
||||||
|
frame.right=2
|
||||||
|
frame.patternsize=14
|
||||||
|
|
||||||
|
[GenericFrame]
|
||||||
|
inherits=PanelButtonCommand
|
||||||
|
frame=true
|
||||||
|
interior=false
|
||||||
|
frame.element=common
|
||||||
|
interior.element=common
|
||||||
|
frame.top=1
|
||||||
|
frame.bottom=1
|
||||||
|
frame.left=1
|
||||||
|
frame.right=1
|
||||||
|
|
||||||
|
[LineEdit]
|
||||||
|
inherits=PanelButtonCommand
|
||||||
|
frame.element=lineedit
|
||||||
|
interior.element=lineedit
|
||||||
|
frame.top=6
|
||||||
|
frame.bottom=6
|
||||||
|
frame.left=6
|
||||||
|
frame.right=6
|
||||||
|
text.margin.top=2
|
||||||
|
text.margin.bottom=2
|
||||||
|
text.margin.left=2
|
||||||
|
text.margin.right=2
|
||||||
|
|
||||||
|
[ToolbarLineEdit]
|
||||||
|
frame.element=lineedit
|
||||||
|
interior.element=lineedit
|
||||||
|
|
||||||
|
[DropDownButton]
|
||||||
|
inherits=PanelButtonCommand
|
||||||
|
indicator.element=arrow-down
|
||||||
|
|
||||||
|
[IndicatorArrow]
|
||||||
|
indicator.element=arrow
|
||||||
|
indicator.size=8
|
||||||
|
|
||||||
|
[ToolboxTab]
|
||||||
|
inherits=PanelButtonCommand
|
||||||
|
text.normal.color=#dfdfdf
|
||||||
|
text.press.color=#dfdfdf
|
||||||
|
text.focus.color=white
|
||||||
|
|
||||||
|
[Tab]
|
||||||
|
inherits=PanelButtonCommand
|
||||||
|
interior.element=tab
|
||||||
|
text.margin.left=8
|
||||||
|
text.margin.right=8
|
||||||
|
text.margin.top=0
|
||||||
|
text.margin.bottom=0
|
||||||
|
frame.element=tab
|
||||||
|
indicator.element=tab
|
||||||
|
indicator.size=22
|
||||||
|
frame.top=8
|
||||||
|
frame.bottom=8
|
||||||
|
frame.left=8
|
||||||
|
frame.right=8
|
||||||
|
text.normal.color=#dfdfdf
|
||||||
|
text.focus.color=#dfdfdf
|
||||||
|
text.press.color=white
|
||||||
|
text.toggle.color=white
|
||||||
|
frame.expansion=0
|
||||||
|
text.bold=false
|
||||||
|
|
||||||
|
[TabFrame]
|
||||||
|
inherits=PanelButtonCommand
|
||||||
|
frame.element=tabframe
|
||||||
|
interior.element=tabframe
|
||||||
|
frame.top=6
|
||||||
|
frame.bottom=6
|
||||||
|
frame.left=6
|
||||||
|
frame.right=6
|
||||||
|
|
||||||
|
[TreeExpander]
|
||||||
|
inherits=PanelButtonCommand
|
||||||
|
indicator.size=8
|
||||||
|
indicator.element=tree
|
||||||
|
|
||||||
|
[HeaderSection]
|
||||||
|
inherits=PanelButtonCommand
|
||||||
|
interior.element=header
|
||||||
|
frame.element=header
|
||||||
|
frame.top=0
|
||||||
|
frame.bottom=1
|
||||||
|
frame.left=1
|
||||||
|
frame.right=1
|
||||||
|
text.normal.color=#dfdfdf
|
||||||
|
text.focus.color=white
|
||||||
|
text.press.color=white
|
||||||
|
text.toggle.color=white
|
||||||
|
frame.expansion=0
|
||||||
|
|
||||||
|
[SizeGrip]
|
||||||
|
indicator.element=resize-grip
|
||||||
|
|
||||||
|
[Toolbar]
|
||||||
|
inherits=PanelButtonCommand
|
||||||
|
indicator.element=toolbar
|
||||||
|
indicator.size=5
|
||||||
|
text.margin=0
|
||||||
|
interior.element=menubar
|
||||||
|
frame.element=menubar
|
||||||
|
text.normal.color=#dfdfdf
|
||||||
|
text.focus.color=white
|
||||||
|
text.press.color=#dfdfdf
|
||||||
|
text.toggle.color=white
|
||||||
|
frame.left=6
|
||||||
|
frame.right=6
|
||||||
|
frame.top=0
|
||||||
|
frame.bottom=1
|
||||||
|
frame.expansion=0
|
||||||
|
|
||||||
|
[Slider]
|
||||||
|
inherits=PanelButtonCommand
|
||||||
|
frame.element=slider
|
||||||
|
focusFrame=true
|
||||||
|
interior.element=slider
|
||||||
|
frame.top=3
|
||||||
|
frame.bottom=3
|
||||||
|
frame.left=3
|
||||||
|
frame.right=3
|
||||||
|
|
||||||
|
[SliderCursor]
|
||||||
|
inherits=PanelButtonCommand
|
||||||
|
frame=false
|
||||||
|
interior.element=slidercursor
|
||||||
|
|
||||||
|
[Progressbar]
|
||||||
|
inherits=PanelButtonCommand
|
||||||
|
frame.element=progress
|
||||||
|
interior.element=progress
|
||||||
|
text.margin=0
|
||||||
|
text.normal.color=#dfdfdf
|
||||||
|
text.focus.color=#dfdfdf
|
||||||
|
text.press.color=#dfdfdf
|
||||||
|
text.toggle.color=#dfdfdf
|
||||||
|
text.bold=false
|
||||||
|
frame.expansion=8
|
||||||
|
|
||||||
|
[ProgressbarContents]
|
||||||
|
inherits=PanelButtonCommand
|
||||||
|
frame=true
|
||||||
|
frame.element=progress-pattern
|
||||||
|
interior.element=progress-pattern
|
||||||
|
|
||||||
|
[ItemView]
|
||||||
|
inherits=PanelButtonCommand
|
||||||
|
text.margin=0
|
||||||
|
frame.element=itemview
|
||||||
|
interior.element=itemview
|
||||||
|
frame.top=4
|
||||||
|
frame.bottom=4
|
||||||
|
frame.left=4
|
||||||
|
frame.right=4
|
||||||
|
text.margin.top=0
|
||||||
|
text.margin.bottom=0
|
||||||
|
text.margin.left=8
|
||||||
|
text.margin.right=8
|
||||||
|
text.normal.color=#dfdfdf
|
||||||
|
text.focus.color=#dfdfdf
|
||||||
|
text.press.color=#ffffff
|
||||||
|
text.toggle.color=#ffffff
|
||||||
|
min_width=+0.3font
|
||||||
|
min_height=+0.3font
|
||||||
|
frame.expansion=0
|
||||||
|
|
||||||
|
[Splitter]
|
||||||
|
interior.element=splitter
|
||||||
|
frame=false
|
||||||
|
indicator.size=0
|
||||||
|
|
||||||
|
[Scrollbar]
|
||||||
|
inherits=PanelButtonCommand
|
||||||
|
indicator.element=arrow
|
||||||
|
indicator.size=12
|
||||||
|
|
||||||
|
[ScrollbarSlider]
|
||||||
|
inherits=PanelButtonCommand
|
||||||
|
frame.element=scrollbarslider
|
||||||
|
interior=false
|
||||||
|
frame.left=5
|
||||||
|
frame.right=5
|
||||||
|
frame.top=5
|
||||||
|
frame.bottom=5
|
||||||
|
indicator.element=grip
|
||||||
|
indicator.size=12
|
||||||
|
|
||||||
|
[ScrollbarGroove]
|
||||||
|
inherits=PanelButtonCommand
|
||||||
|
interior=false
|
||||||
|
frame=false
|
||||||
|
|
||||||
|
[Menu]
|
||||||
|
inherits=PanelButtonCommand
|
||||||
|
frame.top=10
|
||||||
|
frame.bottom=10
|
||||||
|
frame.left=10
|
||||||
|
frame.right=10
|
||||||
|
frame.element=menu
|
||||||
|
interior.element=menu
|
||||||
|
text.normal.color=#dfdfdf
|
||||||
|
text.shadow=false
|
||||||
|
frame.expansion=0
|
||||||
|
text.bold=false
|
||||||
|
|
||||||
|
[MenuItem]
|
||||||
|
inherits=PanelButtonCommand
|
||||||
|
frame=true
|
||||||
|
frame.element=menuitem
|
||||||
|
interior.element=menuitem
|
||||||
|
indicator.element=menuitem
|
||||||
|
text.normal.color=#dfdfdf
|
||||||
|
text.focus.color=#ffffff
|
||||||
|
text.margin.top=0
|
||||||
|
text.margin.bottom=0
|
||||||
|
text.margin.left=6
|
||||||
|
text.margin.right=6
|
||||||
|
frame.top=4
|
||||||
|
frame.bottom=4
|
||||||
|
frame.left=4
|
||||||
|
frame.right=4
|
||||||
|
text.bold=false
|
||||||
|
frame.expansion=0
|
||||||
|
|
||||||
|
[MenuBar]
|
||||||
|
inherits=PanelButtonCommand
|
||||||
|
frame.element=menubar
|
||||||
|
interior.element=menubar
|
||||||
|
frame.bottom=0
|
||||||
|
text.normal.color=#dfdfdf
|
||||||
|
text.focus.color=#ffffff
|
||||||
|
text.press.color=#ffffff
|
||||||
|
text.toggle.color=#ffffff
|
||||||
|
frame.expansion=0
|
||||||
|
text.bold=false
|
||||||
|
|
||||||
|
[MenuBarItem]
|
||||||
|
inherits=PanelButtonCommand
|
||||||
|
interior=true
|
||||||
|
interior.element=menubaritem
|
||||||
|
frame.element=menubaritem
|
||||||
|
frame.top=2
|
||||||
|
frame.bottom=2
|
||||||
|
frame.left=2
|
||||||
|
frame.right=2
|
||||||
|
text.margin.left=4
|
||||||
|
text.margin.right=4
|
||||||
|
text.margin.top=0
|
||||||
|
text.margin.bottom=0
|
||||||
|
text.normal.color=#dfdfdf
|
||||||
|
text.focus.color=#ffffff
|
||||||
|
text.press.color=#ffffff
|
||||||
|
text.toggle.color=#ffffff
|
||||||
|
text.bold=false
|
||||||
|
min_width=+0.3font
|
||||||
|
min_height=+0.3font
|
||||||
|
frame.expansion=0
|
||||||
|
|
||||||
|
[TitleBar]
|
||||||
|
inherits=PanelButtonCommand
|
||||||
|
frame=false
|
||||||
|
text.margin.top=2
|
||||||
|
text.margin.bottom=2
|
||||||
|
text.margin.left=2
|
||||||
|
text.margin.right=2
|
||||||
|
interior.element=titlebar
|
||||||
|
indicator.size=16
|
||||||
|
indicator.element=mdi
|
||||||
|
text.normal.color=#787878
|
||||||
|
text.focus.color=#dfdfdf
|
||||||
|
text.bold=false
|
||||||
|
text.italic=true
|
||||||
|
frame.expansion=0
|
||||||
|
|
||||||
|
[ComboBox]
|
||||||
|
inherits=PanelButtonCommand
|
||||||
|
frame.element=combo
|
||||||
|
interior.element=combo
|
||||||
|
frame.top=6
|
||||||
|
frame.bottom=6
|
||||||
|
frame.left=6
|
||||||
|
frame.right=6
|
||||||
|
text.margin.top=2
|
||||||
|
text.margin.bottom=2
|
||||||
|
text.margin.left=2
|
||||||
|
text.margin.right=2
|
||||||
|
text.focus.color=white
|
||||||
|
text.press.color=#dfdfdf
|
||||||
|
text.toggle.color=white
|
||||||
|
|
||||||
|
[GroupBox]
|
||||||
|
inherits=GenericFrame
|
||||||
|
frame=false
|
||||||
|
text.shadow=0
|
||||||
|
text.margin=0
|
||||||
|
text.normal.color=#dfdfdf
|
||||||
|
text.focus.color=white
|
||||||
|
text.bold=false
|
||||||
|
frame.expansion=0
|
||||||
|
|
||||||
|
[TabBarFrame]
|
||||||
|
inherits=GenericFrame
|
||||||
|
frame=false
|
||||||
|
frame.element=tabBarFrame
|
||||||
|
interior=false
|
||||||
|
frame.top=0
|
||||||
|
frame.bottom=0
|
||||||
|
frame.left=0
|
||||||
|
frame.right=0
|
||||||
|
|
||||||
|
[ToolTip]
|
||||||
|
inherits=GenericFrame
|
||||||
|
frame.top=6
|
||||||
|
frame.bottom=6
|
||||||
|
frame.left=6
|
||||||
|
frame.right=6
|
||||||
|
interior=true
|
||||||
|
text.shadow=0
|
||||||
|
text.margin=6
|
||||||
|
interior.element=tooltip
|
||||||
|
frame.element=tooltip
|
||||||
|
frame.expansion=6
|
||||||
|
|
||||||
|
[StatusBar]
|
||||||
|
inherits=GenericFrame
|
||||||
|
frame=false
|
||||||
|
interior=false
|
||||||
|
|
||||||
|
[Window]
|
||||||
|
interior=true
|
||||||
|
interior.element=window
|
||||||
|
frame=true
|
||||||
|
frame.element=window
|
||||||
|
frame.bottom=10
|
||||||
|
frame.top=10
|
||||||
File diff suppressed because it is too large
Load Diff
|
After Width: | Height: | Size: 168 KiB |
@@ -0,0 +1,571 @@
|
|||||||
|
[%General]
|
||||||
|
author=Vince Liuice, based on KvAdapta by Tsu Jan
|
||||||
|
comment=An uncomplicated theme inspired by the Materia GTK theme
|
||||||
|
x11drag=none
|
||||||
|
alt_mnemonic=true
|
||||||
|
left_tabs=false
|
||||||
|
attach_active_tab=false
|
||||||
|
mirror_doc_tabs=true
|
||||||
|
group_toolbar_buttons=false
|
||||||
|
toolbar_item_spacing=0
|
||||||
|
toolbar_interior_spacing=2
|
||||||
|
spread_progressbar=true
|
||||||
|
composite=false
|
||||||
|
menu_shadow_depth=6
|
||||||
|
spread_menuitems=false
|
||||||
|
tooltip_shadow_depth=7
|
||||||
|
splitter_width=1
|
||||||
|
scroll_width=9
|
||||||
|
scroll_arrows=false
|
||||||
|
scroll_min_extent=60
|
||||||
|
slider_width=2
|
||||||
|
slider_handle_width=23
|
||||||
|
slider_handle_length=22
|
||||||
|
tickless_slider_handle_size=22
|
||||||
|
center_toolbar_handle=true
|
||||||
|
check_size=24
|
||||||
|
textless_progressbar=false
|
||||||
|
progressbar_thickness=2
|
||||||
|
menubar_mouse_tracking=true
|
||||||
|
toolbutton_style=1
|
||||||
|
double_click=false
|
||||||
|
translucent_windows=false
|
||||||
|
blurring=false
|
||||||
|
popup_blurring=false
|
||||||
|
vertical_spin_indicators=false
|
||||||
|
spin_button_width=24
|
||||||
|
fill_rubberband=false
|
||||||
|
merge_menubar_with_toolbar=true
|
||||||
|
small_icon_size=16
|
||||||
|
large_icon_size=32
|
||||||
|
button_icon_size=16
|
||||||
|
toolbar_icon_size=16
|
||||||
|
combo_as_lineedit=true
|
||||||
|
animate_states=true
|
||||||
|
button_contents_shift=false
|
||||||
|
combo_menu=true
|
||||||
|
hide_combo_checkboxes=true
|
||||||
|
combo_focus_rect=false
|
||||||
|
groupbox_top_label=true
|
||||||
|
inline_spin_indicators=true
|
||||||
|
joined_inactive_tabs=false
|
||||||
|
layout_spacing=3
|
||||||
|
layout_margin=3
|
||||||
|
scrollbar_in_view=true
|
||||||
|
transient_scrollbar=true
|
||||||
|
transient_groove=false
|
||||||
|
submenu_overlap=0
|
||||||
|
tooltip_delay=0
|
||||||
|
tree_branch_line=false
|
||||||
|
no_window_pattern=false
|
||||||
|
opaque=kaffeine,kmplayer,subtitlecomposer,kdenlive,vlc,smplayer,smplayer2,avidemux,avidemux2_qt4,avidemux3_qt4,avidemux3_qt5,kamoso,QtCreator,VirtualBox,VirtualBoxVM,trojita,dragon,digikam,lyx
|
||||||
|
reduce_window_opacity=0
|
||||||
|
respect_DE=true
|
||||||
|
scrollable_menu=false
|
||||||
|
submenu_delay=150
|
||||||
|
no_inactiveness=false
|
||||||
|
reduce_menu_opacity=0
|
||||||
|
click_behavior=2
|
||||||
|
contrast=1.00
|
||||||
|
dialog_button_layout=0
|
||||||
|
intensity=1.00
|
||||||
|
saturation=1.00
|
||||||
|
shadowless_popup=false
|
||||||
|
drag_from_buttons=false
|
||||||
|
menu_blur_radius=0
|
||||||
|
tooltip_blur_radius=0
|
||||||
|
|
||||||
|
[GeneralColors]
|
||||||
|
window.color=#0F1416
|
||||||
|
base.color=#0F1416
|
||||||
|
alt.base.color=#0F1416
|
||||||
|
button.color=#1B2022
|
||||||
|
light.color=#171C1E
|
||||||
|
mid.light.color=#1B2022
|
||||||
|
dark.color=#303638
|
||||||
|
mid.color=#252B2D
|
||||||
|
highlight.color=#84D2E7
|
||||||
|
inactive.highlight.color=#84D2E7
|
||||||
|
text.color=#DEE3E5
|
||||||
|
window.text.color=#DEE3E5
|
||||||
|
button.text.color=#DEE3E5
|
||||||
|
disabled.text.color=#DEE3E5
|
||||||
|
tooltip.text.color=#DEE3E5
|
||||||
|
highlight.text.color=#DEE3E5
|
||||||
|
link.color=#BFC4EB
|
||||||
|
link.visited.color=#DDE1FF
|
||||||
|
progress.indicator.text.color=#DEE3E5
|
||||||
|
|
||||||
|
[Hacks]
|
||||||
|
transparent_ktitle_label=true
|
||||||
|
transparent_dolphin_view=true
|
||||||
|
transparent_pcmanfm_sidepane=true
|
||||||
|
blur_translucent=false
|
||||||
|
transparent_menutitle=true
|
||||||
|
respect_darkness=true
|
||||||
|
kcapacitybar_as_progressbar=true
|
||||||
|
force_size_grip=true
|
||||||
|
iconless_pushbutton=false
|
||||||
|
iconless_menu=false
|
||||||
|
disabled_icon_opacity=100
|
||||||
|
lxqtmainmenu_iconsize=16
|
||||||
|
normal_default_pushbutton=true
|
||||||
|
single_top_toolbar=true
|
||||||
|
tint_on_mouseover=0
|
||||||
|
transparent_pcmanfm_view=true
|
||||||
|
no_selection_tint=true
|
||||||
|
transparent_arrow_button=true
|
||||||
|
middle_click_scroll=false
|
||||||
|
opaque_colors=false
|
||||||
|
kinetic_scrolling=false
|
||||||
|
scroll_jump_workaround=true
|
||||||
|
centered_forms=false
|
||||||
|
noninteger_translucency=false
|
||||||
|
style_vertical_toolbars=false
|
||||||
|
blur_only_active_window=true
|
||||||
|
|
||||||
|
[PanelButtonCommand]
|
||||||
|
frame=true
|
||||||
|
frame.element=button
|
||||||
|
frame.top=6
|
||||||
|
frame.bottom=6
|
||||||
|
frame.left=6
|
||||||
|
frame.right=6
|
||||||
|
interior=true
|
||||||
|
interior.element=button
|
||||||
|
indicator.size=8
|
||||||
|
text.normal.color=#DEE3E5
|
||||||
|
text.focus.color=#DEE3E5
|
||||||
|
text.press.color=white
|
||||||
|
text.toggle.color=#ffffff
|
||||||
|
text.shadow=0
|
||||||
|
text.margin=4
|
||||||
|
text.iconspacing=4
|
||||||
|
indicator.element=arrow
|
||||||
|
frame.expansion=0
|
||||||
|
|
||||||
|
[PanelButtonTool]
|
||||||
|
inherits=PanelButtonCommand
|
||||||
|
text.normal.color=#DEE3E5
|
||||||
|
text.focus.color=#DEE3E5
|
||||||
|
text.press.color=white
|
||||||
|
text.toggle.color=#ffffff
|
||||||
|
text.bold=false
|
||||||
|
indicator.element=arrow
|
||||||
|
indicator.size=8
|
||||||
|
frame.expansion=0
|
||||||
|
|
||||||
|
[ToolbarButton]
|
||||||
|
frame=true
|
||||||
|
frame.element=tbutton
|
||||||
|
interior.element=tbutton
|
||||||
|
frame.top=16
|
||||||
|
frame.bottom=16
|
||||||
|
frame.left=16
|
||||||
|
frame.right=16
|
||||||
|
indicator.element=tarrow
|
||||||
|
text.normal.color=#DEE3E5
|
||||||
|
text.focus.color=#DEE3E5
|
||||||
|
text.press.color=white
|
||||||
|
text.toggle.color=white
|
||||||
|
text.bold=false
|
||||||
|
frame.expansion=32
|
||||||
|
|
||||||
|
[Dock]
|
||||||
|
inherits=PanelButtonCommand
|
||||||
|
interior.element=dock
|
||||||
|
frame.element=dock
|
||||||
|
frame.top=1
|
||||||
|
frame.bottom=1
|
||||||
|
frame.left=1
|
||||||
|
frame.right=1
|
||||||
|
text.normal.color=#DEE3E5
|
||||||
|
|
||||||
|
[DockTitle]
|
||||||
|
inherits=PanelButtonCommand
|
||||||
|
frame=false
|
||||||
|
interior=false
|
||||||
|
text.normal.color=#DEE3E5
|
||||||
|
text.focus.color=#DEE3E5
|
||||||
|
text.bold=false
|
||||||
|
|
||||||
|
[IndicatorSpinBox]
|
||||||
|
inherits=PanelButtonCommand
|
||||||
|
frame=true
|
||||||
|
interior=true
|
||||||
|
frame.top=2
|
||||||
|
frame.bottom=2
|
||||||
|
frame.left=2
|
||||||
|
frame.right=2
|
||||||
|
indicator.element=spin
|
||||||
|
indicator.size=8
|
||||||
|
text.normal.color=#DEE3E5
|
||||||
|
text.margin.top=2
|
||||||
|
text.margin.bottom=2
|
||||||
|
text.margin.left=2
|
||||||
|
text.margin.right=2
|
||||||
|
|
||||||
|
[RadioButton]
|
||||||
|
inherits=PanelButtonCommand
|
||||||
|
frame=false
|
||||||
|
interior.element=radio
|
||||||
|
text.normal.color=#DEE3E5
|
||||||
|
text.focus.color=#DEE3E5
|
||||||
|
min_width=+0.3font
|
||||||
|
min_height=+0.3font
|
||||||
|
|
||||||
|
[CheckBox]
|
||||||
|
inherits=PanelButtonCommand
|
||||||
|
frame=false
|
||||||
|
interior.element=checkbox
|
||||||
|
text.normal.color=#DEE3E5
|
||||||
|
text.focus.color=#DEE3E5
|
||||||
|
min_width=+0.3font
|
||||||
|
min_height=+0.3font
|
||||||
|
|
||||||
|
[Focus]
|
||||||
|
inherits=PanelButtonCommand
|
||||||
|
frame=true
|
||||||
|
frame.element=focus
|
||||||
|
frame.top=2
|
||||||
|
frame.bottom=2
|
||||||
|
frame.left=2
|
||||||
|
frame.right=2
|
||||||
|
frame.patternsize=14
|
||||||
|
|
||||||
|
[GenericFrame]
|
||||||
|
inherits=PanelButtonCommand
|
||||||
|
frame=true
|
||||||
|
interior=false
|
||||||
|
frame.element=common
|
||||||
|
interior.element=common
|
||||||
|
frame.top=1
|
||||||
|
frame.bottom=1
|
||||||
|
frame.left=1
|
||||||
|
frame.right=1
|
||||||
|
|
||||||
|
[LineEdit]
|
||||||
|
inherits=PanelButtonCommand
|
||||||
|
frame.element=lineedit
|
||||||
|
interior.element=lineedit
|
||||||
|
frame.top=6
|
||||||
|
frame.bottom=6
|
||||||
|
frame.left=6
|
||||||
|
frame.right=6
|
||||||
|
text.margin.top=2
|
||||||
|
text.margin.bottom=2
|
||||||
|
text.margin.left=2
|
||||||
|
text.margin.right=2
|
||||||
|
|
||||||
|
[ToolbarLineEdit]
|
||||||
|
frame.element=lineedit
|
||||||
|
interior.element=lineedit
|
||||||
|
|
||||||
|
[DropDownButton]
|
||||||
|
inherits=PanelButtonCommand
|
||||||
|
indicator.element=arrow-down
|
||||||
|
|
||||||
|
[IndicatorArrow]
|
||||||
|
indicator.element=arrow
|
||||||
|
indicator.size=8
|
||||||
|
|
||||||
|
[ToolboxTab]
|
||||||
|
inherits=PanelButtonCommand
|
||||||
|
text.normal.color=#DEE3E5
|
||||||
|
text.press.color=#dfdfdf
|
||||||
|
text.focus.color=#DEE3E5
|
||||||
|
|
||||||
|
[Tab]
|
||||||
|
inherits=PanelButtonCommand
|
||||||
|
interior.element=tab
|
||||||
|
text.margin.left=8
|
||||||
|
text.margin.right=8
|
||||||
|
text.margin.top=0
|
||||||
|
text.margin.bottom=0
|
||||||
|
frame.element=tab
|
||||||
|
indicator.element=tab
|
||||||
|
indicator.size=22
|
||||||
|
frame.top=8
|
||||||
|
frame.bottom=8
|
||||||
|
frame.left=8
|
||||||
|
frame.right=8
|
||||||
|
text.normal.color=#DEE3E5
|
||||||
|
text.focus.color=#DEE3E5
|
||||||
|
text.press.color=white
|
||||||
|
text.toggle.color=white
|
||||||
|
frame.expansion=0
|
||||||
|
text.bold=false
|
||||||
|
|
||||||
|
[TabFrame]
|
||||||
|
inherits=PanelButtonCommand
|
||||||
|
frame.element=tabframe
|
||||||
|
interior.element=tabframe
|
||||||
|
frame.top=6
|
||||||
|
frame.bottom=6
|
||||||
|
frame.left=6
|
||||||
|
frame.right=6
|
||||||
|
|
||||||
|
[TreeExpander]
|
||||||
|
inherits=PanelButtonCommand
|
||||||
|
indicator.size=8
|
||||||
|
indicator.element=tree
|
||||||
|
|
||||||
|
[HeaderSection]
|
||||||
|
inherits=PanelButtonCommand
|
||||||
|
interior.element=header
|
||||||
|
frame.element=header
|
||||||
|
frame.top=0
|
||||||
|
frame.bottom=1
|
||||||
|
frame.left=1
|
||||||
|
frame.right=1
|
||||||
|
text.normal.color=#DEE3E5
|
||||||
|
text.focus.color=#DEE3E5
|
||||||
|
text.press.color=white
|
||||||
|
text.toggle.color=white
|
||||||
|
frame.expansion=0
|
||||||
|
|
||||||
|
[SizeGrip]
|
||||||
|
indicator.element=resize-grip
|
||||||
|
|
||||||
|
[Toolbar]
|
||||||
|
inherits=PanelButtonCommand
|
||||||
|
indicator.element=toolbar
|
||||||
|
indicator.size=5
|
||||||
|
text.margin=0
|
||||||
|
interior.element=menubar
|
||||||
|
frame.element=menubar
|
||||||
|
text.normal.color=#DEE3E5
|
||||||
|
text.focus.color=#DEE3E5
|
||||||
|
text.press.color=#dfdfdf
|
||||||
|
text.toggle.color=white
|
||||||
|
frame.left=6
|
||||||
|
frame.right=6
|
||||||
|
frame.top=0
|
||||||
|
frame.bottom=1
|
||||||
|
frame.expansion=0
|
||||||
|
|
||||||
|
[Slider]
|
||||||
|
inherits=PanelButtonCommand
|
||||||
|
frame.element=slider
|
||||||
|
focusFrame=true
|
||||||
|
interior.element=slider
|
||||||
|
frame.top=3
|
||||||
|
frame.bottom=3
|
||||||
|
frame.left=3
|
||||||
|
frame.right=3
|
||||||
|
|
||||||
|
[SliderCursor]
|
||||||
|
inherits=PanelButtonCommand
|
||||||
|
frame=false
|
||||||
|
interior.element=slidercursor
|
||||||
|
|
||||||
|
[Progressbar]
|
||||||
|
inherits=PanelButtonCommand
|
||||||
|
frame.element=progress
|
||||||
|
interior.element=progress
|
||||||
|
text.margin=0
|
||||||
|
text.normal.color=#DEE3E5
|
||||||
|
text.focus.color=#DEE3E5
|
||||||
|
text.press.color=#dfdfdf
|
||||||
|
text.toggle.color=#dfdfdf
|
||||||
|
text.bold=false
|
||||||
|
frame.expansion=8
|
||||||
|
|
||||||
|
[ProgressbarContents]
|
||||||
|
inherits=PanelButtonCommand
|
||||||
|
frame=true
|
||||||
|
frame.element=progress-pattern
|
||||||
|
interior.element=progress-pattern
|
||||||
|
|
||||||
|
[ItemView]
|
||||||
|
inherits=PanelButtonCommand
|
||||||
|
text.margin=0
|
||||||
|
frame.element=itemview
|
||||||
|
interior.element=itemview
|
||||||
|
frame.top=4
|
||||||
|
frame.bottom=4
|
||||||
|
frame.left=4
|
||||||
|
frame.right=4
|
||||||
|
text.margin.top=0
|
||||||
|
text.margin.bottom=0
|
||||||
|
text.margin.left=8
|
||||||
|
text.margin.right=8
|
||||||
|
text.normal.color=#DEE3E5
|
||||||
|
text.focus.color=#DEE3E5
|
||||||
|
text.press.color=#ffffff
|
||||||
|
text.toggle.color=#ffffff
|
||||||
|
min_width=+0.3font
|
||||||
|
min_height=+0.3font
|
||||||
|
frame.expansion=0
|
||||||
|
|
||||||
|
[Splitter]
|
||||||
|
interior.element=splitter
|
||||||
|
frame=false
|
||||||
|
indicator.size=0
|
||||||
|
|
||||||
|
[Scrollbar]
|
||||||
|
inherits=PanelButtonCommand
|
||||||
|
indicator.element=arrow
|
||||||
|
indicator.size=12
|
||||||
|
|
||||||
|
[ScrollbarSlider]
|
||||||
|
inherits=PanelButtonCommand
|
||||||
|
frame.element=scrollbarslider
|
||||||
|
interior=false
|
||||||
|
frame.left=5
|
||||||
|
frame.right=5
|
||||||
|
frame.top=5
|
||||||
|
frame.bottom=5
|
||||||
|
indicator.element=grip
|
||||||
|
indicator.size=12
|
||||||
|
|
||||||
|
[ScrollbarGroove]
|
||||||
|
inherits=PanelButtonCommand
|
||||||
|
interior=false
|
||||||
|
frame=false
|
||||||
|
|
||||||
|
[Menu]
|
||||||
|
inherits=PanelButtonCommand
|
||||||
|
frame.top=10
|
||||||
|
frame.bottom=10
|
||||||
|
frame.left=10
|
||||||
|
frame.right=10
|
||||||
|
frame.element=menu
|
||||||
|
interior.element=menu
|
||||||
|
text.normal.color=#DEE3E5
|
||||||
|
text.shadow=false
|
||||||
|
frame.expansion=0
|
||||||
|
text.bold=false
|
||||||
|
|
||||||
|
[MenuItem]
|
||||||
|
inherits=PanelButtonCommand
|
||||||
|
frame=true
|
||||||
|
frame.element=menuitem
|
||||||
|
interior.element=menuitem
|
||||||
|
indicator.element=menuitem
|
||||||
|
text.normal.color=#DEE3E5
|
||||||
|
text.focus.color=#DEE3E5
|
||||||
|
text.margin.top=0
|
||||||
|
text.margin.bottom=0
|
||||||
|
text.margin.left=6
|
||||||
|
text.margin.right=6
|
||||||
|
frame.top=4
|
||||||
|
frame.bottom=4
|
||||||
|
frame.left=4
|
||||||
|
frame.right=4
|
||||||
|
text.bold=false
|
||||||
|
frame.expansion=0
|
||||||
|
|
||||||
|
[MenuBar]
|
||||||
|
inherits=PanelButtonCommand
|
||||||
|
frame.element=menubar
|
||||||
|
interior.element=menubar
|
||||||
|
frame.bottom=0
|
||||||
|
text.normal.color=#DEE3E5
|
||||||
|
text.focus.color=#DEE3E5
|
||||||
|
text.press.color=#ffffff
|
||||||
|
text.toggle.color=#ffffff
|
||||||
|
frame.expansion=0
|
||||||
|
text.bold=false
|
||||||
|
|
||||||
|
[MenuBarItem]
|
||||||
|
inherits=PanelButtonCommand
|
||||||
|
interior=true
|
||||||
|
interior.element=menubaritem
|
||||||
|
frame.element=menubaritem
|
||||||
|
frame.top=2
|
||||||
|
frame.bottom=2
|
||||||
|
frame.left=2
|
||||||
|
frame.right=2
|
||||||
|
text.margin.left=4
|
||||||
|
text.margin.right=4
|
||||||
|
text.margin.top=0
|
||||||
|
text.margin.bottom=0
|
||||||
|
text.normal.color=#DEE3E5
|
||||||
|
text.focus.color=#DEE3E5
|
||||||
|
text.press.color=#ffffff
|
||||||
|
text.toggle.color=#ffffff
|
||||||
|
text.bold=false
|
||||||
|
min_width=+0.3font
|
||||||
|
min_height=+0.3font
|
||||||
|
frame.expansion=0
|
||||||
|
|
||||||
|
[TitleBar]
|
||||||
|
inherits=PanelButtonCommand
|
||||||
|
frame=false
|
||||||
|
text.margin.top=2
|
||||||
|
text.margin.bottom=2
|
||||||
|
text.margin.left=2
|
||||||
|
text.margin.right=2
|
||||||
|
interior.element=titlebar
|
||||||
|
indicator.size=16
|
||||||
|
indicator.element=mdi
|
||||||
|
text.normal.color=#DEE3E5
|
||||||
|
text.focus.color=#DEE3E5
|
||||||
|
text.bold=false
|
||||||
|
text.italic=true
|
||||||
|
frame.expansion=0
|
||||||
|
|
||||||
|
[ComboBox]
|
||||||
|
inherits=PanelButtonCommand
|
||||||
|
frame.element=combo
|
||||||
|
interior.element=combo
|
||||||
|
frame.top=6
|
||||||
|
frame.bottom=6
|
||||||
|
frame.left=6
|
||||||
|
frame.right=6
|
||||||
|
text.margin.top=2
|
||||||
|
text.margin.bottom=2
|
||||||
|
text.margin.left=2
|
||||||
|
text.margin.right=2
|
||||||
|
text.focus.color=#DEE3E5
|
||||||
|
text.press.color=#dfdfdf
|
||||||
|
text.toggle.color=white
|
||||||
|
|
||||||
|
[GroupBox]
|
||||||
|
inherits=GenericFrame
|
||||||
|
frame=false
|
||||||
|
text.shadow=0
|
||||||
|
text.margin=0
|
||||||
|
text.normal.color=#DEE3E5
|
||||||
|
text.focus.color=#DEE3E5
|
||||||
|
text.bold=false
|
||||||
|
frame.expansion=0
|
||||||
|
|
||||||
|
[TabBarFrame]
|
||||||
|
inherits=GenericFrame
|
||||||
|
frame=false
|
||||||
|
frame.element=tabBarFrame
|
||||||
|
interior=false
|
||||||
|
frame.top=0
|
||||||
|
frame.bottom=0
|
||||||
|
frame.left=0
|
||||||
|
frame.right=0
|
||||||
|
|
||||||
|
[ToolTip]
|
||||||
|
inherits=GenericFrame
|
||||||
|
frame.top=6
|
||||||
|
frame.bottom=6
|
||||||
|
frame.left=6
|
||||||
|
frame.right=6
|
||||||
|
interior=true
|
||||||
|
text.shadow=0
|
||||||
|
text.margin=6
|
||||||
|
interior.element=tooltip
|
||||||
|
frame.element=tooltip
|
||||||
|
frame.expansion=6
|
||||||
|
|
||||||
|
[StatusBar]
|
||||||
|
inherits=GenericFrame
|
||||||
|
frame=false
|
||||||
|
interior=false
|
||||||
|
|
||||||
|
[Window]
|
||||||
|
interior=true
|
||||||
|
interior.element=window
|
||||||
|
frame=true
|
||||||
|
frame.element=window
|
||||||
|
frame.bottom=10
|
||||||
|
frame.top=10
|
||||||
|
|
||||||
|
text.disabled.color=#0F1416
|
||||||
File diff suppressed because it is too large
Load Diff
|
After Width: | Height: | Size: 168 KiB |
@@ -0,0 +1,2 @@
|
|||||||
|
[General]
|
||||||
|
theme=MaterialAdw
|
||||||
@@ -10,7 +10,7 @@ STATE_DIR="$XDG_STATE_HOME/ags"
|
|||||||
term_alpha=100 #Set this to < 100 make all your terminals transparent
|
term_alpha=100 #Set this to < 100 make all your terminals transparent
|
||||||
# sleep 0 # idk i wanted some delay or colors dont get applied properly
|
# sleep 0 # idk i wanted some delay or colors dont get applied properly
|
||||||
if [ ! -d "$CACHE_DIR"/user/generated ]; then
|
if [ ! -d "$CACHE_DIR"/user/generated ]; then
|
||||||
mkdir -p "$CACHE_DIR"/user/generated
|
mkdir -p "$CACHE_DIR"/user/generated
|
||||||
fi
|
fi
|
||||||
cd "$CONFIG_DIR" || exit
|
cd "$CONFIG_DIR" || exit
|
||||||
|
|
||||||
@@ -38,145 +38,150 @@ transparentize() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
get_light_dark() {
|
get_light_dark() {
|
||||||
lightdark=""
|
lightdark=""
|
||||||
if [ ! -f "$STATE_DIR/user/colormode.txt" ]; then
|
if [ ! -f "$STATE_DIR/user/colormode.txt" ]; then
|
||||||
echo "" > "$STATE_DIR/user/colormode.txt"
|
echo "" >"$STATE_DIR/user/colormode.txt"
|
||||||
else
|
else
|
||||||
lightdark=$(sed -n '1p' "$STATE_DIR/user/colormode.txt")
|
lightdark=$(sed -n '1p' "$STATE_DIR/user/colormode.txt")
|
||||||
fi
|
fi
|
||||||
echo "$lightdark"
|
echo "$lightdark"
|
||||||
}
|
}
|
||||||
|
|
||||||
apply_fuzzel() {
|
apply_fuzzel() {
|
||||||
# Check if scripts/templates/fuzzel/fuzzel.ini exists
|
# Check if scripts/templates/fuzzel/fuzzel.ini exists
|
||||||
if [ ! -f "scripts/templates/fuzzel/fuzzel.ini" ]; then
|
if [ ! -f "scripts/templates/fuzzel/fuzzel.ini" ]; then
|
||||||
echo "Template file not found for Fuzzel. Skipping that."
|
echo "Template file not found for Fuzzel. Skipping that."
|
||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
# Copy template
|
# Copy template
|
||||||
mkdir -p "$CACHE_DIR"/user/generated/fuzzel
|
mkdir -p "$CACHE_DIR"/user/generated/fuzzel
|
||||||
cp "scripts/templates/fuzzel/fuzzel.ini" "$CACHE_DIR"/user/generated/fuzzel/fuzzel.ini
|
cp "scripts/templates/fuzzel/fuzzel.ini" "$CACHE_DIR"/user/generated/fuzzel/fuzzel.ini
|
||||||
# Apply colors
|
# Apply colors
|
||||||
for i in "${!colorlist[@]}"; do
|
for i in "${!colorlist[@]}"; do
|
||||||
sed -i "s/{{ ${colorlist[$i]} }}/${colorvalues[$i]#\#}/g" "$CACHE_DIR"/user/generated/fuzzel/fuzzel.ini
|
sed -i "s/{{ ${colorlist[$i]} }}/${colorvalues[$i]#\#}/g" "$CACHE_DIR"/user/generated/fuzzel/fuzzel.ini
|
||||||
done
|
done
|
||||||
|
|
||||||
cp "$CACHE_DIR"/user/generated/fuzzel/fuzzel.ini "$XDG_CONFIG_HOME"/fuzzel/fuzzel.ini
|
cp "$CACHE_DIR"/user/generated/fuzzel/fuzzel.ini "$XDG_CONFIG_HOME"/fuzzel/fuzzel.ini
|
||||||
}
|
}
|
||||||
|
|
||||||
apply_term() {
|
apply_term() {
|
||||||
# Check if terminal escape sequence template exists
|
# Check if terminal escape sequence template exists
|
||||||
if [ ! -f "scripts/templates/terminal/sequences.txt" ]; then
|
if [ ! -f "scripts/templates/terminal/sequences.txt" ]; then
|
||||||
echo "Template file not found for Terminal. Skipping that."
|
echo "Template file not found for Terminal. Skipping that."
|
||||||
return
|
return
|
||||||
|
fi
|
||||||
|
# Copy template
|
||||||
|
mkdir -p "$CACHE_DIR"/user/generated/terminal
|
||||||
|
cp "scripts/templates/terminal/sequences.txt" "$CACHE_DIR"/user/generated/terminal/sequences.txt
|
||||||
|
# Apply colors
|
||||||
|
for i in "${!colorlist[@]}"; do
|
||||||
|
sed -i "s/${colorlist[$i]} #/${colorvalues[$i]#\#}/g" "$CACHE_DIR"/user/generated/terminal/sequences.txt
|
||||||
|
done
|
||||||
|
|
||||||
|
sed -i "s/\$alpha/$term_alpha/g" "$CACHE_DIR/user/generated/terminal/sequences.txt"
|
||||||
|
|
||||||
|
for file in /dev/pts/*; do
|
||||||
|
if [[ $file =~ ^/dev/pts/[0-9]+$ ]]; then
|
||||||
|
cat "$CACHE_DIR"/user/generated/terminal/sequences.txt >"$file"
|
||||||
fi
|
fi
|
||||||
# Copy template
|
done
|
||||||
mkdir -p "$CACHE_DIR"/user/generated/terminal
|
|
||||||
cp "scripts/templates/terminal/sequences.txt" "$CACHE_DIR"/user/generated/terminal/sequences.txt
|
|
||||||
# Apply colors
|
|
||||||
for i in "${!colorlist[@]}"; do
|
|
||||||
sed -i "s/${colorlist[$i]} #/${colorvalues[$i]#\#}/g" "$CACHE_DIR"/user/generated/terminal/sequences.txt
|
|
||||||
done
|
|
||||||
|
|
||||||
sed -i "s/\$alpha/$term_alpha/g" "$CACHE_DIR/user/generated/terminal/sequences.txt"
|
|
||||||
|
|
||||||
for file in /dev/pts/*; do
|
|
||||||
if [[ $file =~ ^/dev/pts/[0-9]+$ ]]; then
|
|
||||||
cat "$CACHE_DIR"/user/generated/terminal/sequences.txt > "$file"
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
}
|
}
|
||||||
|
|
||||||
apply_hyprland() {
|
apply_hyprland() {
|
||||||
# Check if scripts/templates/hypr/hyprland/colors.conf exists
|
# Check if scripts/templates/hypr/hyprland/colors.conf exists
|
||||||
if [ ! -f "scripts/templates/hypr/hyprland/colors.conf" ]; then
|
if [ ! -f "scripts/templates/hypr/hyprland/colors.conf" ]; then
|
||||||
echo "Template file not found for Hyprland colors. Skipping that."
|
echo "Template file not found for Hyprland colors. Skipping that."
|
||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
# Copy template
|
# Copy template
|
||||||
mkdir -p "$CACHE_DIR"/user/generated/hypr/hyprland
|
mkdir -p "$CACHE_DIR"/user/generated/hypr/hyprland
|
||||||
cp "scripts/templates/hypr/hyprland/colors.conf" "$CACHE_DIR"/user/generated/hypr/hyprland/colors.conf
|
cp "scripts/templates/hypr/hyprland/colors.conf" "$CACHE_DIR"/user/generated/hypr/hyprland/colors.conf
|
||||||
# Apply colors
|
# Apply colors
|
||||||
for i in "${!colorlist[@]}"; do
|
for i in "${!colorlist[@]}"; do
|
||||||
sed -i "s/{{ ${colorlist[$i]} }}/${colorvalues[$i]#\#}/g" "$CACHE_DIR"/user/generated/hypr/hyprland/colors.conf
|
sed -i "s/{{ ${colorlist[$i]} }}/${colorvalues[$i]#\#}/g" "$CACHE_DIR"/user/generated/hypr/hyprland/colors.conf
|
||||||
done
|
done
|
||||||
|
|
||||||
cp "$CACHE_DIR"/user/generated/hypr/hyprland/colors.conf "$XDG_CONFIG_HOME"/hypr/hyprland/colors.conf
|
cp "$CACHE_DIR"/user/generated/hypr/hyprland/colors.conf "$XDG_CONFIG_HOME"/hypr/hyprland/colors.conf
|
||||||
}
|
}
|
||||||
|
|
||||||
apply_hyprlock() {
|
apply_hyprlock() {
|
||||||
# Check if scripts/templates/hypr/hyprlock.conf exists
|
# Check if scripts/templates/hypr/hyprlock.conf exists
|
||||||
if [ ! -f "scripts/templates/hypr/hyprlock.conf" ]; then
|
if [ ! -f "scripts/templates/hypr/hyprlock.conf" ]; then
|
||||||
echo "Template file not found for hyprlock. Skipping that."
|
echo "Template file not found for hyprlock. Skipping that."
|
||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
# Copy template
|
# Copy template
|
||||||
mkdir -p "$CACHE_DIR"/user/generated/hypr/
|
mkdir -p "$CACHE_DIR"/user/generated/hypr/
|
||||||
cp "scripts/templates/hypr/hyprlock.conf" "$CACHE_DIR"/user/generated/hypr/hyprlock.conf
|
cp "scripts/templates/hypr/hyprlock.conf" "$CACHE_DIR"/user/generated/hypr/hyprlock.conf
|
||||||
# Apply colors
|
# Apply colors
|
||||||
# sed -i "s/{{ SWWW_WALL }}/${wallpath_png}/g" "$CACHE_DIR"/user/generated/hypr/hyprlock.conf
|
# sed -i "s/{{ SWWW_WALL }}/${wallpath_png}/g" "$CACHE_DIR"/user/generated/hypr/hyprlock.conf
|
||||||
for i in "${!colorlist[@]}"; do
|
for i in "${!colorlist[@]}"; do
|
||||||
sed -i "s/{{ ${colorlist[$i]} }}/${colorvalues[$i]#\#}/g" "$CACHE_DIR"/user/generated/hypr/hyprlock.conf
|
sed -i "s/{{ ${colorlist[$i]} }}/${colorvalues[$i]#\#}/g" "$CACHE_DIR"/user/generated/hypr/hyprlock.conf
|
||||||
done
|
done
|
||||||
|
|
||||||
cp "$CACHE_DIR"/user/generated/hypr/hyprlock.conf "$XDG_CONFIG_HOME"/hypr/hyprlock.conf
|
cp "$CACHE_DIR"/user/generated/hypr/hyprlock.conf "$XDG_CONFIG_HOME"/hypr/hyprlock.conf
|
||||||
}
|
}
|
||||||
|
|
||||||
apply_lightdark() {
|
apply_lightdark() {
|
||||||
lightdark=$(get_light_dark)
|
lightdark=$(get_light_dark)
|
||||||
if [ "$lightdark" = "light" ]; then
|
if [ "$lightdark" = "light" ]; then
|
||||||
gsettings set org.gnome.desktop.interface color-scheme 'prefer-light'
|
gsettings set org.gnome.desktop.interface color-scheme 'prefer-light'
|
||||||
else
|
else
|
||||||
gsettings set org.gnome.desktop.interface color-scheme 'prefer-dark'
|
gsettings set org.gnome.desktop.interface color-scheme 'prefer-dark'
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
apply_gtk() { # Using gradience-cli
|
apply_gtk() { # Using gradience-cli
|
||||||
usegradience=$(sed -n '4p' "$STATE_DIR/user/colormode.txt")
|
usegradience=$(sed -n '4p' "$STATE_DIR/user/colormode.txt")
|
||||||
if [[ "$usegradience" = "nogradience" ]]; then
|
if [[ "$usegradience" = "nogradience" ]]; then
|
||||||
rm "$XDG_CONFIG_HOME/gtk-3.0/gtk.css"
|
rm "$XDG_CONFIG_HOME/gtk-3.0/gtk.css"
|
||||||
rm "$XDG_CONFIG_HOME/gtk-4.0/gtk.css"
|
rm "$XDG_CONFIG_HOME/gtk-4.0/gtk.css"
|
||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Copy template
|
# Copy template
|
||||||
mkdir -p "$CACHE_DIR"/user/generated/gradience
|
mkdir -p "$CACHE_DIR"/user/generated/gradience
|
||||||
cp "scripts/templates/gradience/preset.json" "$CACHE_DIR"/user/generated/gradience/preset.json
|
cp "scripts/templates/gradience/preset.json" "$CACHE_DIR"/user/generated/gradience/preset.json
|
||||||
|
|
||||||
# Apply colors
|
# Apply colors
|
||||||
for i in "${!colorlist[@]}"; do
|
for i in "${!colorlist[@]}"; do
|
||||||
sed -i "s/{{ ${colorlist[$i]} }}/${colorvalues[$i]}/g" "$CACHE_DIR"/user/generated/gradience/preset.json
|
sed -i "s/{{ ${colorlist[$i]} }}/${colorvalues[$i]}/g" "$CACHE_DIR"/user/generated/gradience/preset.json
|
||||||
done
|
done
|
||||||
|
|
||||||
mkdir -p "$XDG_CONFIG_HOME/presets" # create gradience presets folder
|
mkdir -p "$XDG_CONFIG_HOME/presets" # create gradience presets folder
|
||||||
gradience-cli apply -p "$CACHE_DIR"/user/generated/gradience/preset.json --gtk both
|
gradience-cli apply -p "$CACHE_DIR"/user/generated/gradience/preset.json --gtk both
|
||||||
|
|
||||||
# And set GTK theme manually as Gradience defaults to light adw-gtk3
|
# And set GTK theme manually as Gradience defaults to light adw-gtk3
|
||||||
# (which is unreadable when broken when you use dark mode)
|
# (which is unreadable when broken when you use dark mode)
|
||||||
lightdark=$(get_light_dark)
|
lightdark=$(get_light_dark)
|
||||||
if [ "$lightdark" = "light" ]; then
|
if [ "$lightdark" = "light" ]; then
|
||||||
gsettings set org.gnome.desktop.interface gtk-theme 'adw-gtk3'
|
gsettings set org.gnome.desktop.interface gtk-theme 'adw-gtk3'
|
||||||
else
|
else
|
||||||
gsettings set org.gnome.desktop.interface gtk-theme adw-gtk3-dark
|
gsettings set org.gnome.desktop.interface gtk-theme adw-gtk3-dark
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
apply_ags() {
|
apply_ags() {
|
||||||
ags run-js "handleStyles(false);"
|
ags run-js "handleStyles(false);"
|
||||||
ags run-js 'openColorScheme.value = true; Utils.timeout(2000, () => openColorScheme.value = false);'
|
ags run-js 'openColorScheme.value = true; Utils.timeout(2000, () => openColorScheme.value = false);'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
apply_qt() {
|
||||||
|
sh "$CONFIG_DIR/scripts/kvantum/materialQT.sh" # generate kvantum theme
|
||||||
|
python "$CONFIG_DIR/scripts/kvantum/changeAdwColors.py" # apply config colors
|
||||||
|
}
|
||||||
|
|
||||||
colornames=$(cat $STATE_DIR/scss/_material.scss | cut -d: -f1)
|
colornames=$(cat $STATE_DIR/scss/_material.scss | cut -d: -f1)
|
||||||
colorstrings=$(cat $STATE_DIR/scss/_material.scss | cut -d: -f2 | cut -d ' ' -f2 | cut -d ";" -f1)
|
colorstrings=$(cat $STATE_DIR/scss/_material.scss | cut -d: -f2 | cut -d ' ' -f2 | cut -d ";" -f1)
|
||||||
IFS=$'\n'
|
IFS=$'\n'
|
||||||
colorlist=( $colornames ) # Array of color names
|
colorlist=($colornames) # Array of color names
|
||||||
colorvalues=( $colorstrings ) # Array of color values
|
colorvalues=($colorstrings) # Array of color values
|
||||||
|
|
||||||
apply_ags &
|
apply_ags &
|
||||||
apply_hyprland &
|
apply_hyprland &
|
||||||
apply_hyprlock &
|
apply_hyprlock &
|
||||||
apply_lightdark &
|
apply_lightdark &
|
||||||
apply_gtk &
|
apply_gtk &
|
||||||
|
apply_qt &
|
||||||
apply_fuzzel &
|
apply_fuzzel &
|
||||||
apply_term &
|
apply_term &
|
||||||
|
|||||||
@@ -0,0 +1,79 @@
|
|||||||
|
import re
|
||||||
|
import os
|
||||||
|
|
||||||
|
def read_scss(file_path):
|
||||||
|
"""Reads an SCSS file and returns a dictionary of color variables."""
|
||||||
|
colors = {}
|
||||||
|
with open(file_path, 'r') as file:
|
||||||
|
for line in file:
|
||||||
|
match = re.match(r'\$(\w+):\s*(#[0-9A-Fa-f]{6});', line.strip())
|
||||||
|
if match:
|
||||||
|
variable_name, color = match.groups()
|
||||||
|
colors[variable_name] = color
|
||||||
|
return colors
|
||||||
|
|
||||||
|
def update_svg_colors(svg_path, old_to_new_colors, output_path):
|
||||||
|
"""
|
||||||
|
Updates the colors in an SVG file based on the provided color map.
|
||||||
|
|
||||||
|
:param svg_path: Path to the SVG file.
|
||||||
|
:param old_to_new_colors: Dictionary mapping old colors to new colors.
|
||||||
|
:param output_path: Path to save the updated SVG file.
|
||||||
|
"""
|
||||||
|
# Read the SVG content
|
||||||
|
with open(svg_path, 'r') as file:
|
||||||
|
svg_content = file.read()
|
||||||
|
|
||||||
|
# Replace old colors with new colors
|
||||||
|
for old_color, new_color in old_to_new_colors.items():
|
||||||
|
svg_content = re.sub(old_color, new_color, svg_content, flags=re.IGNORECASE)
|
||||||
|
|
||||||
|
# Write the updated SVG content to the output file
|
||||||
|
with open(output_path, 'w') as file:
|
||||||
|
file.write(svg_content)
|
||||||
|
|
||||||
|
print(f"SVG colors have been updated and saved to {output_path}!")
|
||||||
|
|
||||||
|
def main():
|
||||||
|
xdg_config_home = os.environ.get("XDG_CONFIG_HOME", os.path.expanduser("~/.config"))
|
||||||
|
xdg_state_home = os.environ.get("XDG_STATE_HOME", os.path.expanduser("~/.local/state"))
|
||||||
|
|
||||||
|
scss_file = os.path.join(xdg_state_home, "ags", "scss", "_material.scss")
|
||||||
|
svg_path = os.path.join(xdg_config_home, "Kvantum", "Colloid", "Colloid.svg")
|
||||||
|
output_path = os.path.join(xdg_config_home, "Kvantum", "MaterialAdw", "MaterialAdw.svg")
|
||||||
|
|
||||||
|
# Read colors from the SCSS file
|
||||||
|
color_data = read_scss(scss_file)
|
||||||
|
|
||||||
|
# Specify the old colors and map them to new colors from the SCSS file
|
||||||
|
old_to_new_colors = {
|
||||||
|
#'#cccccc': color_data['surfaceDim'], # Map old SVG color to new SCSS color
|
||||||
|
#'#666666': color_data['surfaceDim'],
|
||||||
|
'#3c84f7': color_data['primary'],
|
||||||
|
#'#5a5a5a': color_data['neutral_paletteKeyColor'],
|
||||||
|
'#000000': color_data['shadow'],
|
||||||
|
'#f04a50': color_data['error'],
|
||||||
|
'#4285f4': color_data['primaryFixedDim'],
|
||||||
|
'#f2f2f2': color_data['background'],
|
||||||
|
#'#dfdfdf': color_data['surfaceContainerLow'],
|
||||||
|
'#ffffff': color_data['background'],
|
||||||
|
'#1e1e1e': color_data['onPrimaryFixed'],
|
||||||
|
#'#b6b6b6': color_data['surfaceContainer'],
|
||||||
|
'#333': color_data['inverseSurface'],
|
||||||
|
'#212121': color_data['onSecondaryFixed'],
|
||||||
|
'#5b9bf8': color_data['secondaryContainer'],
|
||||||
|
'#26272a': color_data['term7'],
|
||||||
|
#'#b3b3b3': color_data['surfaceBright'],
|
||||||
|
#'#b74aff': color_data['tertiary'],
|
||||||
|
#'#989898': color_data['surfaceContainerHighest'],
|
||||||
|
#'#c1c1c1': color_data['surfaceContainerHigh'],
|
||||||
|
'#444444': color_data['onBackground'],
|
||||||
|
'#333333': color_data['onPrimaryFixed'],
|
||||||
|
}
|
||||||
|
|
||||||
|
# Update the SVG colors
|
||||||
|
update_svg_colors(svg_path, old_to_new_colors, output_path)
|
||||||
|
|
||||||
|
if __name__ == "__main__":
|
||||||
|
main()
|
||||||
|
|
||||||
@@ -0,0 +1,87 @@
|
|||||||
|
import re
|
||||||
|
import os
|
||||||
|
|
||||||
|
def read_scss(file_path):
|
||||||
|
"""Reads an SCSS file and returns a dictionary of color variables."""
|
||||||
|
colors = {}
|
||||||
|
with open(file_path, 'r') as file:
|
||||||
|
for line in file:
|
||||||
|
match = re.match(r'\$(\w+):\s*(#[0-9A-Fa-f]{6});', line.strip())
|
||||||
|
if match:
|
||||||
|
variable_name, color = match.groups()
|
||||||
|
colors[variable_name] = color
|
||||||
|
return colors
|
||||||
|
|
||||||
|
def update_svg_colors(svg_path, old_to_new_colors, output_path):
|
||||||
|
"""
|
||||||
|
Updates the colors in an SVG file based on the provided color map.
|
||||||
|
|
||||||
|
:param svg_path: Path to the SVG file.
|
||||||
|
:param old_to_new_colors: Dictionary mapping old colors to new colors.
|
||||||
|
:param output_path: Path to save the updated SVG file.
|
||||||
|
"""
|
||||||
|
# Read the SVG content
|
||||||
|
with open(svg_path, 'r') as file:
|
||||||
|
svg_content = file.read()
|
||||||
|
|
||||||
|
# Replace old colors with new colors
|
||||||
|
for old_color, new_color in old_to_new_colors.items():
|
||||||
|
svg_content = re.sub(old_color, new_color, svg_content, flags=re.IGNORECASE)
|
||||||
|
|
||||||
|
# Write the updated SVG content to the output file
|
||||||
|
with open(output_path, 'w') as file:
|
||||||
|
file.write(svg_content)
|
||||||
|
|
||||||
|
print(f"SVG colors have been updated and saved to {output_path}!")
|
||||||
|
|
||||||
|
def main():
|
||||||
|
xdg_config_home = os.environ.get("XDG_CONFIG_HOME", os.path.expanduser("~/.config"))
|
||||||
|
xdg_state_home = os.environ.get("XDG_STATE_HOME", os.path.expanduser("~/.local/state"))
|
||||||
|
|
||||||
|
scss_file = os.path.join(xdg_state_home, "ags", "scss", "_material.scss")
|
||||||
|
svg_path = os.path.join(xdg_config_home, "Kvantum", "Colloid", "ColloidDark.svg")
|
||||||
|
output_path = os.path.join(xdg_config_home, "Kvantum", "MaterialAdw", "MaterialAdw.svg")
|
||||||
|
|
||||||
|
# Read colors from the SCSS file
|
||||||
|
color_data = read_scss(scss_file)
|
||||||
|
|
||||||
|
# Specify the old colors and map them to new colors from the SCSS file
|
||||||
|
old_to_new_colors = {
|
||||||
|
#'#525252': color_data['surfaceDim'], # Map old SVG color to new SCSS color
|
||||||
|
#'#666666': color_data['surfaceDim'],
|
||||||
|
'#31363b': color_data['background'],
|
||||||
|
#'#eff0f1': color_data['neutral_paletteKeyColor'],
|
||||||
|
'#000000': color_data['shadow'],
|
||||||
|
'#5b9bf8': color_data['primary'],
|
||||||
|
'#93cee9': color_data['onSecondaryContainer'],
|
||||||
|
'#3daee9': color_data['secondary'],
|
||||||
|
#'#fff': color_data['term10'],
|
||||||
|
#'#5a5a5a': color_data['surfaceVariant'],
|
||||||
|
#'#acb1bc': color_data['onPrimaryFixed'],
|
||||||
|
'#ffffff': color_data['term11'],
|
||||||
|
'#5a616e': color_data['surfaceVariant'],
|
||||||
|
'#f04a50': color_data['error'],
|
||||||
|
'#4285f4': color_data['secondary'],
|
||||||
|
'#242424': color_data['background'],
|
||||||
|
'#2c2c2c': color_data['background'],
|
||||||
|
#'#dfdfdf': color_data['onSurfaceVariant'],
|
||||||
|
#'#646464': color_data['surfaceContainerHighest'],
|
||||||
|
#'#989898': color_data['surfaceContainerHigh'],
|
||||||
|
#'#c1c1c1': color_data['primaryFixedDim'],
|
||||||
|
'#1e1e1e': color_data['background'],
|
||||||
|
'#3c3c3c': color_data['background'],
|
||||||
|
'#26272a': color_data['surfaceBright'],
|
||||||
|
'#000000': color_data['shadow'],
|
||||||
|
'#b74aff': color_data['tertiary'],
|
||||||
|
#'#b6b6b6': color_data['onSurfaceVariant'],
|
||||||
|
'#1a1a1a': color_data['background'],
|
||||||
|
'#333': color_data['term0'],
|
||||||
|
'#212121': color_data['background'],
|
||||||
|
}
|
||||||
|
|
||||||
|
# Update the SVG colors
|
||||||
|
update_svg_colors(svg_path, old_to_new_colors, output_path)
|
||||||
|
|
||||||
|
if __name__ == "__main__":
|
||||||
|
main()
|
||||||
|
|
||||||
@@ -0,0 +1,71 @@
|
|||||||
|
import re
|
||||||
|
import os
|
||||||
|
|
||||||
|
def get_colors_from_scss(scss_file):
|
||||||
|
colors = {}
|
||||||
|
with open(scss_file, 'r') as file:
|
||||||
|
for line in file:
|
||||||
|
match = re.match(r'\$(\w+):\s*(#[0-9A-Fa-f]{6});', line)
|
||||||
|
if match:
|
||||||
|
colors[match.group(1)] = match.group(2)
|
||||||
|
return colors
|
||||||
|
|
||||||
|
def update_config_colors(config_file, colors, mappings):
|
||||||
|
with open(config_file, 'r') as file:
|
||||||
|
config_content = file.read()
|
||||||
|
|
||||||
|
for key, variable in mappings.items():
|
||||||
|
if variable in colors:
|
||||||
|
color = colors[variable]
|
||||||
|
pattern = rf'({key}=)#?\w+\b'
|
||||||
|
new_line = f'\\1{color}'
|
||||||
|
if re.search(pattern, config_content):
|
||||||
|
config_content = re.sub(pattern, new_line, config_content)
|
||||||
|
else:
|
||||||
|
config_content += f"\n{key}={color}"
|
||||||
|
|
||||||
|
with open(config_file, 'w') as file:
|
||||||
|
file.write(config_content)
|
||||||
|
|
||||||
|
if __name__ == "__main__":
|
||||||
|
xdg_config_home = os.environ.get("XDG_CONFIG_HOME", os.path.expanduser("~/.config"))
|
||||||
|
xdg_state_home = os.environ.get("XDG_STATE_HOME", os.path.expanduser("~/.local/state"))
|
||||||
|
|
||||||
|
config_file = os.path.join(xdg_config_home, "Kvantum", "MaterialAdw", "MaterialAdw.kvconfig")
|
||||||
|
scss_file = os.path.join(xdg_state_home, "ags", "scss", "_material.scss")
|
||||||
|
|
||||||
|
# Define your mappings here
|
||||||
|
mappings = {
|
||||||
|
'window.color': 'background',
|
||||||
|
'base.color': 'background',
|
||||||
|
'alt.base.color': 'background',
|
||||||
|
'button.color': 'surfaceContainer',
|
||||||
|
'light.color': 'surfaceContainerLow',
|
||||||
|
'mid.light.color': 'surfaceContainer',
|
||||||
|
'dark.color': 'surfaceContainerHighest',
|
||||||
|
'mid.color': 'surfaceContainerHigh',
|
||||||
|
'highlight.color': 'primary',
|
||||||
|
'inactive.highlight.color': 'primary',
|
||||||
|
'text.color': 'onBackground',
|
||||||
|
'window.text.color': 'onBackground',
|
||||||
|
'button.text.color': 'onBackground',
|
||||||
|
'disabled.text.color': 'onBackground',
|
||||||
|
'tooltip.text.color': 'onBackground',
|
||||||
|
'highlight.text.color': 'onSurface',
|
||||||
|
'link.color': 'tertiary',
|
||||||
|
'link.visited.color': 'tertiaryFixed',
|
||||||
|
'progress.indicator.text.color': 'onBackground',
|
||||||
|
'text.normal.color': 'onBackground',
|
||||||
|
'text.focus.color': 'onBackground',
|
||||||
|
'text.press.color': 'onsecondarycontainer',
|
||||||
|
'text.toggle.color': 'onsecondarycontainer',
|
||||||
|
'text.disabled.color': 'surfaceDim',
|
||||||
|
|
||||||
|
|
||||||
|
# Add more mappings as needed
|
||||||
|
}
|
||||||
|
|
||||||
|
colors = get_colors_from_scss(scss_file)
|
||||||
|
update_config_colors(config_file, colors, mappings)
|
||||||
|
print("Config colors updated successfully!")
|
||||||
|
|
||||||
Executable
+43
@@ -0,0 +1,43 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
XDG_CONFIG_HOME="${XDG_CONFIG_HOME:-$HOME/.config}"
|
||||||
|
XDG_CACHE_HOME="${XDG_CACHE_HOME:-$HOME/.cache}"
|
||||||
|
XDG_STATE_HOME="${XDG_STATE_HOME:-$HOME/.local/state}"
|
||||||
|
CONFIG_DIR="$XDG_CONFIG_HOME/ags"
|
||||||
|
CACHE_DIR="$XDG_CACHE_HOME/ags"
|
||||||
|
STATE_DIR="$XDG_STATE_HOME/ags"
|
||||||
|
|
||||||
|
get_light_dark() {
|
||||||
|
lightdark=""
|
||||||
|
if [ ! -f "$STATE_DIR/user/colormode.txt" ]; then
|
||||||
|
echo "" >"$STATE_DIR/user/colormode.txt"
|
||||||
|
else
|
||||||
|
lightdark=$(sed -n '1p' "$STATE_DIR/user/colormode.txt")
|
||||||
|
fi
|
||||||
|
echo "$lightdark"
|
||||||
|
}
|
||||||
|
|
||||||
|
apply_qt() {
|
||||||
|
# Check if the theme exists
|
||||||
|
FOLDER_PATH="$XDG_CONFIG_HOME/Kvantum/Colloid/"
|
||||||
|
|
||||||
|
if [ ! -d "$FOLDER_PATH" ]; then
|
||||||
|
# Send a notification
|
||||||
|
notify-send "Colloid-kde theme required" " The folder '$FOLDER_PATH' does not exist."
|
||||||
|
exit 1 # Exit the function if the folder does not exist
|
||||||
|
fi
|
||||||
|
|
||||||
|
lightdark=$(get_light_dark)
|
||||||
|
if [ "$lightdark" = "light" ]; then
|
||||||
|
# apply ligght colors
|
||||||
|
cp "$XDG_CONFIG_HOME/Kvantum/Colloid/Colloid.kvconfig" "$XDG_CONFIG_HOME/Kvantum/MaterialAdw/MaterialAdw.kvconfig"
|
||||||
|
python "$CONFIG_DIR/scripts/kvantum/adwsvg.py"
|
||||||
|
|
||||||
|
else
|
||||||
|
#apply dark colors
|
||||||
|
cp "$XDG_CONFIG_HOME/Kvantum/Colloid/ColloidDark.kvconfig" "$XDG_CONFIG_HOME/Kvantum/MaterialAdw/MaterialAdw.kvconfig"
|
||||||
|
python "$CONFIG_DIR/scripts/kvantum/adwsvgDark.py"
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
apply_qt
|
||||||
@@ -5,18 +5,19 @@ pkgdesc='Illogical Impulse Fonts and Theming Dependencies'
|
|||||||
arch=(any)
|
arch=(any)
|
||||||
license=(None)
|
license=(None)
|
||||||
depends=(
|
depends=(
|
||||||
adw-gtk-theme-git
|
adw-gtk-theme-git
|
||||||
qt5ct
|
qt5ct
|
||||||
qt5-wayland
|
qt5-wayland
|
||||||
fontconfig
|
fontconfig
|
||||||
ttf-readex-pro
|
ttf-readex-pro
|
||||||
ttf-jetbrains-mono-nerd
|
ttf-jetbrains-mono-nerd
|
||||||
ttf-material-symbols-variable-git
|
ttf-material-symbols-variable-git
|
||||||
ttf-space-mono-nerd
|
ttf-space-mono-nerd
|
||||||
ttf-rubik-vf
|
ttf-rubik-vf
|
||||||
ttf-gabarito-git
|
ttf-gabarito-git
|
||||||
fish
|
fish
|
||||||
foot
|
foot
|
||||||
starship
|
starship
|
||||||
|
kvantum
|
||||||
|
kvantum-qt5
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
+2
-2
@@ -292,8 +292,8 @@ done
|
|||||||
#####################################################################################
|
#####################################################################################
|
||||||
printf "\e[36m[$0]: Finished. See the \"Import Manually\" folder and grab anything you need.\e[0m\n"
|
printf "\e[36m[$0]: Finished. See the \"Import Manually\" folder and grab anything you need.\e[0m\n"
|
||||||
printf "\n"
|
printf "\n"
|
||||||
printf "\e[36mIf you are new to Hyprland, please read\n"
|
printf "\e[36mIt is recommended to check out\n"
|
||||||
printf "https://end-4.github.io/dots-hyprland-wiki/en/i-i/01setup/#post-installation\n"
|
printf "https://end-4.github.io/dots-hyprland-wiki/en/i-i/01setup/#post-installation \n"
|
||||||
printf "for hints on launching Hyprland.\e[0m\n"
|
printf "for hints on launching Hyprland.\e[0m\n"
|
||||||
printf "\n"
|
printf "\n"
|
||||||
printf "\e[36mIf you are already running Hyprland,\e[0m\n"
|
printf "\e[36mIf you are already running Hyprland,\e[0m\n"
|
||||||
|
|||||||
Reference in New Issue
Block a user