What!? It works? .... just kidding. Glad you found it useful.
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Show posts Menubash -v
Yep, I am weird.
QuoteOkay, so i should just stay out of the birthday threads and the "i know what i know" threads and the "let's all jump on the bandwagon" threads. No prob.I think your comments have been very well received. I don't think anyone is hammering you or has the intention of belittling your opinions. You do have strong/diverse opinions though and that by it's nature will stir comment. This is a good thing, having people of varying ideas generates discourse, discourse requires thought, thought stimulates and educates. Agreement generates ... [crickets].
Anyway, I like it as an example because it embraces quite a broad brush of what you can do with zen and uses various (although not close to all) of what zenity can do. I realized that I really don't have a thread where I got all this or learned zenity. I have just done all this hit and miss and I am sure that probably shows.
Quoteyoubetcha, I love foss, but I see that the foss (and shareware) ideals aren't working well.What exactly isn't working? Foss? Shareware? User-contributed open-source? I am a little unclear what you are saying here and before. Perhaps if it was a little more exacting I might agree with you (I could say the same about "working well". Really can see how they could be working better, for their own ends, but I think it is working as well as any anarchic, obtuse, chaotic system could be expected to work.
) and not once did I ever ask for a dime, post a link, etc. only the comments in the original code. I am perfectly happy with this but suspect that it probably goes on more than anyone realizes. QuoteFreedom only for the supporters of the government, only for the members of a party – however numerous they may be – is no freedom at all. Freedom is always the freedom of the dissenter. Not because of the fanaticism of "justice", but rather because all that is instructive, wholesome, and purifying in political freedom depends on this essential characteristic, and its effects cease to work when "freedom" becomes a privilege.
#!/bin/bash
#==========================================================================
# TITLE: redeye type adjustment
# AUTHOR:Statmonkey
#
# USAGE: redeye $1 as in redeye night or redeye day
# DESCRIPTION: Automatically adjusts the screen to night mode for reduced eye strain
# Requires redeye
# DATE: LAST UPDATED 4/30/13 to change the settings to greater variance
#==========================================================================
###############################################
# Define Variables:
###############################################
zenity --question --title="Redeye" --text="Set screen for ..." --ok-label="Night" --cancel-label="Day"
redeye=$?
if [ "$redeye" -eq "0" ] ; then
xrandr | sed -n 's/ connected.*//p' | xargs -n1 -tri xrandr --output {} --brightness 0.7 --gamma 2:3:4
else
xrandr | sed -n 's/ connected.*//p' | xargs -n1 -tri xrandr --output {} --brightness 1 --gamma 1:1:1
fi