This repository has been archived by the owner on Aug 18, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
xmobarrc2
36 lines (36 loc) · 3.6 KB
/
xmobarrc2
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
Config { font = "xft:DejaVu Sans:size=15:bold:antialias=true"
--Icon folder
, iconRoot = "Images/Icônes/"
--Season theme : background
-- , bgColor = "#FF4BAC" --Thème Automne
-- , bgColor = "#14656A" --Thème Été
-- , bgColor = "#F8FFF8" --Thème Hiver
-- , bgColor = "#B20019" --Thème Noel
, bgColor = "#20275e" --Thème Printemps
--Season theme : foreground
-- , fgColor = "black" --Thème Automne
-- , fgColor = "#FDFF7F" --Thème Été
-- , fgColor = "#333333" --Thème Hiver
-- , fgColor = "white" --Thème Noel
, fgColor = "#EEE8AA" --Thème Printemps
, persistent = True
, alpha = 175
, position = Bottom
-- , lowerOnStart = True
, commands = [ Run Weather "LFLB" ["-t"," <tempC>°C","-L","0","-H","30","--normal","green","--high","red","--low","lightblue"] 18000
, Run Com "/bin/bash" ["-c","date '+%a %d %b %R'"] "date" 600
--Audacious music player
, Run Com "/bin/bash" ["-c","if [ $(pidof audacious) ];then echo `audtool --current-song`;else echo -;fi"] "aud1" 10
, Run Com "/bin/bash" ["-c","if [ $(pidof audacious) ];then echo `audtool --current-song-output-length`;else echo -;fi"] "aud2" 10
, Run Com "/bin/bash" ["-c","if [ $(pidof audacious) ];then echo `audtool --current-song-length`;else echo -;fi"] "aud3" 10
--Sound card output volume %
, Run Com "/bin/bash" ["-c","amixer -c PAD get DAC|grep -m1 %|cut -d '[' -f2|cut -d ']' -f1"] "slvl" 10
]
, sepChar = "%"
, alignSep = "}{"
-- , template = "<icon=music_icon.xpm/><action=`audtool --playlist-advance` button=1><action=`audtool --playlist-reverse` button=3>%aud1% </action></action><icon=durée_icon.xpm/><action=`audtool --playback-playpause` button=1>%aud2%/%aud3%</action>}{<icon=volume_icon.xpm/>%slvl% | <action=`zenity --calendar` button=1><fc=#A52A2A>%date%</fc></action> |<icon=weather_icon.xpm/>%LFLB%" --Thème Automne
-- , template = "<icon=music_icon.xpm/><action=`audtool --playlist-advance` button=1><action=`audtool --playlist-reverse` button=3>%aud1% </action></action><icon=durée_icon.xpm/><action=`audtool --playback-playpause` button=1>%aud2%/%aud3%</action>}{<icon=volume_icon.xpm/>%slvl% | <action=`zenity --calendar` button=1><fc=#000080>%date%</fc></action> |<icon=weather_icon.xpm/>%LFLB%" --Thème Été
-- , template = "<icon=music_icon.xpm/><action=`audtool --playlist-advance` button=1><action=`audtool --playlist-reverse` button=3>%aud1% </action></action><icon=durée_icon.xpm/><action=`audtool --playback-playpause` button=1>%aud2%/%aud3%</action>}{<icon=volume_icon.xpm/>%slvl% | <action=`zenity --calendar` button=1><fc=#009698>%date%</fc></action> |<icon=weather_icon.xpm/>%LFLB%" --Thème Hiver
-- , template = "<icon=music_icon.xpm/><action=`audtool --playlist-advance` button=1><action=`audtool --playlist-reverse` button=3>%aud1% </action></action><icon=durée_icon.xpm/><action=`audtool --playback-playpause` button=1>%aud2%/%aud3%</action>}{<icon=volume_icon.xpm/>%slvl% | <action=`zenity --calendar` button=1><fc=#000000>%date%</fc></action> |<icon=weather_icon.xpm/>%LFLB%" --Thème Noel
, template = "<icon=music_icon.xpm/><action=`audtool --playlist-advance` button=1><action=`audtool --playlist-reverse` button=3>%aud1% </action></action><icon=durée_icon.xpm/><action=`audtool --playback-playpause` button=1>%aud2%/%aud3%</action>}{<icon=volume_icon.xpm/>%slvl% | <action=`zenity --calendar` button=1><fc=#FFD700>%date%</fc></action> |<icon=weather_icon.xpm/>%LFLB%" --Thème Printemps
}