Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[fvwm] transset + config thème guly
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3, 4  
Reply to topic    Gentoo Forums Forum Index French
View previous topic :: View next topic  
Author Message
gulivert
l33t
l33t


Joined: 17 Jun 2004
Posts: 863
Location: Switzerland

PostPosted: Sat Jan 22, 2005 8:47 am    Post subject: Reply with quote

J'ai ajouté une petite vérification du fichier .updates_cache dans le script cache, c'est vraiment pas grand chose met ça permet d'avoir un message différent si l' emerge -uDp world aurait merdé ou si il n'y a pas de mise a jour dispo

Script cache
Quote:
#!/bin/bash

emerge -uDp world | grep -F [ > ~/.fvwm/.updates_cache
update=`cat ~/.fvwm/.updates_cache`

if [ "$update" = "" ]; then
FvwmCommand "Function cache1"
else
FvwmCommand "Function cache"
fi


Et dans la config Fvwm ajouter le nouveau popup
Quote:
AddToFunc cache1
+ I DestroyModuleConfig cache1: *
+ I *cache1: Font "Shadow=1 b bl r br r :xft:Verdona:pixelsize=10:minspace=True"
+ I *cache1: ButtonFont "xft:Verdona:bold:pixelsize=10:minspace=True"
+ I *cache1: Colorset 33
+ I *cache1: ItemColorset 34
+ I *cache1: Line center
+ I *cache1: Text "Erreur de packages masqués ou"
+ I *cache1: Line center
+ I *cache1: Text "aucun update disponible,"
+ I *cache1: Line center
+ I *cache1: Text "Upgrade cache terminé !"
+ I *cache1: Line center
+ I *cache1: Line center
+ I *cache1: Button quit " Ok " ^M
+ I *cache1: Command Nop
+ I *cache1: Line center
+ I Module FvwmForm cache1


Vloi, po grand chose met ça fonctionne :D
_________________
Macbook Pro Unibody 9.1 - Kernel 4.4.6 - Awesome 3.5
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index French All times are GMT
Goto page Previous  1, 2, 3, 4
Page 4 of 4

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum