• # Re: Fluxbox Roulaize

    Posté par . En réponse au journal Fluxbox Roulaize. Évalué à 2.

    J'en profite pour donner l'astuce pour les coins arrondis, c'est super simple.

    Attention, ça nécessite une version relativement récente de fluxbox (genre plus que celle proposé en debian sid, mais il y a plein de paquet très bien fait dispo sur le site, donc pas de prise de tête pour les debianeux).

    Editez votre style préféré (l'idéal est d'en faire une copie dans ~/.fluxbox/styles, et de lui donner un nouveau nom genre [votrestyle]Round pour le reconnaitre dans la liste).

    Rajouter les lignes :
    window.roundCorners: <coins souhaités>
    menu.roundCorners: <coins souhaités>

    La première pour les fenêtres, la seconde pour les menus, avec pour les coins :
    TopLeft, TopRight, BottomLeft et BottomRight.

    Bon, ça rend surtout très bien avec les Eterm sans bordures :)

    Par exemple, j'utilise le style "Clean" proposé en standard, modifié en CleanRound :

    ! "Clean Color"
    ! A Fluxbox theme by: skypher of perplexity
    ! 2001

    toolbar: Interlaced
    toolbar.color: rgb:CC/CC/CC

    toolbar.button: Raised
    toolbar.button.color: rgb:CC/CC/CC
    toolbar.button.picColor: rgb:10/10/10

    toolbar.button.pressed: Sunken
    toolbar.button.pressed.color: rgb:80/80/80

    toolbar.clock: Raised
    toolbar.clock.color: rgb:CC/CC/CC
    toolbar.clock.textColor: rgb:10/10/10

    toolbar.label: Raised
    toolbar.label.color: rgb:CC/CC/CC
    toolbar.label.textColor: rgb:10/10/10

    toolbar.windowLabel: Raised
    toolbar.windowLabel.color: rgb:CC/CC/CC
    toolbar.windowLabel.textColor: rgb:10/10/10

    toolbar.justify: right

    menu.title: Raised Gradient Horizontal Interlaced
    menu.title.color: rgb:90/BB/CC
    menu.title.colorTo: rgb:CA/CD/CF
    menu.title.textColor: rgb:10/10/10
    menu.title.justify: Right

    menu.frame: Gradient PipeCross
    menu.frame.color: rgb:CC/CC/CD
    menu.frame.colorTo: rgb:CA/CD/CE
    menu.frame.textColor: rgb:10/10/10
    menu.frame.justify: Right

    menu.hilite: Raised
    menu.hilite.color: rgb:40/40/40
    menu.hilite.textColor: rgb:CC/CC/CC

    menu.bullet: Diamond
    menu.bullet.position: Right


    window.title.focus: Raised Interlaced Gradient Horizontal
    window.title.focus.color: rgb:90/BB/CC
    window.title.focus.colorTo: rgb:CA/CD/CF

    window.title.unfocus: Flat Solid
    window.title.unfocus.color: rgb:BE/BE/BE

    window.label.focus: Gradient Horizontal Flat
    window.label.focus.color: rgb:90/BB/CC
    window.label.focus.colorTo: rgb:CA/CD/CF
    window.label.focus.textColor: rgb:10/10/10

    window.label.unfocus: Flat Solid
    window.label.unfocus.color: rgb:BE/BE/BE
    window.label.unfocus.textColor: rgb:09/09/09

    window.button.focus: Raised Bevel1 Solid
    window.button.focus.color: rgb:CC/CC/CC
    window.button.focus.picColor: rgb:10/10/10

    window.button.unfocus: Flat Solid
    window.button.unfocus.color: rgb:CA/CA/CA
    window.button.unfocus.picColor: rgb:09/09/09

    window.button.pressed: Sunken Bevel1 Solid
    window.button.pressed.color: rgb:80/80/80

    window.frame.focus: Flat
    window.frame.focus.color: rgb:CC/CC/CC
    window.frame.unfocus: Flat
    window.frame.unfocus.color: rgb:BE/BE/BE
    window.handle.focus: Raised Solid
    window.handle.focus.color: rgb:CC/CC/CC
    window.handle.unfocus: Flat Solid
    window.handle.unfocus.color: rgb:BC/BC/BC

    window.grip.focus: Raised Gradient Diagonal Interlaced
    window.grip.focus.color: rgb:9B/9B/9B
    window.grip.focus.colorTo: rgb:80/80/80
    window.grip.unfocus: Raised Gradient Diagonal
    window.grip.unfocus.color: rgb:9B/9B/9B
    window.grip.unfocus.colorTo: rgb:80/80/80

    ! ----------- tab - explicit for fluxbox, the best wm out there[tm] (;
    window.tab.justify: Left
    window.tab.label.unfocus: Flat Solid
    window.tab.label.unfocus.color: rgb:BE/BE/BE
    window.tab.label.unfocus.textColor: rgb:20/20/20
    window.tab.label.focus: Gradient Horizontal Flat
    window.tab.label.focus.color: rgb:90/BB/CC
    window.tab.label.focus.colorTo: rgb:CA/CD/CF
    window.tab.label.focus.textColor: rgb:10/10/10
    window.tab.borderWidth: 1
    window.tab.borderColor: rgb:10/10/10

    window.roundCorners: TopRight TopLeft BottomLeft BottomRight

    ! ----------- (fluxbox.sourceforge.net)
    window.tab.font: -*-lucidatypewriter-medium-r-normal-*-10-100-75-75-m-60-iso8859-*

    window.justify: Right

    toolbar.font: -*-lucidatypewriter-medium-r-normal-*-10-100-75-75-m-60-iso8859-*
    window.font: -*-lucidatypewriter-medium-r-normal-*-10-100-75-75-m-60-iso8859-*
    menu.title.font: -*-lucidatypewriter-medium-r-normal-*-10-100-75-75-m-60-iso8859-*
    menu.frame.font: -*-lucida-medium-r-normal-*-10-100-*-*-*-*-iso8859-*

    borderColor: rgb:10/10/10

    bevelWidth: 1
    borderWidth: 1
    handleWidth: 3


    Super simple, non ?