Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- #Comment lines:
- sed -i '/\[AC\]\[DimDisplay\]/,/^$/{//!s/^/\#/}; s/\[AC\]\[DimDisplay\]/\#\[AC\]\[DimDisplay\]/g' $HOME/.config/powermanagementprofilesrc
- vlc --started-from-file "${1}"
- #Uncomment lines:
- sed -i '/\#\[AC\]\[DimDisplay\]/,/^$/{//!s/\#//}; s/\#\[AC\]\[DimDisplay\]/\[AC\]\[DimDisplay\]/g' $HOME/.config/powermanagementprofilesrc
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement