mirror of
https://github.com/correl/xmonadcfg.git
synced 2024-11-23 11:09:57 +00:00
Adding additional configuration files
This commit is contained in:
parent
2082839ed1
commit
5bf095d466
6 changed files with 68 additions and 2 deletions
8
gnome-session/xmonad.session
Normal file
8
gnome-session/xmonad.session
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
[GNOME Session]
|
||||||
|
Name=Xmonad
|
||||||
|
RequiredComponents=gnome-panel;gnome-settings-daemon;
|
||||||
|
RequiredProviders=windowmanager;
|
||||||
|
DefaultProvider-windowmanager=xmonad
|
||||||
|
DefaultProvider-notifications=notify-osd
|
||||||
|
|
||||||
|
DesktopName=Xmonad
|
17
xmobarrc
Normal file
17
xmobarrc
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
Config { font = "-*-Fixed-Bold-R-Normal-*-13-*-*-*-*-*-*-*"
|
||||||
|
, bgColor = "black"
|
||||||
|
, fgColor = "grey"
|
||||||
|
, position = TopW L 90
|
||||||
|
, lowerOnStart = True
|
||||||
|
, commands = [ Run Weather "KNXX" ["-t"," <tempF>F","-L","64","-H","77","--normal","green","--high","red","--low","lightblue"] 36000
|
||||||
|
, Run Cpu ["-L","3","-H","50","--normal","green","--high","red"] 10
|
||||||
|
, Run Memory ["-t","Mem: <usedratio>%"] 10
|
||||||
|
, Run Swap [] 10
|
||||||
|
, Run Battery ["-L", "15", "-H", "50", "--low", "red", "--high", "green", "--normal", "yellow"] 10
|
||||||
|
, Run Date "%a %b %_d %l:%M" "date" 10
|
||||||
|
, Run StdinReader
|
||||||
|
]
|
||||||
|
, sepChar = "%"
|
||||||
|
, alignSep = "}{"
|
||||||
|
, template = "%StdinReader% }{ %cpu% | %memory% * %swap% | %battery% <fc=#ee9a00>%date%</fc> | %KNXX%"
|
||||||
|
}
|
|
@ -1,7 +1,6 @@
|
||||||
import XMonad
|
import XMonad
|
||||||
import XMonad.Hooks.DynamicLog
|
import XMonad.Hooks.DynamicLog
|
||||||
import XMonad.Hooks.ManageDocks
|
import XMonad.Hooks.ManageDocks
|
||||||
import XMonad.Hooks.EwmhDesktops
|
|
||||||
import XMonad.Util.Run(spawnPipe)
|
import XMonad.Util.Run(spawnPipe)
|
||||||
import XMonad.Util.EZConfig(additionalKeys)
|
import XMonad.Util.EZConfig(additionalKeys)
|
||||||
import System.IO
|
import System.IO
|
||||||
|
@ -15,7 +14,7 @@ myManageHook = composeAll
|
||||||
myBorderWidth = 2
|
myBorderWidth = 2
|
||||||
|
|
||||||
main = do
|
main = do
|
||||||
xmproc <- spawnPipe "xmobar"
|
xmproc <- spawnPipe "xmobar ~/.xmonad/xmobarrc"
|
||||||
xmonad $ defaultConfig
|
xmonad $ defaultConfig
|
||||||
{ manageHook = manageDocks <+> myManageHook -- make sure to include myManageHook definition from above
|
{ manageHook = manageDocks <+> myManageHook -- make sure to include myManageHook definition from above
|
||||||
<+> manageHook defaultConfig
|
<+> manageHook defaultConfig
|
||||||
|
|
28
xmonad.start
Executable file
28
xmonad.start
Executable file
|
@ -0,0 +1,28 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
xrdb -merge .Xresources
|
||||||
|
|
||||||
|
#trayer --edge top --align right --SetDockType true --SetPartialStrut true --expand true --width 15 --height 12 --transparent true --tint 0x000000 &
|
||||||
|
trayer --edge top --align right --SetDockType true --SetPartialStrut true \
|
||||||
|
--expand true --width 10 --transparent true --tint 0x191970 --height 12 &
|
||||||
|
|
||||||
|
gnome-screensaver&
|
||||||
|
|
||||||
|
gnome-settings-daemon&
|
||||||
|
|
||||||
|
if [ -x /usr/bin/gnome-power-manager ] ; then
|
||||||
|
sleep 1
|
||||||
|
gnome-power-manager&
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ -x /usr/bin/nm-applet ] ; then
|
||||||
|
nm-applet --sm-disable &
|
||||||
|
fi
|
||||||
|
|
||||||
|
kmix --keepvisibility
|
||||||
|
ubuntuone-launch
|
||||||
|
dropbox start
|
||||||
|
|
||||||
|
#xcompmgr -c &
|
||||||
|
|
||||||
|
exec xmonad
|
7
xsessions/xmonad-gnome.desktop
Normal file
7
xsessions/xmonad-gnome.desktop
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
[Desktop Entry]
|
||||||
|
Encoding=UTF-8
|
||||||
|
Name=GNOME/xmonad hybrid of amazingness
|
||||||
|
Comment=GNOME + XMonad tiling window manager
|
||||||
|
Exec=gnome-session --session=xmonad
|
||||||
|
Icon=xmonad.png
|
||||||
|
Type=XSession
|
7
xsessions/xmonad.desktop
Normal file
7
xsessions/xmonad.desktop
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
[Desktop Entry]
|
||||||
|
Encoding=UTF-8
|
||||||
|
Name=XMonad
|
||||||
|
Comment=Lightweight tiling window manager
|
||||||
|
Exec=xmonad.start
|
||||||
|
Icon=xmonad.png
|
||||||
|
Type=XSession
|
Loading…
Reference in a new issue