Skip to content

Instantly share code, notes, and snippets.

@Dobbie03
Created March 3, 2018 00:14
Show Gist options
  • Save Dobbie03/803af7d15b2242c24a9d2def20075d5d to your computer and use it in GitHub Desktop.
Save Dobbie03/803af7d15b2242c24a9d2def20075d5d to your computer and use it in GitHub Desktop.

Revisions

  1. Matt created this gist Mar 3, 2018.
    110 changes: 110 additions & 0 deletions Polybar Config
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,110 @@
    ;=====================================================
    ; Includes
    ;=====================================================

    [section/base]
    include-file = /home/dobbie/.config/polybar/master.conf
    include-file = /home/dobbie/.config/polybar/modules.conf


    ;=====================================================
    ; i3 Bars
    ;=====================================================

    [bar/i3-bar]
    inherit = bar/master

    ; Use $ xrandr -q | grep " connected" | cut -d ' ' -f1
    monitor = ${env:MONITOR:HDMI-A-0}

    modules-left = menu window_switch redshift caffeine i3-workspaces weather
    modules-center = music2
    modules-right = pkg memory temp cpu eth volume1 time rofi

    ; All available modules (some require configuration in modules.conf)
    ; redshift github filesystem mpd wired-network wireless-network battery menu volume-bar
    ; pkg keyboard memory temperature coreuse network clock volume i3-workspaces workspaces window_switch


    ;;;;;; Tray is commented out ;;;;;;;;
    ;tray-position = center
    ;tray-padding = 10
    ;tray-background = ${colors.background}
    ;tray-offset-x = 20%


    ;=====================================================
    ; Openbox Bars
    ;=====================================================

    [bar/ob-bar]
    inherit = bar/master

    ; Use $ xrandr -q | grep " connected" | cut -d ' ' -f1
    monitor = ${env:MONITOR:HDMI-A-0}

    modules-left = jgmenu window_switch redshift weather
    modules-center = music2
    modules-right = pkg mail memory temperature cpu eth time rofi

    ; All available modules (some require configuration in modules.conf)
    ; redshift github filesystem mpd wired-network wireless-network battery menu volume
    ; menu pkg keyboard memory temperature coreuse network clock volume i3-workspaces workspaces window_switch music2 previous play pause next
    ; music2 jgmenu

    ;;;;;; Tray is commented out ;;;;;;;;
    ;tray-position = center
    ;tray-padding = 10
    ;tray-background = ${colors.background}
    ;tray-offset-x = 20%

    ;=====================================================
    ; MPD Bar
    ;=====================================================

    [bar/mpd-bar]
    inherit = bar/master

    ; Use $ xrandr -q | grep " connected" | cut -d ' ' -f1
    monitor = ${env:MONITOR:HDMI-A-0}

    modules-left = menu window_switch redshift weather
    modules-center = mpd
    modules-right = pkg mail memory temperature cpu eth volume3 time rofi

    ; All available modules (some require configuration in modules.conf)
    ; redshift github filesystem mpd wired-network wireless-network battery menu volume
    ; menu pkg keyboard memory temperature coreuse network clock volume i3-workspaces workspaces window_switch music2 previous play pause next
    ; music2 jgmenu

    ;;;;;; Tray is commented out ;;;;;;;;
    ;tray-position = center
    ;tray-padding = 10
    ;tray-background = ${colors.background}
    ;tray-offset-x = 20%

    ;=====================================================
    ; Bspwm Bars
    ;=====================================================

    [bar/bsp-bar]
    inherit = bar/master

    ; Use $ xrandr -q | grep " connected" | cut -d ' ' -f1
    monitor =

    modules-left = bspwm menu
    modules-center = music2
    modules-right = pkg mail memory temperature cpu eth volume3 time rofi

    ; All available modules (some require configuration in modules.conf)
    ; redshift github filesystem mpd jgmenu wired-network wireless-network battery menu volume-bar bspwm
    ; pkg keyboard memory temperature coreuse network clock volume i3-workspaces workspaces window_switch


    ;;;;;; Tray is commented out ;;;;;;;;
    ;tray-position = center
    ;tray-padding = 10
    ;tray-background = ${colors.background}
    ;tray-offset-x = 20%