Various minor changes
* renamed .Xdefaults to .Xresources * replaced screen with tmux * added a darken function to .conkerorrc * added some new eshell alias' * added some new templates for emacs * cleaned up .xinitrc * .xmonad/ * added circle layout * added convince key binding Mod-grave which is the same thing as Mod-ESC * made emacs-scratch open in tmux session Signed-off-by: Collin J. Doering <rekahsoft@gmail.com>
This commit is contained in:
parent
224f475a46
commit
bbb41c023c
32
.Xdefaults
32
.Xdefaults
|
@ -1,32 +0,0 @@
|
||||||
! General URxvt visual options
|
|
||||||
URxvt.buffered: true
|
|
||||||
URxvt.foreground: white
|
|
||||||
URxvt.cursorColor: green
|
|
||||||
URxvt.underlineColor: yellow
|
|
||||||
URxvt.font: xft:Bitstream Vera Sans Mono:pixelsize=12:antialias=false
|
|
||||||
URxvt.boldFont: xft:Bitstream Vera Sans Mono:bold:pixelsize=13:antialias=false
|
|
||||||
URxvt.scrollstyle: plain
|
|
||||||
URxvt.depth: 32
|
|
||||||
URxvt.background: rgba:0000/0000/0000/cccc
|
|
||||||
urxvt.urgentOnBell: true
|
|
||||||
URxvt.underlineURLs: true
|
|
||||||
|
|
||||||
! Perl-exts to use
|
|
||||||
URxvt.perl-ext-common: default,clipboard,tabbedex,url-picker,keyboard-select,matcher
|
|
||||||
|
|
||||||
! Setup matcher perl-ext
|
|
||||||
URxvt.keysym.M-u: perl:url-picker
|
|
||||||
URxvt.urlLauncher: /usr/bin/conkeror
|
|
||||||
URxvt.matcher.button: 1
|
|
||||||
|
|
||||||
URxvt.keysym.M-Escape: perl:keyboard-select:activate
|
|
||||||
URxvt.keysym.M-s: perl:keyboard-select:search
|
|
||||||
|
|
||||||
! Setup tabbedex perl-ext
|
|
||||||
URxvt.tabbed.tabbar-bg: -1
|
|
||||||
|
|
||||||
! Force vncviewer to show a password dialog
|
|
||||||
vncviewer.passwordDialog: true
|
|
||||||
|
|
||||||
! Set default emacs font
|
|
||||||
Emacs.font: Terminus-12
|
|
|
@ -0,0 +1,76 @@
|
||||||
|
! File: .Xresources
|
||||||
|
! Author: Collin J. Doering
|
||||||
|
! Date: Jan 18, 2014
|
||||||
|
|
||||||
|
! Smyck color scheme (http://color.smyck.org/)
|
||||||
|
! Black
|
||||||
|
URxvt.color0: #000000
|
||||||
|
! Red
|
||||||
|
URxvt.color1: #C75646
|
||||||
|
! Green
|
||||||
|
URxvt.color2: #8EB33B
|
||||||
|
! Yellow
|
||||||
|
URxvt.color3: #D0B03C
|
||||||
|
! Blue
|
||||||
|
URxvt.color4: #72B3CC
|
||||||
|
! Purple
|
||||||
|
URxvt.color5: #C8A0D1
|
||||||
|
! Cyan
|
||||||
|
URxvt.color6: #218693
|
||||||
|
! White
|
||||||
|
URxvt.color7: #B0B0B0
|
||||||
|
! Grey
|
||||||
|
URxvt.color8: #5D5D5D
|
||||||
|
! Light Red
|
||||||
|
URxvt.color9: #E09690
|
||||||
|
! Light Green
|
||||||
|
URxvt.color10: #CDEE69
|
||||||
|
! Light Yellow
|
||||||
|
URxvt.color11: #FFE377
|
||||||
|
! Light Blue
|
||||||
|
URxvt.color12: #9CD9F0
|
||||||
|
! Light Purple
|
||||||
|
URxvt.color13: #FBB1F9
|
||||||
|
! Light Cyan
|
||||||
|
URxvt.color14: #77DFD8
|
||||||
|
! Light white
|
||||||
|
URxvt.color15: #F8F8F8
|
||||||
|
|
||||||
|
! General URxvt visual options
|
||||||
|
URxvt.buffered: true
|
||||||
|
URxvt.cursorColor: green
|
||||||
|
URxvt.underlineColor: yellow
|
||||||
|
URxvt.font: xft:Terminus:pixelsize=15:antialias=false
|
||||||
|
URxvt.boldFont: xft:Terminus:bold:pixelsize=16:antialias=false
|
||||||
|
URxvt.scrollstyle: plain
|
||||||
|
URxvt.depth: 32
|
||||||
|
URxvt.foreground: white
|
||||||
|
URxvt.background: [85]black
|
||||||
|
! URxvt.background: rgba:0000/0000/0000/0000
|
||||||
|
URxvt.urgentOnBell: true
|
||||||
|
URxvt.underlineURLs: true
|
||||||
|
|
||||||
|
! Perl-exts to use
|
||||||
|
URxvt.perl-ext-common: default,clipboard,tabbedex,url-picker,keyboard-select,matcher
|
||||||
|
|
||||||
|
! Setup matcher perl-ext
|
||||||
|
URxvt.keysym.M-u: perl:url-picker
|
||||||
|
URxvt.urlLauncher: /usr/bin/conkeror
|
||||||
|
URxvt.matcher.button: 1
|
||||||
|
|
||||||
|
URxvt.keysym.M-Escape: perl:keyboard-select:activate
|
||||||
|
URxvt.keysym.M-s: perl:keyboard-select:search
|
||||||
|
|
||||||
|
! Setup tabbedex perl-ext
|
||||||
|
URxvt.tabbed.tabbar-bg: -1
|
||||||
|
|
||||||
|
! Force vncviewer to show a password dialog
|
||||||
|
vncviewer.passwordDialog: true
|
||||||
|
|
||||||
|
! Set default emacs font
|
||||||
|
Emacs*font: Terminus-12
|
||||||
|
Emacs.toolBar: off
|
||||||
|
Emacs.menuBar: off
|
||||||
|
Emacs.scrollBar: off
|
||||||
|
Emacs*foreground: WhiteSmoke
|
||||||
|
Emacs*background: black
|
|
@ -1,6 +1,16 @@
|
||||||
[global]
|
[global]
|
||||||
font = Terminus-12
|
font = Terminus-12
|
||||||
|
|
||||||
|
# allow a small subset of html markup:
|
||||||
|
# <b>bold</b>
|
||||||
|
# <i>italic</i>
|
||||||
|
# <s>strikethrough<s/>
|
||||||
|
# <u>underline</u>
|
||||||
|
#
|
||||||
|
# for a complete reference see http://developer.gnome.org/pango/stable/PangoMarkupFormat.html
|
||||||
|
# If markup is not allowed, those tags will be stripped out of the message.
|
||||||
|
allow_markup = yes
|
||||||
|
|
||||||
# The format of the message. Possible variables are:
|
# The format of the message. Possible variables are:
|
||||||
# %a appname
|
# %a appname
|
||||||
# %s summary
|
# %s summary
|
||||||
|
@ -8,7 +18,8 @@
|
||||||
# %i iconname (including its path)
|
# %i iconname (including its path)
|
||||||
# %I iconname (without its path)
|
# %I iconname (without its path)
|
||||||
# %p progress value if set ([ 0%] to [100%]) or nothing
|
# %p progress value if set ([ 0%] to [100%]) or nothing
|
||||||
format = "%s\n%b"
|
# Markup is allowed
|
||||||
|
format = "<b>%s</b>\n%b"
|
||||||
|
|
||||||
# Sort messages by urgency
|
# Sort messages by urgency
|
||||||
sort = yes
|
sort = yes
|
||||||
|
@ -84,7 +95,7 @@
|
||||||
|
|
||||||
# Draw a line of 'separatpr_height' pixel height between two notifications.
|
# Draw a line of 'separatpr_height' pixel height between two notifications.
|
||||||
# Set to 0 to disable
|
# Set to 0 to disable
|
||||||
separator_height = 2;
|
separator_height = 2
|
||||||
|
|
||||||
# padding between text and separator
|
# padding between text and separator
|
||||||
padding = 8
|
padding = 8
|
||||||
|
@ -137,18 +148,24 @@
|
||||||
[urgency_low]
|
[urgency_low]
|
||||||
# IMPORTANT: colors have to be defined in quotation marks.
|
# IMPORTANT: colors have to be defined in quotation marks.
|
||||||
# Otherwise the '#' and following would be interpreted as a comment.
|
# Otherwise the '#' and following would be interpreted as a comment.
|
||||||
background = "#222222"
|
#background = "#222222"
|
||||||
foreground = "#888888"
|
#foreground = "#888888"
|
||||||
|
background = "#073642"
|
||||||
|
foreground = "#93a1a1"
|
||||||
timeout = 10
|
timeout = 10
|
||||||
|
|
||||||
[urgency_normal]
|
[urgency_normal]
|
||||||
background = "#285577"
|
#background = "#285577"
|
||||||
foreground = "#ffffff"
|
#foreground = "#ffffff"
|
||||||
|
background = "#002b36"
|
||||||
|
foreground = "#839496"
|
||||||
timeout = 10
|
timeout = 10
|
||||||
|
|
||||||
[urgency_critical]
|
[urgency_critical]
|
||||||
background = "#900000"
|
#background = "#900000"
|
||||||
foreground = "#ffffff"
|
#foreground = "#ffffff"
|
||||||
|
background = "#dc322f"
|
||||||
|
foreground = "#002b36"
|
||||||
timeout = 0
|
timeout = 0
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -6,7 +6,7 @@ ENTRY "/home/collin/.code" URL "/home/collin/.code"
|
||||||
ENTRY "/home/collin/.scratch" URL "/home/collin/.scratch"
|
ENTRY "/home/collin/.scratch" URL "/home/collin/.scratch"
|
||||||
GROUP "Network"
|
GROUP "Network"
|
||||||
ENTRY "/sh://omicron/home/collin" URL "/sh://omicron/home/collin"
|
ENTRY "/sh://omicron/home/collin" URL "/sh://omicron/home/collin"
|
||||||
ENTRY "/sftp://rekah742@ftp.rekahsoft.ca:22/home/rekah742" URL "/sftp://rekah742@ftp.rekahsoft.ca:22/home/rekah742"
|
ENTRY "/sftp://rekah742@64.34.157.170:22/home/rekah742" URL "/sftp://rekah742@64.34.157.170:22/home/rekah742"
|
||||||
GROUP "Local Network"
|
GROUP "Local Network"
|
||||||
ENTRY "sh:alpha/~" URL "/home/collin/#sh:alpha/~"
|
ENTRY "sh:alpha/~" URL "/home/collin/#sh:alpha/~"
|
||||||
ENTRY "/ftp://rekah742@ftp.rekahsoft.ca/" URL "/ftp://rekah742@ftp.rekahsoft.ca/"
|
ENTRY "/ftp://rekah742@ftp.rekahsoft.ca/" URL "/ftp://rekah742@ftp.rekahsoft.ca/"
|
||||||
|
|
|
@ -115,9 +115,9 @@ free_space=1
|
||||||
|
|
||||||
horizontal_split=0
|
horizontal_split=0
|
||||||
vertical_equal=1
|
vertical_equal=1
|
||||||
left_panel_size=81
|
left_panel_size=58
|
||||||
horizontal_equal=1
|
horizontal_equal=1
|
||||||
top_panel_size=20
|
top_panel_size=27
|
||||||
|
|
||||||
[Misc]
|
[Misc]
|
||||||
timeformat_recent=%b %e %H:%M
|
timeformat_recent=%b %e %H:%M
|
||||||
|
|
|
@ -2,8 +2,8 @@
|
||||||
Description = A customizable and lightweight notification-daemon
|
Description = A customizable and lightweight notification-daemon
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
|
Type = simple
|
||||||
ExecStart = /usr/bin/dunst
|
ExecStart = /usr/bin/dunst
|
||||||
Restart = always
|
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy = default.target
|
WantedBy = default.target
|
||||||
|
|
|
@ -5,7 +5,7 @@ Description = Emacs: the extensible, self-documenting text editor
|
||||||
Type = forking
|
Type = forking
|
||||||
ExecStart = /usr/bin/emacs --daemon
|
ExecStart = /usr/bin/emacs --daemon
|
||||||
ExecStop = /usr/bin/emacsclient --eval "(progn (setq kill-emacs-hook 'nil) (kill-emacs))"
|
ExecStop = /usr/bin/emacsclient --eval "(progn (setq kill-emacs-hook 'nil) (kill-emacs))"
|
||||||
Environment = PATH=/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/opt/android-sdk/platform-tools:/opt/android-sdk/tools:/usr/bin/vendor_perl:/usr/bin/core_perl:/usr/lib/smlnj/bin:/opt/maven/bin:/opt/NX/bin:/home/collin/.cabal/bin:/home/collin/.bin
|
Environment = PATH=/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/opt/android-sdk/platform-tools:/opt/android-sdk/tools:/usr/bin/vendor_perl:/usr/bin/core_perl:/usr/lib/smlnj/bin:/opt/maven/bin:/opt/NX/bin:/home/collin/.cabal/bin:/home/collin/.bin:/home/collin/.gem/ruby/2.0.0/bin
|
||||||
Restart = always
|
Restart = always
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
|
|
|
@ -3,6 +3,7 @@ Description = Simple X compositing manager
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
ExecStart = /usr/bin/xcompmgr
|
ExecStart = /usr/bin/xcompmgr
|
||||||
|
Environment=DISPLAY=:0
|
||||||
Restart = always
|
Restart = always
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
|
|
17
.conkerorrc
17
.conkerorrc
|
@ -17,7 +17,7 @@ download_buffer_automatic_open_target = OPEN_NEW_BUFFER_BACKGROUND;
|
||||||
|
|
||||||
// save a keystroke when selecting a dom node by number.
|
// save a keystroke when selecting a dom node by number.
|
||||||
hints_auto_exit_delay = 500;
|
hints_auto_exit_delay = 500;
|
||||||
hints_ambiguous_auto_exit_delay = 500;
|
hints_ambiguous_auto_exit_delay = 3000;
|
||||||
|
|
||||||
// display properties of the current selected node during
|
// display properties of the current selected node during
|
||||||
// the hints interaction.
|
// the hints interaction.
|
||||||
|
@ -210,3 +210,18 @@ interactive("firebug", "open firebug lite", firebug);
|
||||||
|
|
||||||
// Disable whitelist (Causes extensions from unknown/unsigned sites to silently fail if not enabled!)
|
// Disable whitelist (Causes extensions from unknown/unsigned sites to silently fail if not enabled!)
|
||||||
//session_pref("xpinstall.whitelist.required", false);
|
//session_pref("xpinstall.whitelist.required", false);
|
||||||
|
|
||||||
|
//TODO: consider something like below to darken pages
|
||||||
|
function darken_page (I) {
|
||||||
|
var styles='* { background: black !important; color: grey !important; }'+
|
||||||
|
':link, :link * { color: #4986dd !important; }'+
|
||||||
|
':visited, :visited * { color: #d75047 !important; }';
|
||||||
|
var document = I.buffer.document;
|
||||||
|
var newSS=document.createElement('link');
|
||||||
|
newSS.rel='stylesheet';
|
||||||
|
newSS.href='data:text/css,'+escape(styles);
|
||||||
|
document.getElementsByTagName("head")[0].appendChild(newSS);
|
||||||
|
}
|
||||||
|
|
||||||
|
interactive("darken-page", "Darken the page in an attempt to save your eyes.",
|
||||||
|
darken_page);
|
||||||
|
|
|
@ -0,0 +1,23 @@
|
||||||
|
/**
|
||||||
|
* (C) Copyright Collin Doering @!@YEAR@!@
|
||||||
|
*
|
||||||
|
* This program 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.
|
||||||
|
*
|
||||||
|
* This program is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* File: @!@FILE@!@
|
||||||
|
* Author: Collin J. Doering
|
||||||
|
* Date: @!@DATE@!@
|
||||||
|
*/
|
||||||
|
|
|
@ -0,0 +1,19 @@
|
||||||
|
// (C) Copyright Collin Doering @!@YEAR@!@
|
||||||
|
//
|
||||||
|
// This program 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.
|
||||||
|
//
|
||||||
|
// This program is distributed in the hope that it will be useful,
|
||||||
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
// GNU General Public License for more details.
|
||||||
|
//
|
||||||
|
// You should have received a copy of the GNU General Public License
|
||||||
|
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
// File: @!@FILE@!@
|
||||||
|
// Author: Collin J. Doering <rekahsoft@gmail.com>
|
||||||
|
// Date: @!@DATE@!@
|
||||||
|
|
|
@ -0,0 +1,9 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<title></title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
</body>
|
||||||
|
</html>
|
|
@ -0,0 +1,23 @@
|
||||||
|
/**
|
||||||
|
* (C) Copyright Collin Doering @!@YEAR@!@
|
||||||
|
*
|
||||||
|
* This program 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.
|
||||||
|
*
|
||||||
|
* This program is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* File: @!@FILE@!@
|
||||||
|
* Author: Collin J. Doering
|
||||||
|
* Date: @!@DATE@!@
|
||||||
|
*/
|
||||||
|
|
|
@ -0,0 +1,22 @@
|
||||||
|
/**
|
||||||
|
* (C) Copyright Collin Doering @!@YEAR@!@
|
||||||
|
*
|
||||||
|
* This program 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.
|
||||||
|
*
|
||||||
|
* This program is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* File: @!@FILE@!@
|
||||||
|
* Author: Collin J. Doering
|
||||||
|
* Date: @!@DATE@!@
|
||||||
|
*/
|
|
@ -0,0 +1,19 @@
|
||||||
|
// (C) Copyright Collin Doering @!@YEAR@!@
|
||||||
|
//
|
||||||
|
// This program 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.
|
||||||
|
//
|
||||||
|
// This program is distributed in the hope that it will be useful,
|
||||||
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
// GNU General Public License for more details.
|
||||||
|
//
|
||||||
|
// You should have received a copy of the GNU General Public License
|
||||||
|
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
// File: @!@FILE@!@
|
||||||
|
// Author: Collin J. Doering <rekahsoft@gmail.com>
|
||||||
|
// Date: @!@DATE@!@
|
||||||
|
|
|
@ -0,0 +1,23 @@
|
||||||
|
/**
|
||||||
|
* (C) Copyright Collin Doering @!@YEAR@!@
|
||||||
|
*
|
||||||
|
* This program 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.
|
||||||
|
*
|
||||||
|
* This program is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* File: @!@FILE@!@
|
||||||
|
* Author: Collin J. Doering
|
||||||
|
* Date: @!@DATE@!@
|
||||||
|
*/
|
||||||
|
|
|
@ -0,0 +1,19 @@
|
||||||
|
// (C) Copyright Collin Doering @!@YEAR@!@
|
||||||
|
//
|
||||||
|
// This program 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.
|
||||||
|
//
|
||||||
|
// This program is distributed in the hope that it will be useful,
|
||||||
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
// GNU General Public License for more details.
|
||||||
|
//
|
||||||
|
// You should have received a copy of the GNU General Public License
|
||||||
|
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
// File: @!@FILE@!@
|
||||||
|
// Author: Collin J. Doering <rekahsoft@gmail.com>
|
||||||
|
// Date: @!@DATE@!@
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
alias ffo find-file-other-window $1
|
alias modspeed sudo tc qdisc $2 dev $1 root netem delay 300ms
|
||||||
alias d dired $1
|
|
||||||
alias ssudo /usr/bin/sudo
|
|
||||||
alias mss magit-status .
|
|
||||||
alias ms magit-status $1
|
alias ms magit-status $1
|
||||||
|
alias mss magit-status .
|
||||||
|
alias ssudo /usr/bin/sudo
|
||||||
|
alias d dired $1
|
||||||
|
alias ffo find-file-other-window $1
|
||||||
|
|
|
@ -15,7 +15,7 @@ mpd_music_dir = "/media/dm/Music"
|
||||||
#
|
#
|
||||||
#mpd_connection_timeout = "5"
|
#mpd_connection_timeout = "5"
|
||||||
|
|
||||||
execute_on_song_change = "notify-send -t 3000 -i \"/usr/share/icons/gnome/scalable/mimetypes/audio-x-generic-symbolic.svg\" \"$(ncmpcpp --now-playing '{%t\n%b - %a}|{%f}')\""
|
execute_on_song_change = "notify-send -t 3000 \"$(ncmpcpp --now-playing '{%t\n%b - %a}|{%f}')\""
|
||||||
playlist_display_mode = "columns"
|
playlist_display_mode = "columns"
|
||||||
browser_display_mode = "columns"
|
browser_display_mode = "columns"
|
||||||
search_engine_display_mode = "columns"
|
search_engine_display_mode = "columns"
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# Open several named screens at startup and run different commands in each
|
# Open several named screens at startup and run different commands in each
|
||||||
screen -t zsh 0 zsh
|
screen -t zsh 0 zsh
|
||||||
screen -t weechat 1 weechat-curses
|
#screen -t weechat 1 weechat-curses
|
||||||
|
|
||||||
#screen -t ncmpcpp 2 ncmpcpp
|
#screen -t ncmpcpp 2 ncmpcpp
|
||||||
#screen -t alsamixer 3 alsamixer
|
#screen -t alsamixer 3 alsamixer
|
||||||
|
|
|
@ -0,0 +1,15 @@
|
||||||
|
# File: .tmux.conf
|
||||||
|
# Author: Collin J. Doering <rekahsoft@gmail.com>
|
||||||
|
# Date: Jan 18, 2014
|
||||||
|
|
||||||
|
# Set prefix key to C-t instead of default C-b
|
||||||
|
unbind C-b
|
||||||
|
set -g prefix C-t
|
||||||
|
|
||||||
|
# Toggle last window like screen
|
||||||
|
bind-key C-t last-window
|
||||||
|
|
||||||
|
# session initialization
|
||||||
|
new -s default -n zsh zsh
|
||||||
|
neww -n weechat weechat-curses
|
||||||
|
selectw -t 1
|
22
.xinitrc
22
.xinitrc
|
@ -23,30 +23,20 @@ xsetroot -cursor_name left_ptr
|
||||||
|
|
||||||
# Initialize a local desktop session (run generic helper applications)
|
# Initialize a local desktop session (run generic helper applications)
|
||||||
function init_local_session() {
|
function init_local_session() {
|
||||||
# Start a user instance of systemd, which in turns starts:
|
|
||||||
# * xcompmgr
|
|
||||||
# * xscreensaver
|
|
||||||
# * unclutter
|
|
||||||
# * xbindkeys
|
|
||||||
# * urxvtd
|
|
||||||
# * emacsd
|
|
||||||
# * trayer *disabled* ..
|
|
||||||
# * udiskie
|
|
||||||
#systemd --user & #DEPRECIATED..logind calls systemd --user automatically
|
|
||||||
|
|
||||||
# Set a desktop background
|
# Set a desktop background
|
||||||
nitrogen --restore &
|
nitrogen --restore &
|
||||||
|
|
||||||
# Setup system tray *DISABLED* :: whats the point of a systray if no apps use it?
|
# Load Xresources
|
||||||
#trayer --monitor 1 --edge top --align right --expand true --width 4 --height 2 --transparent true --tint 0x000000 &
|
xrdb -merge ~/.Xresources
|
||||||
|
|
||||||
# Create variable GENERAL_SCREEN which is the pid of a screen called "general"
|
# Create variable GENERAL_SCREEN which is the pid of a screen called "general"
|
||||||
GENERAL_SCREEN=`screen -ls | grep general | cut -f1 -d'.' | sed 's/\W//g'`
|
GENERAL_SCREEN=`screen -ls | grep general | cut -f1 -d'.' | sed 's/\W//g'`
|
||||||
|
|
||||||
# Check to see if a general screen is already running
|
# Check to see if a general screen is already running
|
||||||
if [ "x$GENERAL_SCREEN" == "x" ]; then
|
# DEPRECIATED in favor of tmux which is started by systemd
|
||||||
screen -dmS general &
|
#if [ "x$GENERAL_SCREEN" == "x" ]; then
|
||||||
fi
|
# screen -dmS general &
|
||||||
|
#fi
|
||||||
|
|
||||||
# Set the default wm to xmonad
|
# Set the default wm to xmonad
|
||||||
DEFAULT_WM=xmonad
|
DEFAULT_WM=xmonad
|
||||||
|
|
|
@ -30,7 +30,6 @@ import qualified Data.Map as M
|
||||||
|
|
||||||
import XMonad
|
import XMonad
|
||||||
import XMonad.Actions.UpdatePointer
|
import XMonad.Actions.UpdatePointer
|
||||||
import XMonad.Actions.WindowBringer
|
|
||||||
import XMonad.Actions.GridSelect
|
import XMonad.Actions.GridSelect
|
||||||
import XMonad.Actions.FloatKeys
|
import XMonad.Actions.FloatKeys
|
||||||
|
|
||||||
|
@ -46,6 +45,7 @@ import XMonad.Layout.SubLayouts
|
||||||
import XMonad.Layout.WindowNavigation
|
import XMonad.Layout.WindowNavigation
|
||||||
import XMonad.Layout.BoringWindows
|
import XMonad.Layout.BoringWindows
|
||||||
import XMonad.Layout.Tabbed
|
import XMonad.Layout.Tabbed
|
||||||
|
import XMonad.Layout.Circle
|
||||||
|
|
||||||
import XMonad.Hooks.ManageDocks
|
import XMonad.Hooks.ManageDocks
|
||||||
import XMonad.Hooks.DynamicLog
|
import XMonad.Hooks.DynamicLog
|
||||||
|
@ -227,6 +227,9 @@ myGenericKeys =
|
||||||
-- Enable switching of windows with gridselect
|
-- Enable switching of windows with gridselect
|
||||||
, ((modm, xK_g), goToSelected defaultGSConfig)
|
, ((modm, xK_g), goToSelected defaultGSConfig)
|
||||||
|
|
||||||
|
-- Enable switching of workspaces using gridselect
|
||||||
|
, ((modm .|. shiftMask, xK_g), gridselectWorkspace defaultGSConfig W.view)
|
||||||
|
|
||||||
-- Launch a backup terminal
|
-- Launch a backup terminal
|
||||||
, ((modm .|. controlMask, xK_Return), spawn "xterm")
|
, ((modm .|. controlMask, xK_Return), spawn "xterm")
|
||||||
|
|
||||||
|
@ -248,9 +251,12 @@ myGenericKeys =
|
||||||
-- Launch vlc
|
-- Launch vlc
|
||||||
, ((modm .|. controlMask, xK_v), spawn "vlc")
|
, ((modm .|. controlMask, xK_v), spawn "vlc")
|
||||||
|
|
||||||
-- Launch a screen scratchpad terminal
|
-- Launch a emacs scratchpad (key binding for HHKB)
|
||||||
, ((modm .|. controlMask, xK_Escape), namedScratchpadAction scratchpads "emacs-scratch")
|
, ((modm .|. controlMask, xK_Escape), namedScratchpadAction scratchpads "emacs-scratch")
|
||||||
|
|
||||||
|
-- Launch a emacs scratchpad (key binding for normal layout)
|
||||||
|
, ((modm .|. controlMask, xK_grave), namedScratchpadAction scratchpads "emacs-scratch")
|
||||||
|
|
||||||
-- Launch a screen scratchpad terminal
|
-- Launch a screen scratchpad terminal
|
||||||
, ((modm .|. controlMask, xK_1), namedScratchpadAction scratchpads "screen-terminal")
|
, ((modm .|. controlMask, xK_1), namedScratchpadAction scratchpads "screen-terminal")
|
||||||
|
|
||||||
|
@ -263,12 +269,6 @@ myGenericKeys =
|
||||||
-- Launch ncmpcpp scratchpad
|
-- Launch ncmpcpp scratchpad
|
||||||
, ((modm .|. controlMask, xK_4), namedScratchpadAction scratchpads "ncmpcpp-scratch")
|
, ((modm .|. controlMask, xK_4), namedScratchpadAction scratchpads "ncmpcpp-scratch")
|
||||||
|
|
||||||
-- Select window from dmenu and go to the workspace its on
|
|
||||||
, ((modm .|. shiftMask, xK_g), gotoMenuArgs ["-i","-nb", "#040404","-nf","#00FFFF","-sf","#ffa0ff","-sb","#000000"])
|
|
||||||
|
|
||||||
-- Select window from dmenu and drag it to the current workspace
|
|
||||||
, ((modm .|. shiftMask, xK_b), bringMenu)
|
|
||||||
|
|
||||||
-- Enable movement and resizing of floating windows
|
-- Enable movement and resizing of floating windows
|
||||||
, ((modm, xK_d), withFocused (keysMoveWindow (10,0))) -- move floating window right
|
, ((modm, xK_d), withFocused (keysMoveWindow (10,0))) -- move floating window right
|
||||||
, ((modm, xK_a), withFocused (keysMoveWindow (-10,0))) -- move floating window left
|
, ((modm, xK_a), withFocused (keysMoveWindow (-10,0))) -- move floating window left
|
||||||
|
@ -293,10 +293,10 @@ myGenericKeys =
|
||||||
-- , ((modm .|. controlMask, xK_comma), onGroup W.focusDown')
|
-- , ((modm .|. controlMask, xK_comma), onGroup W.focusDown')
|
||||||
|
|
||||||
-- Expand a mirror pane
|
-- Expand a mirror pane
|
||||||
, ((modm .|. shiftMask, xK_l), sendMessage MirrorExpand)
|
, ((modm .|. shiftMask, xK_l), sendMessage MirrorShrink)
|
||||||
|
|
||||||
-- Shrink a mirror pane
|
-- Shrink a mirror pane
|
||||||
, ((modm .|. shiftMask, xK_h), sendMessage MirrorShrink)]
|
, ((modm .|. shiftMask, xK_h), sendMessage MirrorExpand)]
|
||||||
where modm = mod4Mask
|
where modm = mod4Mask
|
||||||
|
|
||||||
------------------------------------------------------------------------
|
------------------------------------------------------------------------
|
||||||
|
@ -340,7 +340,7 @@ myLayout = smartBorders . avoidStruts $
|
||||||
-- for sublayouts but not currently used..see myGenericBindings above
|
-- for sublayouts but not currently used..see myGenericBindings above
|
||||||
-- windowNavigation $ subTabbed $ boringWindows $
|
-- windowNavigation $ subTabbed $ boringWindows $
|
||||||
-- to get tabbed layout add simpleTabbed
|
-- to get tabbed layout add simpleTabbed
|
||||||
rztiled ||| Mirror rztiled ||| Grid
|
rztiled ||| Mirror rztiled ||| Grid ||| Circle
|
||||||
where
|
where
|
||||||
-- default tiling algorithm partitions the screen into two panes
|
-- default tiling algorithm partitions the screen into two panes
|
||||||
tiled = Tall nmaster delta ratio
|
tiled = Tall nmaster delta ratio
|
||||||
|
@ -397,11 +397,11 @@ myManageHook = composeAll
|
||||||
, title =? "Xnest" --> doCenterFloat
|
, title =? "Xnest" --> doCenterFloat
|
||||||
, resource =? "pavucontrol" --> doMaxFloat
|
, resource =? "pavucontrol" --> doMaxFloat
|
||||||
, resource =? "qemu-system-x86_64" --> doFullFloat
|
, resource =? "qemu-system-x86_64" --> doFullFloat
|
||||||
, resource =? "Halo.exe" --> doCenterFloat
|
-- , resource =? "Halo.exe" --> doCenterFloat
|
||||||
-- , resource =? "UnrealTournament.exe" --> doCenterFloat
|
-- , resource =? "UnrealTournament.exe" --> doCenterFloat
|
||||||
-- , resource =? "hl2_linux" --> doFullFloat
|
-- , resource =? "hl2_linux" --> doFullFloat
|
||||||
, isFullscreen --> (doF W.focusDown <+> doFullFloat)
|
, isFullscreen --> (doF W.focusDown <+> doFullFloat)
|
||||||
, resourceIsOneOf ["emacs","gvim"] --> ask >>= (liftX . flip setOpacity (13/16)) >> idHook
|
, resourceIsOneOf ["emacs","gvim"] --> ask >>= (liftX . flip setOpacity (15/16)) >> idHook
|
||||||
, resource =? "desktop_window" --> doIgnore ] <+> namedScratchpadManageHook scratchpads <+> manageDocks
|
, resource =? "desktop_window" --> doIgnore ] <+> namedScratchpadManageHook scratchpads <+> manageDocks
|
||||||
|
|
||||||
-- NamedScratchPad Hook
|
-- NamedScratchPad Hook
|
||||||
|
@ -417,11 +417,11 @@ scratchpads = [ NS "emacs-scratch" spawnEmacsScratch findEmacsScratch manageEmac
|
||||||
findMcScratch = resource =? "mc-scratch"
|
findMcScratch = resource =? "mc-scratch"
|
||||||
findNcmpcppScratch = resource =? "ncmpcpp-scratch"
|
findNcmpcppScratch = resource =? "ncmpcpp-scratch"
|
||||||
|
|
||||||
spawnEmacsScratch = myTerminal ++ " -name emacs-scratch +tr -pe -tabbedex -e emacsclient -nw"
|
spawnEmacsScratch = myTerminal ++ " -name emacs-scratch -pe -tabbedex -e tmux new-session -s emacs-scratch \"emacsclient -nw\""
|
||||||
spawnMaintenanceTerminal = myTerminal ++ " -name scratchpad"
|
spawnMaintenanceTerminal = myTerminal ++ " -name scratchpad -bg black"
|
||||||
spawnScreenTerminal = myTerminal ++ " -name screen-scratch -bg black"
|
spawnScreenTerminal = myTerminal ++ " -name screen-scratch -bg black"
|
||||||
spawnMcScratch = myTerminal ++ " -name mc-scratch +tr -pe -tabbedex -e mc"
|
spawnMcScratch = myTerminal ++ " -name mc-scratch -pe -tabbedex -e mc"
|
||||||
spawnNcmpcppScratch = myTerminal ++ " -name ncmpcpp-scratch +tr -pe -tabbedex -e ncmpcpp"
|
spawnNcmpcppScratch = myTerminal ++ " -name ncmpcpp-scratch -pe -tabbedex -e ncmpcpp"
|
||||||
|
|
||||||
manageEmacsScratch = customFloating $ W.RationalRect 0.10 0.10 0.80 0.80
|
manageEmacsScratch = customFloating $ W.RationalRect 0.10 0.10 0.80 0.80
|
||||||
manageMaintenanceTerminal = customFloating $ W.RationalRect 0 0.66 1 0.34
|
manageMaintenanceTerminal = customFloating $ W.RationalRect 0 0.66 1 0.34
|
||||||
|
|
Reference in New Issue