M-q
Reload XMonad configurationM-S-q
Exit XMonad
M-SPC
Switch to next layout in current workspaceM-S-SPC
Reset layout in current workspaceM-f
Switch to fullscreen layout
#!/usr/bin/python2 | |
# coding=utf-8 | |
# Archey Plus [version 0.2.8] | |
# | |
# Archey is a system information tool written in Python. | |
# This tool should work all supported OSs. | |
# | |
# Maintained by Melik Manukyan <[email protected]> | |
# ASCII art by Brett Bohnenkamper <[email protected]> | |
# Changes Jerome Launay <[email protected]> |
(defun toggle-tabs-local () | |
(interactive) | |
(if indent-tabs-mode | |
(setq-local indent-tabs-mode nil) | |
(setq-local indent-tabs-mode t))) | |
(defun set-indentation-local () | |
(interactive) | |
(let ((indent (string-to-number (read-string "Indentation: ")))) | |
(setq-local tab-width indent) |
Xft.dpi: 150 | |
Xft.antialias: true | |
Xft.hinting: true | |
Xft.rgba: rgb | |
Xft.hintstyle: hintslight | |
rofi.color-enabled: true | |
rofi.font: Hack Bold 16 | |
rofi.modi: window,run,ssh | |
rofi.opacity: 90 |
set nocompatible | |
if empty(glob('~/.config/nvim/autoload/plug.vim')) | |
silent !curl -fLo ~/.config/nvim/autoload/plug.vim --create-dirs | |
\ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim | |
autocmd VimEnter * PlugInstall --sync | source $MYVIMRC | |
endif | |
if (has("nvim")) | |
let $NVIM_TUI_ENABLE_CURSOR_SHAPE=1 |
(use-package persp-mode :demand t | |
:config | |
(setq wg-morph-on nil | |
persp-autokill-buffer-on-remove 'kill-weak | |
persp-nil-name "nil" | |
persp-nil-hidden t | |
persp-auto-save-fname "autosave" | |
persp-auto-resume-time 1 | |
persp-auto-save-opt 1 |
# puts timestamps into an easily comparable format | |
extract_timestamp() { | |
local RAW="$(echo "$1" | cut -c1-31)" | |
echo "$(date --date="$RAW" '+%Y-%m-%d:%H:%M:%S')" | |
} | |
# removes html characters that are interpreted poorly by dunst | |
format_string() { | |
echo "$1" | sed 's/>/\>/' | sed 's/</\</' | sed 's/\$/\\$/' | |
} |
# vim: ft=python fileencoding=utf-8 sts=4 sw=4 et: | |
# Copyright 2014-2017 Florian Bruhin (The Compiler) <[email protected]> | |
# | |
# This file is part of qutebrowser. | |
# | |
# qutebrowser is free software: you can redistribute it and/or modify | |
# it under the terms of the GNU General Public License as published by | |
# the Free Software Foundation, either version 3 of the License, or | |
# (at your option) any later version. |
#!/bin/sh | |
for file in "$@" | |
do | |
if [ -f "$file" ]; then | |
termite -e "nvim $file" | |
break | |
fi | |
done |
(evil-define-command evil-ex (&optional initial-input) | |
:keep-visual t | |
:repeat abort | |
(interactive | |
(list | |
(let ((s (concat | |
(cond | |
(current-prefix-arg | |
(let ((arg (prefix-numeric-value current-prefix-arg))) | |
(cond ((< arg 0) (setq arg (1+ arg))) |