This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| myKeys = [ ... | |
| -- Mod+ to control MPlayer | |
| , ("M-<XF86AudioPlay>", mPlay "pause" ) -- play/pause mplayer | |
| , ("M-<XF86AudioStop>", mPlay "stop" ) -- stop mplayer | |
| , ("M-<XF86AudioPrev>", mPlay "seek -10") -- seek back 10 seconds | |
| , ("M-<XF86AudioNext>", mPlay "seek 10" ) -- seek forward 10 seconds | |
| , ... | |
| ] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| statusbar = { | |
| # <snip> | |
| default = { | |
| window = { | |
| # disable the default bar containing window list | |
| disabled = "yes"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| -- imports | |
| import XMonad.Hooks.ManageDocks | |
| import XMonad.Hooks.ManageHelpers | |
| import XMonad.Layout.IM | |
| import XMonad.Layout.PerWorkspace | |
| import qualified XMonad.StackSet as W | |
| -- main | |
| main = xmonad $ defaultConfig | |
| { terminal = myTerminal |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| -- Layouts | |
| myLayout = avoidStruts $ onWorkspace "3-im" imLayout $ standardLayouts | |
| where | |
| -- define the list of standardLayouts | |
| standardLayouts = Tall ||| Wide ||| Full | |
| -- notice withIM is acting on it | |
| imLayout = withIM (1/10) (Role "roster") (standardLayouts) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| -- Manage hook | |
| myManageHook = composeAll | |
| [ -- whatever you might already have | |
| , ... | |
| , className =? "Gajim.py" --> doShift "3-chat" -- move all IM windows to IM workspace | |
| , classNotRole ("Gajim.py", "roster") --> doFloat -- and float everything but the roster | |
| , ... | |
| ] | |
| where |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # adjust this line to skip any persistent drives | |
| # i.e. KERNEL!="sd[d-z][0-9]", ... | |
| KERNEL!="sd[a-z][0-9]", GOTO="media_by_label_auto_mount_end" | |
| # Global mount options | |
| ACTION=="add", ENV{mount_options}="relatime,users" | |
| # Filesystem specific options | |
| ACTION=="add", PROGRAM=="/lib/initcpio/udev/vol_id -t %N", RESULT=="vfat|ntfs", ENV{mount_options}="$env{mount_options},utf8,gid=100,umask=002" | |
| ACTION=="add", PROGRAM=="/lib/initcpio/udev/vol_id --label %N", ENV{dir_name}="%c" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # adjust this line to skip any persistent drives | |
| # i.e. KERNEL!="sd[d-z][0-9]", ... | |
| KERNEL!="sd[a-z][0-9]", GOTO="media_by_label_auto_mount_end" | |
| # Global mount options | |
| ACTION=="add", ENV{mount_options}="relatime,users" | |
| # Filesystem specific options | |
| ACTION=="add", PROGRAM=="/lib/initcpio/udev/vol_id -t %N", RESULT=="vfat|ntfs", ENV{mount_options}="$env{mount_options},utf8,gid=100,umask=002" | |
| ACTION=="add", PROGRAM=="/lib/initcpio/udev/vol_id --label %N", ENV{dir_name}="%c" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [general] | |
| # NOTE: cronjob calls the quiet UI with -u | |
| ui = TTY.TTYUI | |
| accounts = GMail,GMX | |
| [Account GMail] | |
| localrepository = Gmail-Local | |
| remoterepository = Gmail-Remote | |
| [Account GMX] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| PID=`pgrep offlineimap` | |
| [[ -n "$PID" ]] && exit 1 | |
| offlineimap -o -u Noninteractive.Quiet &>/dev/null & | |
| exit 0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # msmtp config file | |
| account gmail | |
| host smtp.gmail.com | |
| port 587 | |
| protocol smtp | |
| auth on | |
| from username@gmail.com | |
| user username@gmail.com | |
| password gmailpassword |