Skip to content

Instantly share code, notes, and snippets.

@quequotion
Last active December 4, 2022 04:25
Show Gist options
  • Save quequotion/a7c2e82451a87a05dbca50e5e8176615 to your computer and use it in GitHub Desktop.
Save quequotion/a7c2e82451a87a05dbca50e5e8176615 to your computer and use it in GitHub Desktop.
[Pantheon {3D,Lite}] Dotfiles
#Configure Input Method
export {{GTK,QT}_IM_MODULE,XMODIFIERS=@im}=fcitx
#GTK Tweaks
export G{TK_{OVERLAY_SCROLLING,CSD},DK_CORE_DEVICE_EVENTS}=1
export GTK_THEME="io.elementary.stylesheet.slate:dark"
export GTK2_RC_FILES="~/.gtkrc-2.0"
export GTK_MODULES="$GTK_MODULES:pantheon-filechooser-module"
#OpenGL tweaks
export __GL_{THREADED_OPTIMIZATIONS,SYNC_TO_VBLANK}=1
export __GL_YIELD="USLEEP"
export __GL_FSAA_MODE=7
export __GL_LOG_MAX_ANISO=1
#QT Conformity
export QT_STYLE_OVERRIDE="io.elementary.stylesheet.slate:dark"
export QT_QPA_PLATFORMTHEME='gnome'
#Cursor
export XCURSOR_THEME=elementary
export XCURSOR_SIZE=48
#UX
setxkbmap jp
#X11 Theme
xrdb ~/.Xresources
Xcursor.theme: elementary
Xcursor.size: 48
[io/elementary/terminal/settings]
background='rgba(0, 0, 0, 0.50)'
[net/launchpad/plank/docks/dock1]
theme='Transparent'
[org/cinnamon/desktop/background]
picture-opacity=0
[org/compiz/gwd]
blur-type='none'
use-tooltips=true
[org/compiz/integrated]
command-1='io.elementary.wingpanel -t app-launcher'
command-2='compiz-cube-screensaver'
command-3='gnome-screenshot'
command-4='io.elementary.terminal -t'
command-5='io.elementary.calculator'
command-screenshot='gnome-screenshot '
command-window-screenshot='gnome-screenshot -w'
run-command-1=['<Super>space']
run-command-10=['disabled']
run-command-11=['disabled']
run-command-12=['disabled']
run-command-2=['<Super>l']
run-command-3=['Print']
run-command-4=['<Control><Alt>t']
run-command-5=['disabled']
run-command-6=['disabled']
run-command-7=['disabled']
run-command-8=['disabled']
run-command-9=['disabled']
[org/compiz/profiles/Default]
plugins-with-set-keys=['cubeaddon', 'cube', 'obs', 'place', 'expo', 'mousepoll', 'core', 'firepaint', 'titleinfo', 'winrules', 'resize', 'move', 'rotate', 'composite', 'opengl', 'thumbnail', 'workspacenames', 'grid', 'wallpaper', 'imgjpeg', 'neg', 'decor', 'shift', 'resizeinfo', 'staticswitcher', 'screenshot', 'scale', 'gnomecompat']
[org/compiz/profiles/Default/plugins/composite]
refresh-rate=60
unredirect-fullscreen-windows=false
[org/compiz/profiles/Default/plugins/core]
active-plugins=['core', 'composite', 'opengl', 'place', 'regex', 'resize', 'text', 'titleinfo', 'winrules', 'workspacenames', 'commands', 'compiztoolbox', 'cube', 'firepaint', 'gnomecompat', 'grid', 'imgjpeg', 'imgpng', 'mousepoll', 'move', 'neg', 'obs', 'rotate', 'staticswitcher', 'thumbnail', 'wallpaper', 'cubeaddon']
[org/compiz/profiles/Default/plugins/cube]
active-opacity=0.0
bottom-color='#00000000'
inactive-opacity=0.0
skydome-animated=true
top-color='#00000000'
transparent-manual-only=false
[org/compiz/profiles/Default/plugins/cubeaddon]
bottom-images=['']
deform-caps=false
deformation=2
draw-bottom=false
draw-top=false
reflection=false
top-images=['']
[org/compiz/profiles/Default/plugins/decor]
active-shadow-color='#00000080'
inactive-shadow-color='#000000ff'
mipmap=true
[org/compiz/profiles/Default/plugins/expo]
expo-animation=3
expo-edge=''
expo-key='<Super>Down'
hide-docks=true
mipmaps=true
next-vp-button='Button7'
prev-vp-button='Button6'
reflection=false
[org/compiz/profiles/Default/plugins/firepaint]
bg-brightness=100.0
clear-button='Button2'
fire-color='#ff3305ff'
fire-size=6.0
initiate-button='Button8'
[org/compiz/profiles/Default/plugins/gnomecompat]
run-command-terminal-key='<Control><Alt>t'
[org/compiz/profiles/Default/plugins/grid]
animation-duration=250
bottom-edge-action=2
bottom-edge-threshold=100
bottom-left-corner-action=1
bottom-right-corner-action=3
left-edge-threshold=100
right-edge-threshold=100
top-edge-action=8
top-edge-threshold=100
top-left-corner-action=7
top-right-corner-action=9
[org/compiz/profiles/Default/plugins/mousepoll]
mouse-poll-interval=100
[org/compiz/profiles/Default/plugins/move]
lazy-positioning=true
opacity=90
snapback-semimaximized=false
snapoff-distance=150
[org/compiz/profiles/Default/plugins/obs]
brightness-decrease-button='<Alt>Button5'
brightness-increase-button='<Alt>Button4'
brightness-matches=['class=Io.elementary.* | class=Epiphany | class=Firefox | class=Transmission-gtk']
brightness-values=[90, 0]
opacity-matches=['class=Io.elementary.* | class=Epiphany | class=Firefox | class=Transmission-gtk', 'class=Pavucontrol | class=Ccsm | class=Switchboard | class=Dconf-editor', 'class=Io.elementary.notifications | class=Wingpanel']
opacity-values=[90, 90, 90, 0]
saturation-matches=['class=Io.elementary.* | class=Epiphany | class=Firefox | class=Transmission-gtk']
saturation-values=[30, 0]
[org/compiz/profiles/Default/plugins/opengl]
texture-filter=2
[org/compiz/profiles/Default/plugins/place]
position-constrain-workarea=[true]
position-matches=['class=Io.elementary.notifications']
position-x-values=[1920]
position-y-values=[96]
viewport-matches=['class=Firefox | class=Epiphany | class=Gimp*', 'class=Io.elementary.files | class=Io.elementary.music', 'class=Io.elementary.videos | class=mpv | class=Io.elementary.terminal | class=Polari', 'class=Io.elementary.code']
viewport-x-values=[1, 2, 3, 4]
viewport-y-values=[1, 1, 1, 1]
[org/compiz/profiles/Default/plugins/resize]
mode=1
[org/compiz/profiles/Default/plugins/resizeinfo]
gradient-1='#cccce6cc'
gradient-2='#f3f3f3cc'
gradient-3='#d9d9d9cc'
outline-color='#e6e6e6ff'
[org/compiz/profiles/Default/plugins/rotate]
flip-time=0
initiate-button='Button9'
raise-on-rotate=true
rotate-left-button='Button6'
rotate-right-button='Button7'
speed=8.0
[org/compiz/profiles/Default/plugins/scale]
overlay-icon=2
[org/compiz/profiles/Default/plugins/screenshot]
selection-fill-color='#2f2f4f4f'
selection-outline-color='#2f2f4f9f'
[org/compiz/profiles/Default/plugins/shift]
ground-color1='#b3b3b3cc'
ground-color2='#b3b3b300'
mipmaps=true
[org/compiz/profiles/Default/plugins/staticswitcher]
background-color='#33333300'
focus-on-switch=true
highlight-mode=0
highlight-rect-hidden=2
next-all-key='<Alt>Tab'
opacity=30
prev-all-key='<Shift><Alt>Tab'
[org/compiz/profiles/Default/plugins/thumbnail]
font-background-color='#0000007f'
mipmap=true
thumb-color='#0000007f'
title-enabled=false
window-like=false
[org/compiz/profiles/Default/plugins/wallpaper]
bg-color1=['#00000000']
bg-color2=['#00000000']
bg-fill-type=[0]
bg-image=['']
bg-image-pos=[0]
[org/compiz/profiles/Default/plugins/winrules]
above-match='class=Wingpanel | class=Plank | class=Io.elementary.notifications | class=Io.elementary.desktop.agent-polkit'
below-match='class=Io.elementary.videos | class=Firefox | class=Epiphany | class=Io.elementary.mail | class=Io.elementary.files | class=Io.elementary.terminal | class=mpv | class=Io.elementary.music | class=Io.elementary.code'
fullscreen-match='class=Io.elementary.videos'
maximize-match='class=Epiphany | class=Io.elementary.* | class=Firefox | class=mpv'
no-focus-match='class=Wingpanel | class=Plank'
skippager-match='class=Io.elementary.notifications'
skiptaskbar-match='class=Io.elementary.notifications'
sticky-match='class=Io.elementary.notifications'
[org/compiz/profiles/Default/plugins/workspacenames]
back-color='#0000004c'
bold-text=false
display-time=0.25
fade-time=0.125
names=['Front', 'Right', 'Back', 'Left']
text-font-size=12
[org/freedesktop]
prefers-color-scheme='dark'
[org/gnome/desktop/interface]
clock-format='24h'
color-scheme='prefer-dark'
cursor-size=48
document-font-name='Dustismo Roman 16'
font-antialiasing='rgba'
font-hinting='full'
font-name='Dustismo Roman 16'
gtk-im-module='gtk-im-context-simple'
gtk-theme='io.elementary.stylesheet.slate:dark'
icon-theme='elementary-blue'
monospace-font-name='Roboto Mono 20'
toolbar-icons-size='small'
toolkit-accessibility=false
[org/gnome/desktop/wm/preferences]
button-layout=':'
disable-workarounds=true
focus-mode='sloppy'
resize-with-right-button=true
theme='io.elementary.stylesheet.slate:dark'
titlebar-font='Dustismo Roman Bold 14'
titlebar-uses-system-font=false
[org/gnome/epiphany/reader]
color-scheme='dark'
[org/gnome/epiphany/web]
monospace-font='Roboto Mono 20'
sans-serif-font='Dustismo 16'
serif-font='Dustismo Roman, 16'
use-gnome-fonts=false
[org/gnome/settings-daemon/plugins/xsettings]
overrides={'Gtk/DialogsUseHeader': <0>, 'Gtk/EnablePrimaryPaste': <0>, 'Gtk/ShellShowsAppMenu': <0>, 'Gtk/DecorationLayout': <':'>}
[org/gtk/settings/file-chooser]
date-format='regular'
expand-folders=true
location-mode='path-bar'
show-hidden=true
show-size-column=true
show-type-column=true
sidebar-width=211
sort-column='modified'
sort-directories-first=true
sort-order='descending'
startup-mode='cwd'
type-format='category'
/* https://www.reddit.com/r/elementaryos/comments/eulr2p/pure_black_overlay_on_elementary_dark_theme/ */
/* elementary-gtk black */
@define-color base_color mix (@BLACK_900, @BLACK_500, 0.5);
@define-color bg_color shade (@base_color, 0.1);
@define-color tab_base_color shade (@base_color, 0.1);
popover, menu,
window.menu,
window.popup,
.titlebar,
headerbar,
.sidebar,
list,
.search-bar {
background: shade (@bg_color, 0.1);
}
.background,
.gtkstyle-fallback {
background-color: @bg_color;
}
/* @define-color decoration_border_color alpha (white, 0.15); */
@define-color borders alpha (white, 0.15);
/* distinguish dialogs */
dialog decoration,
messagedialog decoration {
box-shadow: 0 0 0 1px @decoration_border_color;
}
/* distinguish buttons & entries */
button, checkbutton, radiobutton, entry {
box-shadow: 0 0 0 1px @decoration_border_color;
}
/* boldest font on active tab */
notebook tab:checked label {
font-weight: 900;
}
/* https://www.reddit.com/r/gnome/comments/eojq1r/what_css_property_controls_this_1px_square_border/fedlzxy/ */
/* Rounded corners */
decoration {
border-radius: 8px;
}
window, window.background {
border-radius: 0 0 4px 4px;
}
/* https://www.reddit.com/r/linux/comments/23fvb3/so_csd_just_became_mandatory_for_all_gnome/cgwn78u/ */
/* Remove window padding */
/* .window-frame {
box-shadow: none;
margin: 0;
} */
/* https://wiki.archlinux.org/index.php/GTK#Client-side_decorations */
/* Reduce CSD gaps and shadows */
.window-frame, .window-frame:backdrop {
/* box-shadow: 0 0 0 black; */
box-shadow: none;
border-style: none;
margin: 0;
border-radius: 0;
}
.window-frame.csd.popup {
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(0, 0, 0, 0.13);
}
.header-bar {
background-image: none;
box-shadow: none;
}
GtkLabel.title {
opacity: 0;
}
/* https://ogbe.net/blog/gnome_titles.html*/
/* shrink headerbars */
headerbar {
min-height: 0px;
padding-left: 2px; /* same as childrens vertical margins for nicer proportions */
padding-right: 2px;
}
headerbar * {
margin-top: 0px; /* same as headerbar side padding for nicer proportions */
margin-bottom: 0px;
padding: 0px;
}
/* shrink ssd titlebars */
.default-decoration {
min-height: 0; /* let the entry and button drive the titlebar size */
padding: 0px;
}
.default-decoration .titlebutton {
min-height: 0px; /* tweak these two props to reduce button size */
min-width: 0px;
}
window.ssd headerbar.titlebar {
padding-top: 0px;
padding-bottom: 0px;
min-height: 0;
}
window.ssd headerbar.titlebar button.titlebutton {
padding-top: 0px;
padding-bottom:0px;
min-height: 0;
}
/* https://wiki.archlinux.org/index.php/Pantheon#Wingpanel_transparency */
/* wingpanel */
.panel {
/* background-color: transparent;*/
/* background-color: black;*/
background-color: rgba(0,0,0,0.5);
}
.panel.maximized {
background-color: #000;
}
/*https://www.reddit.com/r/elementaryos/comments/gj6l0n/thinner_titlebars_how_to_make_elementaryos_look/fqjhncv/?utm_source=reddit&utm_medium=web2x&context=3 */
/* Hide "Applications" on slingshot */
.panel > .horizontal:first-child > :first-child {
font-size:0px;
}
[greeter]
#background=
#user-background=
theme-name=io.elementary.stylesheet.slate:dark
icon-theme-name=elementary
cursor-theme-name=elementary-blue
cursor-theme-size=48
font-name=Dustismo Roman 16
xft-antialias=true
#xft-dpi=
xft-hintstyle=hintfull
xft-rgba=rgb
indicators=~session;~spacer;~clock;~spacer;~power
clock-format=%a, %b %d %H:%M:%S
a11y-states=+contrast
#keyboard=
#reader=
#position=
#screensaver-timeout=
/*
https://www.reddit.com/r/elementaryos/comments/eulr2p/pure_black_overlay_on_elementary_dark_theme/frnwnks/
lightdm-gtk-greeter theme for "Pure Black Overlay" on elementary:dark
To use this, one must add an @import *to the elementary theme itself*
https://gist.github.com/okitavera/ad107c6da6f360748e51009dbe3608db#gistcomment-3316209
*/
@define-color base_color mix (@BLACK_900, @BLACK_500, 0.5);
@define-color bg_color shade (@base_color, 0.1);
@define-color decoration_border_color alpha (white, 0.15);
/* distinguish buttons */
.lightdm-gtk-greeter button {
box-shadow: 0 0 0 1px @decoration_border_color;
}
/* matching css for wingpanel */
#panel_window menubar {
background-color: @bg_color;
}
#panel_window menubar > menuitem,
#panel_window menubar > separator {
background-color: @bg_color;
}
/* distinguish dialogs */
#login_window,
#shutdown_dialog,
#restart_dialog {
box-shadow: 0 0 0 1px @decoration_border_color;
border-radius: 4px;
}
/* the top half, containig user menu and password entry */
#content_frame {
background-color: @bg_color;
box-shadow: 0 -1px 0 1px @decoration_border_color;
border-radius: 4px 4px 0 0;
}
/* the lower half, containing the "login" button */
#buttonbox_frame {
background-color: @bg_color;
box-shadow: 0 1px 0 1px @decoration_border_color;
border-radius: 0 0 4px 4px;
}
/* when typing in a username rather than selecting one */
#login_window #user_combobox,
#login_window #username_entry,
#login_window #password_entry {
box-shadow: 0 0 0 1px @decoration_border_color;
}
<?xml version="1.0" encoding="UTF-8"?>
<openbox_menu xmlns="http://openbox.org/3.4/menu">
<menu id="root-menu" label="Openbox 3">
<menu id="applications" label="Applications" execute="xdg_menu --format openbox3-pipe --root-menu /etc/xdg/menus/arch-applications.menu" />
<separator />
<item label="Reconfigure Openbox">
<action name="Reconfigure" />
</item>
<item label="Restart Openbox">
<action name="Restart"/>
</item
<separator />
<item label="Log Out">
<action name="Exit">
<prompt>yes</prompt>
</action>
</item>
</menu>
</openbox_menu>
<?xml version="1.0"?>
<openbox_config xmlns="http://openbox.org/3.4/rc" xmlns:xi="http://www.w3.org/2001/XInclude">
<resistance>
<strength>10</strength>
<screen_edge_strength>20</screen_edge_strength>
</resistance>
<focus>
<focusNew>yes</focusNew>
<!-- always try to focus new windows when they appear. other rules do
apply -->
<followMouse>yes</followMouse>
<!-- move focus to a window when you move the mouse into it -->
<focusLast>no</focusLast>
<!-- focus the last used window when changing desktops, instead of the one
under the mouse pointer. when followMouse is enabled -->
<underMouse>yes</underMouse>
<!-- move focus under the mouse, even when the mouse is not moving -->
<focusDelay>200</focusDelay>
<!-- when followMouse is enabled, the mouse must be inside the window for
this many milliseconds (1000 = 1 sec) before moving focus to it -->
<raiseOnFocus>no</raiseOnFocus>
<!-- when followMouse is enabled, and a window is given focus by moving the
mouse into it, also raise the window -->
</focus>
<placement>
<policy>Smart</policy>
<!-- 'Smart' or 'UnderMouse' -->
<center>yes</center>
<!-- whether to place windows in the center of the free area found or
the top left corner -->
<monitor>Primary</monitor>
<!-- with Smart placement on a multi-monitor system, try to place new windows
on: 'Any' - any monitor, 'Mouse' - where the mouse is, 'Active' - where
the active window is, 'Primary' - only on the primary monitor -->
<primaryMonitor>1</primaryMonitor>
<!-- The monitor where Openbox should place popup dialogs such as the
focus cycling popup, or the desktop switch popup. It can be an index
from 1, specifying a particular monitor. Or it can be one of the
following: 'Mouse' - where the mouse is, or
'Active' - where the active window is -->
</placement>
<theme>
<!-- <name>Adwaita-Dark-openbox</name> -->
<name>Nightmare-pbo</name>
<titleLayout>L</titleLayout>
<!--
available characters are NDSLIMC, each can occur at most once.
N: window icon
L: window label (AKA title).
I: iconify
M: maximize
C: close
S: shade (roll up/down)
D: omnipresent (on all desktops).
-->
<keepBorder>yes</keepBorder>
<animateIconify>no</animateIconify>
<font place="ActiveWindow">
<name>Dustismo Roman</name>
<size>16</size>
<!-- font size in points -->
<weight>Bold</weight>
<!-- 'bold' or 'normal' -->
<slant>Normal</slant>
<!-- 'italic' or 'normal' -->
</font>
<font place="InactiveWindow">
<name>Dustismo Roman</name>
<size>16</size>
<!-- font size in points -->
<weight>Bold</weight>
<!-- 'bold' or 'normal' -->
<slant>Normal</slant>
<!-- 'italic' or 'normal' -->
</font>
<font place="MenuHeader">
<name>Dustismo Roman</name>
<size>16</size>
<!-- font size in points -->
<weight>Normal</weight>
<!-- 'bold' or 'normal' -->
<slant>Normal</slant>
<!-- 'italic' or 'normal' -->
</font>
<font place="MenuItem">
<name>Dustismo Roman</name>
<size>16</size>
<!-- font size in points -->
<weight>Normal</weight>
<!-- 'bold' or 'normal' -->
<slant>Normal</slant>
<!-- 'italic' or 'normal' -->
</font>
<font place="ActiveOnScreenDisplay">
<name>Dustismo Roman</name>
<size>16</size>
<!-- font size in points -->
<weight>Bold</weight>
<!-- 'bold' or 'normal' -->
<slant>Normal</slant>
<!-- 'italic' or 'normal' -->
</font>
<font place="InactiveOnScreenDisplay">
<name>Dustismo Roman</name>
<size>16</size>
<!-- font size in points -->
<weight>Bold</weight>
<!-- 'bold' or 'normal' -->
<slant>Normal</slant>
<!-- 'italic' or 'normal' -->
</font>
</theme>
<desktops>
<!-- this stuff is only used at startup, pagers allow you to change them
during a session
these are default values to use when other ones are not already set
by other applications, or saved in your session
use obconf if you want to change these without having to log out
and back in -->
<number>4</number>
<firstdesk>1</firstdesk>
<names>
<name>Front</name>
<name>Right</name>
<name>Back</name>
<name>Left</name>
</names>
<popupTime>250</popupTime>
<!-- The number of milliseconds to show the popup for when switching
desktops. Set this to 0 to disable the popup. -->
</desktops>
<resize>
<drawContents>no</drawContents>
<popupShow>Always</popupShow>
<!-- 'Always', 'Never', or 'Nonpixel' (xterms and such) -->
<popupPosition>Center</popupPosition>
<!-- 'Center', 'Top', or 'Fixed' -->
<popupFixedPosition>
<!-- these are used if popupPosition is set to 'Fixed' -->
<x>10</x>
<!-- positive number for distance from left edge, negative number for
distance from right edge, or 'Center' -->
<y>10</y>
<!-- positive number for distance from top edge, negative number for
distance from bottom edge, or 'Center' -->
</popupFixedPosition>
</resize>
<!-- You can reserve a portion of your screen where windows will not cover when
they are maximized, or when they are initially placed.
Many programs reserve space automatically, but you can use this in other
cases. -->
<margins>
<top>0</top>
<bottom>0</bottom>
<left>0</left>
<right>0</right>
</margins>
<dock>
<position>Bottom</position>
<!-- (Top|Bottom)(Left|Right|)|Top|Bottom|Left|Right|Floating -->
<floatingX>0</floatingX>
<floatingY>0</floatingY>
<noStrut>no</noStrut>
<stacking>Above</stacking>
<!-- 'Above', 'Normal', or 'Below' -->
<direction>Horizontal</direction>
<!-- 'Vertical' or 'Horizontal' -->
<autoHide>yes</autoHide>
<hideDelay>250</hideDelay>
<!-- in milliseconds (1000 = 1 second) -->
<showDelay>250</showDelay>
<!-- in milliseconds (1000 = 1 second) -->
<moveButton>Middle</moveButton>
<!-- 'Left', 'Middle', 'Right' -->
</dock>
<keyboard>
<chainQuitKey>C-g</chainQuitKey>
<!-- Grid -->
<!-- derived from orginal by alaskan-hippie: http://crunchbang.org/forums/profile.php?id=9401 -->
<keybind key="C-A-KP_1">
<action name="UnmaximizeFull"/>
<action name="MoveResizeTo">
<width>50%</width>
<height>50%</height>
</action>
<action name="MoveToEdge"><direction>south</direction></action>
<action name="MoveToEdge"><direction>west</direction></action>
</keybind>
<keybind key="C-A-KP_2">
<action name="UnmaximizeFull"/>
<action name="Maximize"><direction>horizontal</direction></action>
<action name="MoveResizeTo">
<height>50%</height>
</action>
<action name="MoveToEdge"><direction>south</direction></action>
</keybind>
<keybind key="C-A-KP_3">
<action name="UnmaximizeFull"/>
<action name="MoveResizeTo">
<width>50%</width>
<height>50%</height>
</action>
<action name="MoveToEdge"><direction>south</direction></action>
<action name="MoveToEdge"><direction>east</direction></action>
</keybind>
<keybind key="C-A-KP_4">
<action name="UnmaximizeFull"/>
<action name="MaximizeVert"/>
<action name="MoveResizeTo">
<width>50%</width>
</action>
<action name="MoveToEdge"><direction>west</direction></action>
</keybind>
<keybind key="C-A-KP_5">
<action name="Maximize"><direction>both</direction></action>
</keybind>
<keybind key="C-A-KP_6">
<action name="UnmaximizeFull"/>
<action name="MaximizeVert"/>
<action name="MoveResizeTo">
<width>50%</width>
</action>
<action name="MoveToEdge"><direction>east</direction></action>
</keybind>
<keybind key="C-A-KP_7">
<action name="UnmaximizeFull"/>
<action name="MoveResizeTo">
<width>50%</width>
<height>50%</height>
</action>
<action name="MoveToEdge"><direction>north</direction></action>
<action name="MoveToEdge"><direction>west</direction></action>
</keybind>
<keybind key="C-A-KP_8">
<action name="UnmaximizeFull"/>
<action name="Maximize"><direction>horizontal</direction></action>
<action name="MoveResizeTo">
<height>50%</height>
</action>
<action name="MoveToEdge"><direction>north</direction></action>
</keybind>
<keybind key="C-A-KP_9">
<action name="UnmaximizeFull"/>
<action name="MoveResizeTo">
<width>50%</width>
<height>50%</height>
</action>
<action name="MoveToEdge"><direction>north</direction></action>
<action name="MoveToEdge"><direction>east</direction></action>
</keybind>
<!-- End of Grid -->
<!-- Rotate Cube -->
<keybind key="W-Left">
<action name="GoToDesktop">
<to>previous</to>
</action>
</keybind>
<keybind key="W-Right">
<action name="GoToDesktop">
<to>next</to>
</action>
</keybind>
<keybind key="A-W-Left">
<action name="SendToDesktop">
<to>previous</to>
</action>
</keybind>
<keybind key="A-W-Right">
<action name="SendToDesktop">
<to>next</to>
</action>
</keybind>
<!-- End Rotate Cube -->
<!-- Static Swtich -->
<keybind key="A-Tab">
<action name="NextWindow">
<dialog>no</dialog>
<raise>yes</raise>
<allDesktops>yes</allDesktops>
<linear>yes</linear>
<finalactions>
<action name="Focus"/>
<action name="Raise"/>
<action name="Unshade"/>
</finalactions>
</action>
</keybind>
<keybind key="A-S-Tab">
<action name="PreviousWindow">
<dialog>no</dialog>
<raise>yes</raise>
<allDesktops>yes</allDesktops>
<linear>yes</linear>
<finalactions>
<action name="Focus"/>
<action name="Raise"/>
<action name="Unshade"/>
</finalactions>
</action>
</keybind>
<!-- End Static Swtich -->
<!-- Shortcuts -->
<keybind key="W-space">
<action name="Execute">
<command>io.elementary.wingpanel -t app-launcher</command>
</action>
</keybind>
<keybind key="W-l">
<action name="Execute">
<command>xscreensaver -l</command>
</action>
</keybind>
<keybind key="Print">
<action name="Execute">
<command>gnome-screenshot</command>
</action>
</keybind>
<keybind key="C-A-t">
<action name="Execute">
<command>io.elementary.terminal -t</command>
</action>
</keybind>
<!-- End Shortcuts -->
<!-- Window and Desktop actions -->
<keybind key="W-n">
<action name="Execute">
<command>picom-inverter focused</command>
</action>
</keybind>
<keybind key="W-d">
<action name="ToggleShowDesktop"/>
</keybind>
<keybind key="C-A-d">
<action name="ShowMenu">
<menu>client-list-combined-menu</menu>
</action>
</keybind>
<keybind key="A-F4">
<action name="Close"/>
</keybind>
<keybind key="A-space">
<action name="ShowMenu">
<menu>client-menu</menu>
</action>
</keybind>
<!-- End Window and Desktop actions -->
</keyboard>
<mouse>
<dragThreshold>1</dragThreshold>
<!-- number of pixels the mouse must move before a drag begins -->
<doubleClickTime>100</doubleClickTime>
<!-- in milliseconds (1000 = 1 second) -->
<screenEdgeWarpTime>250</screenEdgeWarpTime>
<!-- Time before changing desktops when the pointer touches the edge of the
screen while moving a window, in milliseconds (1000 = 1 second).
Set this to 0 to disable warping -->
<screenEdgeWarpMouse>false</screenEdgeWarpMouse>
<!-- Set this to TRUE to move the mouse pointer across the desktop when
switching due to hitting the edge of the screen -->
<context name="Frame">
<!-- Transparency -->
<mousebind action="Click" button="A-Up">
<action name="Execute">
<command>picom-trans -c +5</command>
</action>
</mousebind>
<mousebind action="Click" button="A-Down">
<action name="Execute">
<command>picom-trans -c -5</command>
</action>
</mousebind>
<!-- End Transparency -->
<!-- Rotate Cube (over window) -->
<mousebind action="Click" button="Button6">
<action name="GoToDesktop">
<to>previous</to>
</action>
</mousebind>
<mousebind action="Click" button="Button7">
<action name="GoToDesktop">
<to>next</to>
</action>
</mousebind>
<!-- End Rotate Cube (over window) -->
</context>
<context name="Desktop">
<!-- Rotate Cube (over desktop) -->
<mousebind action="Click" button="Button6">
<action name="GoToDesktop">
<to>previous</to>
</action>
</mousebind>
<mousebind action="Click" button="Button7">
<action name="GoToDesktop">
<to>next</to>
</action>
</mousebind>
<!-- End Rotate Cube (over desktop) -->
<mousebind action="Press" button="Left">
<action name="Focus"/>
<action name="Raise"/>
</mousebind>
<mousebind action="Press" button="Right">
<action name="Focus"/>
<action name="Raise"/>
</mousebind>
</context>
<context name="Root">
<!-- Menus -->
<mousebind action="Press" button="Middle">
<action name="ShowMenu">
<menu>client-list-combined-menu</menu>
</action>
</mousebind>
<mousebind action="Press" button="Right">
<action name="ShowMenu">
<menu>root-menu</menu>
</action>
</mousebind>
<!-- End Menus -->
</context>
<!-- General Window Management (Move, Resize, etc)-->
<context name="Titlebar">
<mousebind action="Drag" button="Left">
<action name="Move"/>
</mousebind>
<mousebind action="DoubleClick" button="Left">
<action name="ToggleMaximize"/>
</mousebind>
</context>
<context name="Titlebar Top Right Bottom Left TLCorner TRCorner BRCorner BLCorner">
<mousebind action="Press" button="Left">
<action name="Focus"/>
<action name="Raise"/>
<action name="Unshade"/>
</mousebind>
<mousebind action="Press" button="Middle">
<action name="Lower"/>
<action name="FocusToBottom"/>
<action name="Unfocus"/>
</mousebind>
<mousebind action="Press" button="Right">
<action name="Focus"/>
<action name="Raise"/>
<action name="ShowMenu">
<menu>client-menu</menu>
</action>
</mousebind>
</context>
<context name="Top">
<mousebind action="Drag" button="Left">
<action name="Resize">
<edge>top</edge>
</action>
</mousebind>
</context>
<context name="Left">
<mousebind action="Drag" button="Left">
<action name="Resize">
<edge>left</edge>
</action>
</mousebind>
</context>
<context name="Right">
<mousebind action="Drag" button="Left">
<action name="Resize">
<edge>right</edge>
</action>
</mousebind>
</context>
<context name="Bottom">
<mousebind action="Drag" button="Left">
<action name="Resize">
<edge>bottom</edge>
</action>
</mousebind>
<mousebind action="Press" button="Right">
<action name="Focus"/>
<action name="Raise"/>
<action name="ShowMenu">
<menu>client-menu</menu>
</action>
</mousebind>
</context>
<context name="TRCorner BRCorner TLCorner BLCorner">
<mousebind action="Press" button="Left">
<action name="Focus"/>
<action name="Raise"/>
<action name="Unshade"/>
</mousebind>
<mousebind action="Drag" button="Left">
<action name="Resize"/>
</mousebind>
</context>
<context name="Client">
<mousebind action="Press" button="Left">
<action name="Focus"/>
<action name="Raise"/>
</mousebind>
<mousebind action="Press" button="Middle">
<action name="Focus"/>
<action name="Raise"/>
</mousebind>
<mousebind action="Press" button="Right">
<action name="Focus"/>
<action name="Raise"/>
</mousebind>
</context>
<context name="Icon">
<mousebind action="Press" button="Left">
<action name="Focus"/>
<action name="Raise"/>
<action name="Unshade"/>
<action name="ShowMenu">
<menu>client-menu</menu>
</action>
</mousebind>
<mousebind action="Press" button="Right">
<action name="Focus"/>
<action name="Raise"/>
<action name="ShowMenu">
<menu>client-menu</menu>
</action>
</mousebind>
</context>
<context name="AllDesktops">
<mousebind action="Press" button="Left">
<action name="Focus"/>
<action name="Raise"/>
<action name="Unshade"/>
</mousebind>
<mousebind action="Click" button="Left">
<action name="ToggleOmnipresent"/>
</mousebind>
</context>
<context name="Shade">
<mousebind action="Press" button="Left">
<action name="Focus"/>
<action name="Raise"/>
</mousebind>
<mousebind action="Click" button="Left">
<action name="ToggleShade"/>
</mousebind>
</context>
<context name="Iconify">
<mousebind action="Press" button="Left">
<action name="Focus"/>
<action name="Raise"/>
</mousebind>
<mousebind action="Click" button="Left">
<action name="Iconify"/>
</mousebind>
</context>
<context name="Maximize">
<mousebind action="Press" button="Left">
<action name="Focus"/>
<action name="Raise"/>
<action name="Unshade"/>
</mousebind>
<mousebind action="Press" button="Middle">
<action name="Focus"/>
<action name="Raise"/>
<action name="Unshade"/>
</mousebind>
<mousebind action="Press" button="Right">
<action name="Focus"/>
<action name="Raise"/>
<action name="Unshade"/>
</mousebind>
<mousebind action="Click" button="Left">
<action name="ToggleMaximize"/>
<direction>both</direction>
</mousebind>
<mousebind action="Click" button="Middle">
<action name="ToggleMaximize">
<direction>vertical</direction>
</action>
</mousebind>
<mousebind action="Click" button="Right">
<action name="ToggleMaximize">
<direction>horizontal</direction>
</action>
</mousebind>
</context>
<context name="Close">
<mousebind action="Press" button="Left">
<action name="Focus"/>
<action name="Raise"/>
<action name="Unshade"/>
</mousebind>
<mousebind action="Click" button="Left">
<action name="Close"/>
</mousebind>
</context>
<!-- End General Window Management -->
</mouse>
<menu>
<!-- You can specify more than one menu file in here and they are all loaded,
just don't make menu ids clash or, well, it'll be kind of pointless -->
<!-- default menu file (or custom one in $HOME/.config/openbox/) -->
<file>menu.xml</file>
<hideDelay>200</hideDelay>
<!-- if a press-release lasts longer than this setting (in milliseconds), the
menu is hidden again -->
<middle>no</middle>
<!-- center submenus vertically about the parent entry -->
<submenuShowDelay>100</submenuShowDelay>
<!-- time to delay before showing a submenu after hovering over the parent
entry.
if this is a negative value, then the delay is infinite and the
submenu will not be shown until it is clicked on -->
<submenuHideDelay>250</submenuHideDelay>
<!-- time to delay before hiding a submenu when selecting another
entry in parent menu
if this is a negative value, then the delay is infinite and the
submenu will not be hidden until a different submenu is opened -->
<showIcons>yes</showIcons>
<!-- controls if icons appear in the client-list-(combined-)menu -->
<manageDesktops>yes</manageDesktops>
<!-- show the manage desktops section in the client-list-(combined-)menu -->
</menu>
<applications>
<!-- Desktop Components -->
<application name="io.elementary.wingpanel">
<desktop>all</desktop>
<layer>above</layer>
</application>
<application name="Io.elementary.notifications">
<desktop>all</desktop>
<layer>above</layer>
</application>
<application name="Io.elementary.desktop.agent-polkit">
<layer>above</layer>
</application>
<application name="plank">
<desktop>all</desktop>
<layer>above</layer>
</application>
<!-- End Desktop Components -->
<!-- Place and Window Rules -->
<application class="Firefox">
<desktop>1</desktop>
<layer>below</layer>
<maximized>true</maximized>
</application>
<application class="Epiphany">
<desktop>1</desktop>
<layer>below</layer>
<maximized>true</maximized>
</application>
<application class="Io.elementary.mail">
<desktop>1</desktop>
<layer>below</layer>
<maximized>true</maximized>
</application>
<application class="Io.elementary.files">
<desktop>2</desktop>
<layer>below</layer>
<maximized>true</maximized>
</application>
<application class="Io.elementary.music">
<maximized>true</maximized>
<desktop>2</desktop>
<layer>below</layer>
</application>
<application class="Io.elementary.videos">
<desktop>3</desktop>
<layer>below</layer>
<fullscreen>yes</fullscreen>
<decor>no</decor>
</application>
<application class="mpv">
<desktop>3</desktop>
<layer>below</layer>
<fullscreen>yes</fullscreen>
<decor>no</decor>
</application>
<application class="Polari">
<desktop>3</desktop>
<maximized>true</maximized>
<decor>no</decor>
</application>
<application class="Io.elementary.terminal">
<desktop>3</desktop>
<layer>below</layer>
<maximized>true</maximized>
</application>
<application class="Io.elementary.code">
<desktop>4</desktop>
<layer>below</layer>
<maximized>true</maximized>
</application>
<!-- End Place and Window Rules -->
</applications>
</openbox_config>
[Settings]
gtk-theme-name = io.elementary.stylesheet.slate:dark
gtk-icon-theme-name = elementary-blue
gtk-fallback-icon-theme = elementary
gtk-sound-theme-name = freedesktop
gtk-cursor-theme-name = elementary
gtk-cursor-theme-size = 48
gtk-icon-sizes = panel-menu-bar = 24,24
gtk-font-name = Dustismo Roman 16
gtk-toolbar-style = GTK_TOOLBAR_ICONS
gtk-toolbar-icon-size = GTK_ICON_SIZE_SMALL_TOOLBAR
gtk-button-images = 0
gtk-menu-images = 0
gtk-enable-event-sounds = 1
gtk-enable-input-feedback-sounds = 0
gtk-xft-antialias = 1
gtk-xft-hinting = 1
gtk-xft-hintstyle = hintfull
gtk-xft-rgba = rgb
gtk-application-prefer-dark-theme = 1
gtk-decoration-layout = :
gtk-modules = gail:atk-bridge:canberra-gtk-module:pantheon-filechooser-module
@quequotion
Copy link
Author

quequotion commented May 24, 2020

lightdm-gtk-greeter theme:
lightdm-gtk-greeter-qq

desktop theme:
pantheon-3d

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment