From 290c91b060bef60a70772ff9441e78d2d8726308 Mon Sep 17 00:00:00 2001 From: dakkar Date: Tue, 7 May 2013 12:58:57 +0100 Subject: battery monitor --- components/bindings/Desktop-dakkar | 2 +- recipes/TopLine-single | 21 +++------------------ 2 files changed, 4 insertions(+), 19 deletions(-) diff --git a/components/bindings/Desktop-dakkar b/components/bindings/Desktop-dakkar index 8e94573..1946f11 100644 --- a/components/bindings/Desktop-dakkar +++ b/components/bindings/Desktop-dakkar @@ -6,4 +6,4 @@ Key F2 A $[Mod1] Exec firefox Key F2 A $[Mod1]S Exec firefox --private-window #Key XF86MonBrightnessUp A N Exec xgamma -gamma 1.5 #Key XF86MonBrightnessDown A N Exec $(grep xgamma ~/.xinitrc) -Key XF86ScreenSaver A $[Mod1] Exec xscreensaver-command -lock +Key XF86ScreenSaver A N Exec xscreensaver-command -lock diff --git a/recipes/TopLine-single b/recipes/TopLine-single index 684c0c8..ae62852 100644 --- a/recipes/TopLine-single +++ b/recipes/TopLine-single @@ -24,7 +24,6 @@ Include components/apps/FvwmMiniConsole Include components/apps/QuakeConsole Include components/functions/NotificationAreaManager-$[NotificationAreaManager] Include preferences/NotificationArea-Width -Include components/functions/Music-$[MusicPlayer] # Desktop & window bindings {{{2 Include components/bindings/Desktop-RMB-OpenTerminal @@ -85,23 +84,9 @@ DestroyModuleConfig FvwmButtons-Panel: * *FvwmButtons-Panel: Padding 1 1 *FvwmButtons-Panel: Frame 0 -*FvwmButtons-Panel: (7x1, Size 165 24, Swallow (Close, Respawn, FvwmModule) "FvwmScript-Clock-dakkar") +*FvwmButtons-Panel: (7x1, Size 165 24, Swallow (Close, Respawn) battery `Exec /home/dakkar/src/battery/script/battery`) -# Music controls {{{2 -*FvwmButtons-Panel: (1x1, Size 22 22, Icon "22x22/fvwm-crystal/media-skip-forward.png", \ - Action (Mouse 1) Music-Next, \ - Action (Mouse 2) Nop, \ - Action (Mouse 3) Music-Prev, \ - Action (Mouse 4) Music-Forward, \ - Action (Mouse 5) Music-Backward) - -# Main music button, with some menus {{{2 -*FvwmButtons-Panel: (1x1, Size 22 22, Icon "22x22/fvwm-crystal/media-playback-start.png", \ -Action (Mouse 1) Menu /Music $[MenuPosition_SW], \ -Action (Mouse 2) Music-GUI, \ -Action (Mouse 3) Music-PlayPause, \ -Action (Mouse 4) Mixer-Volume-Up 10, \ -Action (Mouse 5) Mixer-Volume-Down 10) +*FvwmButtons-Panel: (7x1, Size 165 24, Swallow (Close, Respawn, FvwmModule) "FvwmScript-Clock-dakkar") # Window list {{{2 *FvwmButtons-Panel: (1x1, Icon "22x22/fvwm-crystal/window-list.png", \ @@ -210,7 +195,7 @@ Style * StickyIcon *FvwmFormDefault: ButtonFont "xft:Tahoma:pixelsize=13:Bold" *FvwmFormDefault: TimeoutFont "xft:Tahoma:pixelsize=13:Bold" -SetEnv NotificationGeom 272 +SetEnv NotificationGeom 390 # Settings of stalonetray {{{2 DestroyFunc NotificationArea-Stalone -- cgit v1.2.3