Skip to content

Instantly share code, notes, and snippets.

@davidphilipbarr
davidphilipbarr / gtk.css
Created April 15, 2018 10:37
small adwaita tweaks
.titlebar:not(headerbar) .title, headerbar .title { font-weight: normal; }
.titlebar:not(headerbar),
headerbar {
min-height:0px;
background-image:none;
}
decoration:not(.solid-csd) {
#include <behaviors.dtsi>
#include <dt-bindings/zmk/keys.h>
#include <dt-bindings/zmk/bt.h>
/ {
keymap {
compatible = "zmk,keymap";
default_layer {
#include <behaviors.dtsi>
#include <dt-bindings/zmk/keys.h>
#include <dt-bindings/zmk/bt.h>
&mt {
tapping_term_ms = <200>;
};
/ {
/*
* Copyright (c) 2020 The ZMK Contributors
*
* SPDX-License-Identifier: MIT
*/
#include <behaviors.dtsi>
= <&pro_micro_d 7 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>E6
, <&pro_micro_a 0 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>F7
, <&pro_micro_a 1 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>F6
, <&pro_micro_a 2 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)> F5
, <&pro_micro_a 3 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>F4
, <&pro_micro_d 15 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>B1
, <&pro_micro_d 14 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>B3
, <&pro_micro_d 16 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>B2
, <&pro_micro_d 10 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>B6
, <&pro_micro_d 1 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>D3
/*
* Copyright (c) 2020 The ZMK Contributors
*
* SPDX-License-Identifier: MIT
*/
#include <behaviors.dtsi>
#include <dt-bindings/zmk/keys.h>
/*
* Copyright (c) 2020 The ZMK Contributors
*
* SPDX-License-Identifier: MIT
*/
#include <behaviors.dtsi>
#include <dt-bindings/zmk/keys.h>
#include <dt-bindings/zmk/bt.h>
//numbers
combo_1 {
timeout-ms = <50>;
key-positions = <0 10>;
bindings = <&kp NUM_1>;
};
combo_2 {
timeout-ms = <50>;
.titlebar:not(headerbar), headerbar {
box-shadow: none;
box-shadow: inset 0px 0px 0px 1px #FFFFFF;
}
decoration:not(.solid-csd),.background:not(.tiled):not(.maximized):not(.solid-csd) .titlebar:backdrop, .background:not(.tiled):not(.maximized):not(.solid-csd) .titlebar, .background:not(.tiled-top):not(.maximized):not(.solid-csd) .titlebar:backdrop, .background:not(.tiled-top):not(.maximized):not(.solid-csd) .titlebar, .background:not(.tiled-left):not(.maximized):not(.solid-csd) .titlebar:backdrop, .background:not(.tiled-left):not(.maximized):not(.solid-csd) .titlebar, .background:not(.tiled-right):not(.maximized):not(.solid-csd) .titlebar:backdrop, .background:not(.tiled-right):not(.maximized):not(.solid-csd) .titlebar, .background:not(.tiled-bottom):not(.maximized):not(.solid-csd) .titlebar:backdrop, .background:not(.tiled-bottom):not(.maximized):not(.solid-csd) .titlebar,
window:not(.tiled):not(.maximized):not(.fullscreen):not(.solid-csd) separator:first-child + headerbar:backdrop, window:not(.tiled):not(
window.background.nautilus-window {
background: rgba(250,250,250, 0.96);
}
.nautilus-window placessidebar.background {
background: rgba(250,250,250, 0);
}