Skip to content

Instantly share code, notes, and snippets.

Lon Sagisawa mlny

Block or report user

Report or block mlny

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
mlny /
Created Dec 23, 2018
Xiaomi Redmi Note 5 覚え書き
mlny / arc-theme-20180114.ebuild
Created Jul 6, 2018
New upstream Arc GTK theme for Gentoo
View arc-theme-20180114.ebuild
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
inherit autotools
DESCRIPTION="A flat theme with transparent elements for GTK+3, GTK+2 and GNOME Shell"
SRC_URI="${PN}/releases/download/${PV}/${P}.tar.xz -> ${P}.tar.xz"
mlny / 30-synaptics.conf
Created Nov 24, 2017
Synaptics config for ThinkPad X240
View 30-synaptics.conf
Section "InputClass"
Identifier "touchpad"
MatchIsTouchpad "on"
MatchDevicePath "/dev/input/event*"
Driver "synaptics"
Option "FingerLow" "35"
Option "FingerHigh" "40"
Option "PalmDetect" "1"
mlny / 30-touchpad.conf
Last active Nov 22, 2017
libinput config for ThinkPad X240 clickpad, place this in /etc/X11/xorg.conf.d/
View 30-touchpad.conf
Section "InputClass"
Identifier "UltraNav"
Driver "libinput"
MatchIsTouchpad "on"
Option "ClickMethod" "clickfinger"
Option "NaturalScrolling" "on"
Option "Tapping" "off"
mlny / 20-intel.conf
Created Jun 17, 2017
Modern configuration for Intel HD Graphics: modesettings driver
View 20-intel.conf
Section "Device"
Identifier "Intel IGP"
Driver "modesetting"
Option "AccelMethod" "glamor"
mlny / 50-synaptics.conf
Last active Nov 18, 2017
/etc/X11/xorg.conf.d/50-synaptics.conf (For CF-N10)
View 50-synaptics.conf
Section "InputClass"
Identifier "touchpad"
MatchIsTouchpad "on"
Driver "synaptics"
Option "AccelerationNumerator" "1"
Option "AccelerationDenominator" "2"
Option "AccelerationThreshold" "2"
Option "TapButton1" "0"
Option "VertEdgeScroll" "off"
Option "HorizEdgeScroll" "off"
View gist:cf6957bd31d5821c2f8a
body {
background-color: #eee;
font-family: "Roboto", "Lucida Grande", "Segoe UI", "Hiragino Kaku Gothic ProN", "Meiryo", "IPAexGothic", sans-serif;
h1, h2, h3 {
font-family: "Roboto Condensed", "Hiragino Kaku Gothic ProN", "Meiryo", "IPAexGothic", sans-serif;
font-weight: 300;
mlny /
Last active Aug 29, 2015
exec compton -cCzG -t-3 -l-5 -r4 \
--config /dev/null --backend glx \
--vsync opengl-swc \
--shadow-exclude "name = 'notify-osd'" \
--shadow-exclude "_GTK_FRAME_EXTENTS@:c" \
--shadow-ignore-shaped &
mlny / gtk.css
Created May 8, 2014
~/.config/gtk-3.0/gtk.css: Disabling CSD Shadows (
View gtk.css
.window-frame, .window-frame:backdrop {
box-shadow: 0 0 0 black;
border-style: none;
margin: 0;
border-radius: 0;
.titlebar {
border-radius: 0;
mlny /
Last active Jun 30, 2018
# アクティブなウィンドウのスクリーンショットを撮り、通知する
# 12 Mar 2014: dateコマンドの辺りで間抜けな間違いをしていたので修正
activeWinLine=$(xprop -root | grep "_NET_ACTIVE_WINDOW(WINDOW)")
exec import -window "$activeWinId" -frame $HOME/Pictures/screenshot/$(date +%y%m%d_%H%M%S).png &
exec notify-send 'Screenshot Taken' $HOME/Pictures/screenshot/$(date +%y%m%d_%H%M%S).png &
You can’t perform that action at this time.