Skip to content

Instantly share code, notes, and snippets.

@quequotion

quequotion/.Xresources

Last active Aug 8, 2020
Embed
What would you like to do?
[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="elementary: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="elementary: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
[com/github/plugarut/wingpanel-indicator-sys-monitor]
network-in-bits=false
show-cpu=true
show-desr=false
show-graph=false
show-icon=false
show-network=false
show-ram=false
[io/elementary/code/settings]
prefer-dark-style=true
style-scheme='solarized-dark'
[io/elementary/desktop/wingpanel]
autohide='Float'
[io/elementary/desktop/wingpanel/applications-menu]
use-category=true
[io/elementary/desktop/wingpanel/bluetooth]
bluetooth-enabled=true
[io/elementary/desktop/wingpanel/datetime]
clock-format='24h'
clock-show-seconds=false
clock-show-weekday=true
[io/elementary/desktop/wingpanel/power]
show-percentage=false
[io/elementary/dpms]
standby-time=0
[io/elementary/files/column-view]
default-zoom-level='largest'
maximum-zoom-level='largest'
minimum-zoom-level='largest'
zoom-level='largest'
[io/elementary/files/icon-view]
default-zoom-level='largest'
maximum-zoom-level='largest'
minimum-zoom-level='largest'
zoom-level='largest'
[io/elementary/files/list-view]
default-zoom-level='largest'
maximum-zoom-level='largest'
minimum-zoom-level='largest'
zoom-level='largest'
[io/elementary/photos/printing]
titles-font='Dustismo Bold 16'
[io/elementary/terminal/settings]
background='rgba(0, 0, 0, 0.70)'
[net/launchpad/plank/docks/dock1]
alignment='center'
auto-pinning=true
current-workspace-only=false
hide-delay=0
hide-mode='auto'
icon-size=48
items-alignment='center'
lock-items=false
monitor=''
offset=0
pinned-only=false
position='bottom'
pressure-reveal=false
show-dock-item=false
theme='Transparent'
tooltips-enabled=true
unhide-delay=0
zoom-enabled=true
zoom-percent=150
[org/cinnamon/desktop/applications/terminal]
exec='io.elementary.terminal'
[org/cinnamon/desktop/interface]
cursor-blink=false
cursor-size=48
cursor-theme='elementary'
enable-animations=false
font-name='Dustismo Roman 16'
gtk-theme='elementary:dark'
gtk-theme-backup='Adwaita-dark'
icon-theme='elementary-blue'
icon-theme-backup='elementary'
toolbar-icons-size='small'
toolbar-style='icons'
[org/cinnamon/desktop/sound]
event-sounds=false
[org/cinnamon/desktop/thumbnail-cache]
maximum-size=-1
[org/cinnamon/desktop/wm/preferences]
button-layout=':'
theme='elementary:dark'
theme-backup='Adwaita-dark'
titlebar-font='Dustismo Roman Bold 16'
titlebar-uses-system-font=true
[org/cinnamon/settings-daemon/peripherals/keyboard]
numlock-state='on'
[org/cinnamon/settings-daemon/peripherals/mouse]
double-click=400
drag-threshold=8
motion-threshold=1
[org/cinnamon/settings-daemon/peripherals/touchpad]
motion-threshold=1
[org/cinnamon/settings-daemon/plugins/xrandr]
default-monitors-setup='clone'
[org/cinnamon/settings-daemon/plugins/xsettings]
hinting='full'
[org/compiz/gwd]
blur-type='none'
use-tooltips=true
[org/compiz/integrated]
command-screenshot='io.elementary.screenshot-tool'
command-window-screenshot='io.elementary.screenshot-tool -w'
[org/gnome/desktop/background]
primary-color='#0000FF'
[org/gnome/desktop/interface]
clock-format='24h'
cursor-blink=false
cursor-size=48
document-font-name='Dustismo Roman 16'
enable-animations=false
enable-hot-corners=false
font-name='Dustismo Roman 16'
gtk-im-module='gtk-im-context-simple'
gtk-theme='elementary:dark'
icon-theme='elementary-blue'
monospace-font-name='Droid Sans Mono 27'
toolkit-accessibility=false
[org/gnome/desktop/screensaver]
idle-activation-enabled=false
[org/gnome/desktop/thumbnail-cache]
maximum-size=-1
[org/gnome/desktop/wm/preferences]
button-layout=':'
theme='elementary:dark'
titlebar-font='Dustismo Roman 16'
titlebar-uses-system-font=true
[org/gnome/epiphany/web]
monospace-font='Droid Sans Mono 27'
sans-serif-font='Dustismo 16'
serif-font='Dustismo Roman 16'
[org/gnome/settings-daemon/peripherals/keyboard]
click=false
numlock-state='on'
[org/gnome/settings-daemon/plugins/xsettings]
hinting='full'
[org/pantheon/desktop/gala/animations]
enable-animations=false
[org/pantheon/desktop/gala/behavior]
hotcorner-bottomleft='none'
hotcorner-bottomright='none'
hotcorner-topleft='none'
hotcorner-topright='none'
[org/pantheon/desktop/gala/notifications]
do-not-disturb=false
/* https://www.reddit.com/r/elementaryos/comments/eulr2p/pure_black_overlay_on_elementary_dark_theme/ */
/* "Pure Black Overlay" for elementary:dark */
@define-color base_color mix (@BLACK_900, @BLACK_500, 0.5);
@define-color bg_color shade (@base_color, 0.1);
@define-color titlebar_color shade (@bg_color, 0.1);
@define-color decoration_border_color 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://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;
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/linux/comments/23fvb3/so_csd_just_became_mandatory_for_all_gnome/cgwn78u/ */
/* Remove window padding */
.window-frame {
box-shadow: none;
margin: 0;
}
/* reddit */
/* Hide "Applications" text */
.panel > .horizontal:first-child > :first-child {
font-size:0px;
}
[greeter]
#background=
#user-background=
theme-name=elementary:dark
icon-theme-name=elementary-blue
cursor-theme-name = elementary
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
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;
}
[Settings]
gtk-theme-name = elementary: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 = Dutismo 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

This comment has been minimized.

Copy link
Owner Author

@quequotion 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
You can’t perform that action at this time.