Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Polybar script for displaying and mounting/unmounting removable disks

Notifications You must be signed in to change notification settings

howey-aus/polybar-removable-disks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

polybar-removable-disks

Polybar script for displaying and mounting/unmounting removable disks.

Left-click a partition to mount it, right-click to unmount. Supports drives with multiple partitions and each partition can be mounted individually. Will display partition's label if present, otherwise the name of the partition itself.

Honors theme colors in ~/.Xresources; Unmounted partitions will show as "red" and mounted as "green" (the resolved colors will be theme-dependent).

polybar-removable-disks

Add the following to your polybar config:

[module/removable-disks]
type = custom/script
exec = ~/.config/polybar/scripts/removable_disks.sh

Dependencies

  • jq
  • udisks2
  • xrdb

About

Polybar script for displaying and mounting/unmounting removable disks

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages