Skip to content

Instantly share code, notes, and snippets.

View AeroNotix's full-sized avatar
💭
🇺🇦

Aaron France AeroNotix

💭
🇺🇦
View GitHub Profile
FIREFOX = False
EMACS = False
THUNDERBIRD = False
TERMINAL = False
SKYPE = False
@hook.subscribe.client_new
def dialogs(window):
windowtype = window.window.get_wm_class()
program_dict = {'firefox-aurora': False,
'emacs':, False,
'thunderbird': False,
'urxvt': False,
'skype': False}
@hook.subscribe.client_new
def dialogs(window):
windowtype = window.window.get_wm_class()
program_dict = {'firefox-aurora': False,
'emacs': False,
'thunderbird': False,
'urxvt': False,
'skype': False}
@hook.subscribe.client_new
def dialogs(window):
@hook.subscribe.client_new
def dialogs(window):
program_dict = {'firefox-aurora': 'Home',
'emacs': 'emacs',
'thunderbird': 'mail',
'urxvt': 'terminal',
'skype': 'skype'}
;; EMACS CONFIGURATION FILE
(add-to-list 'load-path "~/.emacs.d/")
(let ((default-directory "~/.emacs.d/color-theme-6.6.0/"))
(normal-top-level-add-to-load-path '("."))
(normal-top-level-add-subdirs-to-load-path))
(require 'color-theme)
from libqtile.manager import Key, Screen, Group
from libqtile.command import lazy
from libqtile import layout, bar, widget, hook
keys = [
# SWAP MASTER WINDOWS AROUND
Key(["mod1"], "n", lazy.layout.down()),
Key(["mod1"], "m", lazy.layout.up()),
from libqtile.manager import Key, Screen, Group
from libqtile.command import lazy
from libqtile import layout, bar, widget, hook
keys = [
# SWAP MASTER WINDOWS AROUND
Key(["mod1"], "n", lazy.layout.down()),
Key(["mod1"], "m", lazy.layout.up()),
"""
Script to notify of a highlight
"""
class WeeChatEx(Exception):
pass
try:
import weechat
except ImportError:
def generic_wrapper(f):
print 'entering wrapper function'
def inner_function():
print f()
print 'leaving wrapper'
return inner_function
# configs without
self.layouts = globs.get("layouts", self.default_layout())
self.screens = globs.get("screens")
self.groups = globs.get("groups")
self.keys = globs.get("keys")
def default_layout(self):
"""