summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2019-10-01 19:59:29 +0200
committerAlan Pearce2019-10-01 22:17:40 +0200
commit75166a4de865570f27c074c82e47168ac8630f83 (patch)
tree5cdbdf890fb92b2655ac71a3e3c76d179fabef1f
parentb6a175d58e59517517a0590f129e3b515ef94137 (diff)
downloaddotfiles-75166a4de865570f27c074c82e47168ac8630f83.tar.xz
dotfiles-75166a4de865570f27c074c82e47168ac8630f83.zip
Cleanup unused dotfile categories
-rw-r--r--LaunchAgents/gnu.emacs.daemon.plist19
-rw-r--r--atop/.atoprc2
-rw-r--r--clojure/.lein/profiles.clj11
-rw-r--r--dwm/dwm/config.h106
-rwxr-xr-xfish/.config/fish/config.fish1
-rw-r--r--global/.globalrc6
-rw-r--r--hg/.hgrc9
-rw-r--r--karabiner/.config/karabiner/karabiner.json130
-rw-r--r--minttyrc/.minttyrc33
-rw-r--r--mpv/.config/config11
-rw-r--r--ruby/.gemrc1
-rw-r--r--slate/.slate45
-rw-r--r--tmux/.tmux.conf19
-rw-r--r--vagrant/.vagrant.d/Vagrantfile7
-rw-r--r--vagrant/.vagrant.d/ansible/centos.yml31
-rw-r--r--vagrant/.vagrant.d/ansible/debian.yml15
-rw-r--r--vagrant/.vagrant.d/ansible/site.yml32
-rw-r--r--xbindkeys/.xbindkeysrc.scm57
-rw-r--r--xmobar/.xmobarrc40
-rw-r--r--xmodmap/.xmodmaprc2
-rw-r--r--xmonad/.xmonad/xmonad.hs92
-rwxr-xr-xxprofile/.xprofile4
-rw-r--r--xresources/.icons/default/index.theme5
23 files changed, 0 insertions, 678 deletions
diff --git a/LaunchAgents/gnu.emacs.daemon.plist b/LaunchAgents/gnu.emacs.daemon.plist deleted file mode 100644 index 873e28f..0000000 --- a/LaunchAgents/gnu.emacs.daemon.plist +++ /dev/null
@@ -1,19 +0,0 @@
1<?xml version="1.0" encoding="UTF-8"?>
2<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3<plist version="1.0">
4<dict>
5 <key>ServiceDescription</key>
6 <string>Gnu Emacs Daemon</string>
7 <key>ProgramArguments</key>
8 <array>
9 <string>/Applications/Emacs.app/Contents/MacOS/Emacs</string>
10 <string>--daemon</string>
11 </array>
12 <key>RunAtLoad</key>
13 <true/>
14 <key>WorkingDirectory</key>
15 <string>/Users/alan</string>
16 <key>Label</key>
17 <string>gnu.emacs.daemon</string>
18</dict>
19</plist>
diff --git a/atop/.atoprc b/atop/.atoprc deleted file mode 100644 index d03319e..0000000 --- a/atop/.atoprc +++ /dev/null
@@ -1,2 +0,0 @@
1flags Aa
2maxlinecpu 0 \ No newline at end of file
diff --git a/clojure/.lein/profiles.clj b/clojure/.lein/profiles.clj deleted file mode 100644 index 99c0de2..0000000 --- a/clojure/.lein/profiles.clj +++ /dev/null
@@ -1,11 +0,0 @@
1{:user {:plugins [[org.clojure/tools.namespace "0.2.10"]
2 [lein-autoexpect "1.6.0"]
3 [lein-ancient "0.6.7"]
4 [lein-droid "0.4.0-alpha4"]]
5 :dependencies [[org.clojure/tools.trace "0.7.8"]]
6 :repl-options {:init
7 (do
8 (require '[clojure.java.javadoc :refer [javadoc]])
9 (clojure.java.javadoc/add-local-javadoc
10 "/usr/share/doc/java8-openjdk/api/"))}}
11 :repl {:plugins [cider/cider-nrepl "0.9.1"]}}
diff --git a/dwm/dwm/config.h b/dwm/dwm/config.h deleted file mode 100644 index 659dfa1..0000000 --- a/dwm/dwm/config.h +++ /dev/null
@@ -1,106 +0,0 @@
1/* See LICENSE file for copyright and license details. */
2
3/* appearance */
4static const char font[] = "-misc-termsyn-medium-r-normal--11-79-100-100-c-60-*-*";
5static const char normbordercolor[] = "#657b83";
6static const char normbgcolor[] = "#002b36";
7static const char normfgcolor[] = "#fdf6e3";
8static const char selbordercolor[] = "#859900";
9static const char selbgcolor[] = "#586e75";
10static const char selfgcolor[] = "#fdf6e3";
11static const unsigned int borderpx = 1; /* border pixel of windows */
12static const unsigned int snap = 32; /* snap pixel */
13static const Bool showbar = True; /* False means no bar */
14static const Bool topbar = True; /* False means bottom bar */
15
16/* tagging */
17static const char *tags[] = { "shell", "code", "web", "misc" };
18
19static const Rule rules[] = {
20 /* class instance title tags mask isfloating monitor */
21 { "Firefox", NULL, NULL, 1 << 2, False, -1 },
22 { "URxvt", NULL, NULL, 1 << 0, False, -1 },
23 { "Emacs", "emacs", NULL, 1 << 1, False, -1 },
24 { "KeePass2", NULL, NULL, 1 << 3, False, -1 },
25 { "deadbeef", NULL, NULL, 1 << 3, False, -1 },
26 { "Emacs", "Ediff", NULL, 0, True, -1 },
27};
28
29/* layout(s) */
30static const float mfact = 0.55; /* factor of master area size [0.05..0.95] */
31static const int nmaster = 1; /* number of clients in master area */
32static const Bool resizehints = True; /* True means respect size hints in tiled resizals */
33
34static const Layout layouts[] = {
35 /* symbol arrange function */
36 { "[]=", tile }, /* first entry is default */
37 { "><>", NULL }, /* no layout function means floating behavior */
38 { "[M]", monocle },
39};
40
41/* key definitions */
42#define MODKEY Mod4Mask
43#define TAGKEYS(KEY,TAG) \
44 { MODKEY, KEY, toggleview, {.ui = 1 << TAG} }, \
45 { MODKEY|ControlMask, KEY, view, {.ui = 1 << TAG} }, \
46 { MODKEY|ShiftMask, KEY, tag, {.ui = 1 << TAG} }, \
47 { MODKEY|ControlMask|ShiftMask, KEY, toggletag, {.ui = 1 << TAG} },
48
49/* helper for spawning shell commands in the pre dwm-5.0 fashion */
50#define SHCMD(cmd) { .v = (const char*[]){ "/bin/sh", "-c", cmd, NULL } }
51
52/* commands */
53static const char *termcmd[] = { "mlterm", NULL };
54
55static Key keys[] = {
56 /* modifier key function argument */
57 { MODKEY|ShiftMask, XK_b, togglebar, {0} },
58 { MODKEY, XK_e, focusstack, {.i = +1 } },
59 { MODKEY, XK_i, focusstack, {.i = -1 } },
60 { MODKEY, XK_s, incnmaster, {.i = +1 } },
61 { MODKEY, XK_r, incnmaster, {.i = -1 } },
62 { MODKEY, XK_n, setmfact, {.f = -0.05} },
63 { MODKEY, XK_o, setmfact, {.f = +0.05} },
64 { MODKEY, XK_Return, zoom, {0} },
65 { MODKEY, XK_Tab, view, {0} },
66 { MODKEY|ShiftMask, XK_c, killclient, {0} },
67 { MODKEY, XK_g, setlayout, {.v = &layouts[0]} },
68 { MODKEY, XK_f, setlayout, {.v = &layouts[1]} },
69 { MODKEY, XK_m, setlayout, {.v = &layouts[2]} },
70 { MODKEY, XK_space, setlayout, {0} },
71 { MODKEY|ShiftMask, XK_space, togglefloating, {0} },
72 { MODKEY, XK_0, view, {.ui = ~0 } },
73 { MODKEY|ShiftMask, XK_0, tag, {.ui = ~0 } },
74 { MODKEY, XK_comma, focusmon, {.i = -1 } },
75 { MODKEY, XK_period, focusmon, {.i = +1 } },
76 { MODKEY|ShiftMask, XK_comma, tagmon, {.i = -1 } },
77 { MODKEY|ShiftMask, XK_period, tagmon, {.i = +1 } },
78 TAGKEYS( XK_1, 0)
79 TAGKEYS( XK_2, 1)
80 TAGKEYS( XK_3, 2)
81 TAGKEYS( XK_4, 3)
82 TAGKEYS( XK_5, 4)
83 TAGKEYS( XK_6, 5)
84 TAGKEYS( XK_7, 6)
85 TAGKEYS( XK_8, 7)
86 TAGKEYS( XK_9, 8)
87 { MODKEY|ShiftMask, XK_q, quit, {0} },
88 { MODKEY|ShiftMask, XK_r, quit, { .i = 5 } },
89};
90
91/* button definitions */
92/* click can be ClkLtSymbol, ClkStatusText, ClkWinTitle, ClkClientWin, or ClkRootWin */
93static Button buttons[] = {
94 /* click event mask button function argument */
95 { ClkLtSymbol, 0, Button1, setlayout, {0} },
96 { ClkLtSymbol, 0, Button3, setlayout, {.v = &layouts[2]} },
97 { ClkWinTitle, 0, Button2, zoom, {0} },
98 { ClkStatusText, 0, Button2, spawn, {.v = termcmd } },
99 { ClkClientWin, MODKEY, Button1, movemouse, {0} },
100 { ClkClientWin, MODKEY, Button2, togglefloating, {0} },
101 { ClkClientWin, MODKEY, Button3, resizemouse, {0} },
102 { ClkTagBar, 0, Button1, toggleview, {0} },
103 { ClkTagBar, 0, Button3, view, {0} },
104 { ClkTagBar, MODKEY, Button1, tag, {0} },
105 { ClkTagBar, MODKEY, Button3, toggletag, {0} },
106};
diff --git a/fish/.config/fish/config.fish b/fish/.config/fish/config.fish deleted file mode 100755 index ff3ff35..0000000 --- a/fish/.config/fish/config.fish +++ /dev/null
@@ -1 +0,0 @@
1set -gx PATH ~/.local/bin $PATH
diff --git a/global/.globalrc b/global/.globalrc deleted file mode 100644 index 7fd1a0b..0000000 --- a/global/.globalrc +++ /dev/null
@@ -1,6 +0,0 @@
1default:\
2 :tc=symfony_global:
3
4symfony_global:\
5 :suffixes=php,yml,yaml,html,twig,xml:\
6 :skip=/app/cache,node_modules,bin,/app/logs,GPATH,GTAGS,GRTAGS,GSYMS,HTML/,HTML.pub/,html/,tags,TAGS,ID,y.tab.c,y.tab.h,.notfunction,cscope.out,cscope.po.out,cscope.in.out,.gdbinit,SCCS/,RCS/,CVS/,CVSROOT/,{arch}/,.svn/,.git/,.cvsrc,.cvsignore,.gitignore,.cvspass,.cvswrappers,.deps/,autom4te.cache/,.snprj/:
diff --git a/hg/.hgrc b/hg/.hgrc deleted file mode 100644 index 9768743..0000000 --- a/hg/.hgrc +++ /dev/null
@@ -1,9 +0,0 @@
1[ui]
2username = Alan Pearce <alan@alanpearce.eu>
3
4[extensions]
5purge =
6progress =
7color =
8eol =
9record = \ No newline at end of file
diff --git a/karabiner/.config/karabiner/karabiner.json b/karabiner/.config/karabiner/karabiner.json deleted file mode 100644 index 15ee8f1..0000000 --- a/karabiner/.config/karabiner/karabiner.json +++ /dev/null
@@ -1,130 +0,0 @@
1{
2 "global": {
3 "check_for_updates_on_startup": true,
4 "show_in_menu_bar": true,
5 "show_profile_name_in_menu_bar": false
6 },
7 "profiles": [
8 {
9 "complex_modifications": {
10 "parameters": {
11 "basic.to_if_alone_timeout_milliseconds": 1000
12 },
13 "rules": []
14 },
15 "devices": [
16 {
17 "disable_built_in_keyboard_if_exists": false,
18 "identifiers": {
19 "is_keyboard": true,
20 "is_pointing_device": false,
21 "product_id": 602,
22 "vendor_id": 1452
23 },
24 "ignore": true,
25 "keyboard_type": 41
26 },
27 {
28 "disable_built_in_keyboard_if_exists": false,
29 "identifiers": {
30 "is_keyboard": true,
31 "is_pointing_device": false,
32 "product_id": 8209,
33 "vendor_id": 1241
34 },
35 "ignore": false,
36 "keyboard_type": 40
37 }
38 ],
39 "fn_function_keys": {
40 "f1": "vk_consumer_brightness_down",
41 "f10": "mute",
42 "f11": "volume_down",
43 "f12": "volume_up",
44 "f2": "vk_consumer_brightness_up",
45 "f3": "vk_mission_control",
46 "f4": "vk_launchpad",
47 "f5": "vk_consumer_illumination_down",
48 "f6": "vk_consumer_illumination_up",
49 "f7": "vk_consumer_previous",
50 "f8": "vk_consumer_play",
51 "f9": "vk_consumer_next"
52 },
53 "name": "Default Profile",
54 "selected": true,
55 "simple_modifications": {
56 "caps_lock": "delete_or_backspace",
57 "left_command": "left_option",
58 "left_control": "left_command",
59 "left_option": "right_control",
60 "menu": "fn",
61 "non_us_backslash": "grave_accent_and_tilde",
62 "right_command": "right_option",
63 "right_control": "right_command",
64 "right_option": "right_control"
65 },
66 "virtual_hid_keyboard": {
67 "caps_lock_delay_milliseconds": 0,
68 "keyboard_type": "ansi"
69 }
70 },
71 {
72 "complex_modifications": {
73 "parameters": {
74 "basic.to_if_alone_timeout_milliseconds": 1000
75 },
76 "rules": []
77 },
78 "devices": [
79 {
80 "disable_built_in_keyboard_if_exists": false,
81 "identifiers": {
82 "is_keyboard": true,
83 "is_pointing_device": false,
84 "product_id": 602,
85 "vendor_id": 1452
86 },
87 "ignore": false
88 },
89 {
90 "disable_built_in_keyboard_if_exists": false,
91 "identifiers": {
92 "is_keyboard": true,
93 "is_pointing_device": false,
94 "product_id": 33290,
95 "vendor_id": 1452
96 },
97 "ignore": true
98 }
99 ],
100 "fn_function_keys": {
101 "f1": "display_brightness_decrement",
102 "f10": "mute",
103 "f11": "volume_decrement",
104 "f12": "volume_increment",
105 "f2": "display_brightness_increment",
106 "f3": "mission_control",
107 "f4": "launchpad",
108 "f5": "illumination_decrement",
109 "f6": "illumination_increment",
110 "f7": "rewind",
111 "f8": "play_or_pause",
112 "f9": "fastforward"
113 },
114 "name": "Macbook keyboard",
115 "selected": false,
116 "simple_modifications": {
117 "caps_lock": "delete_or_backspace",
118 "grave_accent_and_tilde": "non_us_backslash",
119 "left_command": "left_control",
120 "left_control": "left_command",
121 "non_us_backslash": "grave_accent_and_tilde",
122 "right_command": "right_control"
123 },
124 "virtual_hid_keyboard": {
125 "caps_lock_delay_milliseconds": 0,
126 "keyboard_type": "ansi"
127 }
128 }
129 ]
130}
diff --git a/minttyrc/.minttyrc b/minttyrc/.minttyrc deleted file mode 100644 index 2e7f2d8..0000000 --- a/minttyrc/.minttyrc +++ /dev/null
@@ -1,33 +0,0 @@
1BoldAsFont=no
2Font=Cousine
3FontHeight=12
4FontSmoothing=default
5Locale=en_GB
6Charset=UTF-8
7Columns=100
8Rows=36
9Scrollbar=none
10Transparency=off
11OpaqueWhenFocused=no
12CursorType=block
13CursorBlinks=no
14RightClickAction=extend
15BoldBlack=0,43,54
16Black=7,54,66
17BoldGreen=88,110,117
18BoldYellow=101,123,131
19BoldBlue=131,148,150
20BoldCyan=147,161,161
21White=238,232,213
22BoldWhite=253,246,227
23Yellow=181,137,0
24BoldRed=203,75,22
25Red=220,50,47
26Magenta=211,54,130
27BoldMagenta=108,113,196
28Blue=38,139,210
29Cyan=42,161,152
30Green=133,153,0
31ForegroundColour=101,123,117
32BackgroundColour=253,246,227
33CursorColour=112,129,131
diff --git a/mpv/.config/config b/mpv/.config/config deleted file mode 100644 index 56c6d99..0000000 --- a/mpv/.config/config +++ /dev/null
@@ -1,11 +0,0 @@
1[default]
2
3vo=opengl-hq:backend=cocoa
4ao=coreaudio
5
6hwdec=videotoolbox
7
8alang=en,eng,de,ger
9
10ytdl
11ytdl-format=best
diff --git a/ruby/.gemrc b/ruby/.gemrc deleted file mode 100644 index ab4f784..0000000 --- a/ruby/.gemrc +++ /dev/null
@@ -1 +0,0 @@
1gem: --user-install -n~/.local/bin \ No newline at end of file
diff --git a/slate/.slate b/slate/.slate deleted file mode 100644 index e8c675d..0000000 --- a/slate/.slate +++ /dev/null
@@ -1,45 +0,0 @@
1config keyboardLayout colemak
2
3config defaultToCurrentScreen true
4config nudgePercentOf screenSize
5config resizePercentOf screenSize
6
7config windowHintsSpread true
8
9alias mon-laptop 1680x1050
10alias mon-work 1920x1200
11alias mon-home 2560x1440
12
13alias 1-full throw 0 resize
14alias 1-left push left bar-resize:screenSizeX/2 0
15alias 1-right push right bar-resize:screenSizeX/2 0
16alias 2-left push left bar-resize:screenSizeX/2 1
17alias 2-right push right bar-resize:screenSizeX/2 1
18
19# Push Bindings
20bind right:alt;cmd push right bar-resize:screenSizeX/2
21bind left:alt;cmd push left bar-resize:screenSizeX/2
22bind up:alt;cmd push up bar-resize:screenSizeY/2
23bind down:alt;cmd push down bar-resize:screenSizeY/2
24
25# Throw Bindings
26bind 1:ctrl;alt throw 0 resize
27bind 2:ctrl;alt throw 1 resize
28bind 3:ctrl;alt throw 2 resize
29bind right:ctrl;alt;cmd throw right resize
30bind left:ctrl;alt;cmd throw left resize
31bind up:ctrl;alt;cmd throw up resize
32bind down:ctrl;alt;cmd throw down resize
33
34bind f:cmd;shift move screenOriginX;screenOriginY screenSizeX;screenSizeY
35
36# Focus Bindings
37bind right:cmd;shift focus right
38bind left:cmd;shift focus left
39# bind up:cmd;shift focus up
40# bind down:cmd;shift focus down
41bind up:cmd;shift focus behind
42bind down:cmd;shift focus behind
43
44# Window Hints
45bind esc:cmd hint setnriao
diff --git a/tmux/.tmux.conf b/tmux/.tmux.conf deleted file mode 100644 index 697e123..0000000 --- a/tmux/.tmux.conf +++ /dev/null
@@ -1,19 +0,0 @@
1#setw -g xterm-keys on
2#set -g terminal-overrides "xterm*:kLFT5=\eOD:kRIT5=\eOC:kUP5=\eOA:kDN5=\eOB:smkx@:rmkx@"
3
4set-window-option -g utf8 on
5set-option -g status-utf8 on
6set-option -g prefix C-z
7
8bind C-n send-prefix
9unbind-key C-b
10
11set -g default-terminal "screen-256color"
12
13# Colemak style
14bind-key C-i next-window
15
16set -g base-index 1
17
18set -g update-environment "DISPLAY SSH_ASKPASS SSH_AGENT_GIT SSH_CONNECTION WINDOWID XAUTHORITY"
19set-environment -g 'SSH_AUTH_SOCK' '/home/alan/.ssh/ssh_auth_sock' \ No newline at end of file
diff --git a/vagrant/.vagrant.d/Vagrantfile b/vagrant/.vagrant.d/Vagrantfile deleted file mode 100644 index 4c69c88..0000000 --- a/vagrant/.vagrant.d/Vagrantfile +++ /dev/null
@@ -1,7 +0,0 @@
1# -*- mode: ruby -*-
2Vagrant.configure(2) do |config|
3 config.vm.provision "ansible" do |ansible|
4 ansible.playbook = "#{File.dirname(__FILE__)}/ansible/site.yml"
5 ansible.limit = "all"
6 end
7end
diff --git a/vagrant/.vagrant.d/ansible/centos.yml b/vagrant/.vagrant.d/ansible/centos.yml deleted file mode 100644 index 1a6759a..0000000 --- a/vagrant/.vagrant.d/ansible/centos.yml +++ /dev/null
@@ -1,31 +0,0 @@
1- name: Ensure EPEL repository package is present
2 register: centos_repos
3 get_url:
4 url: "{{ item.url }}"
5 dest: "/root/{{ item.dest }}"
6 with_items:
7 - url: http://lon.mirror.rackspace.com/ius/stable/CentOS/6/x86_64/epel-release-6-5.noarch.rpm
8 dest: epel-repo.rpm
9 - url: http://lon.mirror.rackspace.com/ius/stable/CentOS/6/x86_64/ius-release-1.0-11.ius.centos6.noarch.rpm
10 dest: ius-repo.rpm
11
12- name: Fetch utilities repo
13 get_url:
14 url: http://download.opensuse.org/repositories/utilities/CentOS_6/utilities.repo
15 dest: /etc/yum.repos.d/utilities.repo
16
17- name: Ensure IUS and EPEL repositories are installed
18 when: centos_repos.changed
19 yum:
20 name: "{{ item }}"
21 state: installed
22 with_items:
23 - /root/epel-repo.rpm
24 - /root/ius-repo.rpm
25
26
27- name: Ensure that tools are installed
28 with_items: packages
29 yum:
30 name: "{{ item }}"
31 state: present
diff --git a/vagrant/.vagrant.d/ansible/debian.yml b/vagrant/.vagrant.d/ansible/debian.yml deleted file mode 100644 index 9e06af6..0000000 --- a/vagrant/.vagrant.d/ansible/debian.yml +++ /dev/null
@@ -1,15 +0,0 @@
1- get_url:
2 url: https://thoughtbot.github.io/rcm/debs/rcm_1.2.2-2_all.deb
3 dest: /tmp/rcm.deb
4
5- command: dpkg --skip-same-version -i /tmp/rcm.deb
6 register: dpkg
7 changed_when: "dpkg.stdout.startswith('Selecting')"
8
9- name: Ensure that tools are installed
10 with_items: packages
11 apt:
12 pkg: "{{ item }}"
13 state: present
14 cache_valid_time: 86400
15 update_cache: yes \ No newline at end of file
diff --git a/vagrant/.vagrant.d/ansible/site.yml b/vagrant/.vagrant.d/ansible/site.yml deleted file mode 100644 index 1338455..0000000 --- a/vagrant/.vagrant.d/ansible/site.yml +++ /dev/null
@@ -1,32 +0,0 @@
1---
2- hosts: all
3 sudo: yes
4 vars:
5 packages:
6 - zsh
7 - htop
8 - lsof
9 - git
10 - rcm
11 tasks:
12 - include: centos.yml
13 when: ansible_distribution == "CentOS"
14
15 - include: debian.yml
16 when: ansible_distribution == "Debian"
17
18 - name: Ensure that dotfiles are checked out
19 sudo: no
20 git:
21 repo: git://github.com/alanpearce/dotfiles
22 dest: ~/dotfiles
23 update: yes
24
25 - name: Change shell to zsh
26 user:
27 name: vagrant
28 shell: /bin/zsh
29
30 - name: Install dotfiles
31 sudo: no
32 command: /usr/bin/rcup -d dotfiles -t zsh -t git -x README.org -x Brewfile -x LaunchAgents chdir=/home/vagrant \ No newline at end of file
diff --git a/xbindkeys/.xbindkeysrc.scm b/xbindkeys/.xbindkeysrc.scm deleted file mode 100644 index b8812cd..0000000 --- a/xbindkeys/.xbindkeysrc.scm +++ /dev/null
@@ -1,57 +0,0 @@
1;; To specify a key, you can use 'xbindkeys --key' or
2;; 'xbindkeys --multikey' and put one of the two lines in this file.
3
4;; A list of keys is in /usr/include/X11/keysym.h and in
5;; /usr/include/X11/keysymdef.h
6;; The XK_ is not needed.
7
8;; List of modifier:
9;; Release, Control, Shift, Mod1 (Alt), Mod2 (NumLock),
10;; Mod3 (CapsLock), Mod4, Mod5 (Scroll).
11
12
13;; The release modifier is not a standard X modifier, but you can
14;; use it if you want to catch release instead of press events
15
16;; By defaults, xbindkeys does not pay attention to modifiers
17;; NumLock, CapsLock and ScrollLock.
18;; Uncomment the lines below if you want to use them.
19;; To dissable them, call the functions with #f
20
21
22;;;;EXTRA FUNCTIONS: Enable numlock, scrolllock or capslock usage
23;;(set-numlock! #t)
24;;(set-scrolllock! #t)
25;;(set-capslock! #t)
26
27;;;;; Scheme API reference
28;;;;
29;; Optional modifier state:
30;; (set-numlock! #f or #t)
31;; (set-scrolllock! #f or #t)
32;; (set-capslock! #f or #t)
33;;
34;; Shell command key:
35;; (xbindkey key "foo-bar-command [args]")
36;; (xbindkey '(modifier* key) "foo-bar-command [args]")
37;;
38;; Scheme function key:
39;; (xbindkey-function key function-name-or-lambda-function)
40;; (xbindkey-function '(modifier* key) function-name-or-lambda-function)
41;;
42;; Other functions:
43;; (remove-xbindkey key)
44;; (run-command "foo-bar-command [args]")
45;; (grab-all-keys)
46;; (ungrab-all-keys)
47;; (remove-all-keys)
48;; (debug)
49
50(xbindkey '(mod4 F9) "mpc toggle")
51(xbindkey '(mod4 F10) "mpc prev")
52(xbindkey '(mod4 F11) "mpc next")
53(xbindkey '(mod4 F12) "mpc stop")
54
55(xbindkey '(mod4 p) "dmenu_run -fn '-misc-termsyn-medium-r-normal--11-79-100-100-c-60-*-*' -nb '#002b36' -nf '#fdf6e3' -sb '#586e75' -sf '#fdf6e3' -hist '/home/alan/.cache/dmenu_run_history'")
56(xbindkey '(mod4 shift T) "mlterm")
57(xbindkey '(mod4 shift E) "emacsclient -c")
diff --git a/xmobar/.xmobarrc b/xmobar/.xmobarrc deleted file mode 100644 index dd54a92..0000000 --- a/xmobar/.xmobarrc +++ /dev/null
@@ -1,40 +0,0 @@
1Config { font = "-*-terminus-medium-r-*-*-12-*-*-*-*-*-*-*"
2 , borderColor = "#657b83"
3 , border = TopB
4 , bgColor = "#fdf6e3"
5 , fgColor = "#657b83"
6 , position = BottomW L 90
7 , lowerOnStart = False
8 , hideOnStart = False
9 , persistent = True
10 , commands = [ Run Weather "EGNX" ["-t", "<tempC>ºC"
11 ,"-L", "12"
12 ,"-H", "22"
13 ,"--low", "#268bd2"
14 ,"--normal", "#859900"
15 ,"--high", "#dc322f"
16 ] 36000
17 , Run DynNetwork ["-t", "Net: <rx>¦<tx>KB"
18 ,"-L", "512"
19 ,"-H", "10240"
20 ,"--low", "#859900"
21 ,"--normal", "#b58900"
22 ,"--high", "#dc322f"
23 ,"-m", "5"
24 ] 10
25 , Run Cpu ["-p", "3"
26 ,"-L", "3"
27 ,"-H", "50"
28 ,"--normal", "#859900"
29 ,"--high", "#dc322f"
30 ] 10
31 , Run Memory ["-p", "3"
32 ,"-t", "Mem: <usedratio>%"
33 ] 20
34 , Run StdinReader
35 , Run Date "%a %b %_d %Y %H:%M" "date" 100
36 ]
37 , sepChar = "%"
38 , alignSep = "}{"
39 , template = "%StdinReader% }{ %cpu% | %memory% | %dynnetwork% | %EGNX% | <fc=#2aa198>%date%</fc>"
40 }
diff --git a/xmodmap/.xmodmaprc b/xmodmap/.xmodmaprc deleted file mode 100644 index 16a7a63..0000000 --- a/xmodmap/.xmodmaprc +++ /dev/null
@@ -1,2 +0,0 @@
1clear Lock
2keycode 0x42 = Escape \ No newline at end of file
diff --git a/xmonad/.xmonad/xmonad.hs b/xmonad/.xmonad/xmonad.hs deleted file mode 100644 index 21e197d..0000000 --- a/xmonad/.xmonad/xmonad.hs +++ /dev/null
@@ -1,92 +0,0 @@
1import XMonad
2import qualified XMonad.StackSet as W
3import XMonad.Hooks.DynamicLog
4import XMonad.Hooks.EwmhDesktops
5import XMonad.Hooks.ManageDocks
6import XMonad.Hooks.ManageHelpers
7import XMonad.Layout.NoBorders
8import XMonad.Layout.WindowNavigation
9import XMonad.Util.EZConfig
10import XMonad.Util.Run(spawnPipe)
11import System.Exit
12import System.IO
13import Data.List(isPrefixOf)
14
15myManageHook :: ManageHook
16myManageHook = composeOne
17 [ className =? "Firefox" -?> doShift "2"
18 , className =? "Pidgin" -?> doShift "3"
19 , className =? "nuvolaplayer" -?> doShift "8"
20 , className =? "Transmission-gtk" -?> doShift "9"
21 , isFullscreen -?> doFullFloat
22 , fmap ("mpv" `isPrefixOf`) title -?> doFullFloat
23 ]
24
25myKeys c = mkKeymap c $
26 [ ("M-S-<Return>", spawn $ XMonad.terminal c)
27 , ("M-k", kill)
28
29 , ("M-<Space>", spawn "exec $(dmenu_path | dmenu)")
30 , ("M-x M-e", spawn "emacsclient -c")
31
32 , ("M-t", withFocused $ windows . W.sink)
33 , ("M-m", windows W.focusMaster)
34 , ("M-S-m", windows W.swapMaster)
35
36 , ("M-<R>", sendMessage $ Go R)
37 , ("M-<L>", sendMessage $ Go L)
38 , ("M-<U>", sendMessage $ Go U)
39 , ("M-<D>", sendMessage $ Go D)
40 , ("M-M1-<R>", sendMessage $ Swap R)
41 , ("M-M1-<L>", sendMessage $ Swap L)
42 , ("M-M1-<U>", sendMessage $ Swap U)
43 , ("M-M1-<D>", sendMessage $ Swap D)
44 , ("M-C-<R>", sendMessage $ Move R)
45 , ("M-C-<L>", sendMessage $ Move L)
46 , ("M-C-<U>", sendMessage $ Move U)
47 , ("M-C-<D>", sendMessage $ Move D)
48
49 , ("M-n", windows W.focusDown)
50 , ("M-p", windows W.focusUp)
51 , ("M-S-n", windows W.swapDown)
52 , ("M-S-p", windows W.swapUp)
53
54 , ("M-,", sendMessage (IncMasterN 1))
55 , ("M-.", sendMessage (IncMasterN (-1)))
56
57 , ("M-\\", sendMessage NextLayout)
58 , ("M-S-\\", setLayout $ XMonad.layoutHook c)
59
60 , ("M-+", sendMessage Shrink)
61 , ("M--", sendMessage Expand)
62
63 , ("M-q", broadcastMessage ReleaseResources
64 >> restart "xmonad" True)
65 , ("C-M-q", io (exitWith ExitSuccess))
66 ] ++
67
68 -- mod-[1..9], Switch to workspace N
69 -- mod-shift-[1..9], Move client to workspace N
70 [(m ++ k, windows $ f w)
71 | (w, k) <- zip (XMonad.workspaces c) (map show [1..9])
72 , (m, f) <- [("M-",W.greedyView), ("M-S-",W.shift)]]
73
74
75main :: IO ()
76main = do
77 xmproc <-spawnPipe "/usr/bin/xmobar /home/alan/.xmobarrc"
78 xmonad $ defaultConfig
79 { manageHook = myManageHook <+> manageDocks <+> manageHook defaultConfig
80 , layoutHook = smartBorders . avoidStruts $ layoutHook defaultConfig
81 , logHook = dynamicLogWithPP xmobarPP
82 { ppOutput = hPutStrLn xmproc
83 , ppTitle = xmobarColor "#859900" "" . shorten 200
84 , ppCurrent = xmobarColor "#b58900" "". wrap "[" "]"
85 , ppHiddenNoWindows = xmobarColor "#93a1a1" ""
86 , ppUrgent = xmobarColor "#dc322f" "#b58900"
87 }
88 , terminal = "urxvt"
89 , modMask = mod4Mask
90 , handleEventHook = fullscreenEventHook
91 , keys = myKeys
92 }
diff --git a/xprofile/.xprofile b/xprofile/.xprofile deleted file mode 100755 index e63b62b..0000000 --- a/xprofile/.xprofile +++ /dev/null
@@ -1,4 +0,0 @@
1#!/bin/sh
2xmodmap .xmodmaprc
3xrdb -I$HOME/.xresources .xresources/main
4
diff --git a/xresources/.icons/default/index.theme b/xresources/.icons/default/index.theme deleted file mode 100644 index 5a9c43a..0000000 --- a/xresources/.icons/default/index.theme +++ /dev/null
@@ -1,5 +0,0 @@
1# This file is written by LXAppearance. Do not edit.
2[Icon Theme]
3Name=Default
4Comment=Default Cursor Theme
5Inherits=Babita_Oil