Initial commit
This commit is contained in:
39
fvwm-config
Normal file
39
fvwm-config
Normal file
@@ -0,0 +1,39 @@
|
||||
#################
|
||||
### Shortcuts ###
|
||||
#################
|
||||
|
||||
# Adjust volume
|
||||
Key XF86AudioLowerVolume A N Exec exec /usr/local/bin/xvol down
|
||||
Key XF86AudioRaiseVolume A N Exec exec /usr/local/bin/xvol up
|
||||
Key XF86AudioMute A N Exec exec /usr/local/bin/xvol mute
|
||||
|
||||
# Adjust brightness
|
||||
Key XF86MonBrightnessUp A N Exec exec /usr/local/bin/xbrightness up
|
||||
Key XF86MonBrightnessDown A N Exec exec /usr/local/bin/xbrightness down
|
||||
|
||||
|
||||
##################
|
||||
### Menu items ###
|
||||
##################
|
||||
|
||||
# Set DPMS timeouts
|
||||
AddToMenu DPMS "DPMS timeout" Title
|
||||
+ "10 minutes" Exec exec xset s 600 600 dpms 600 600 600
|
||||
+ "20 minutes" Exec exec xset s 1200 1200 dpms 1200 1200 1200
|
||||
+ "30 minutes" Exec exec xset s 1800 1800 dpms 1800 1800 1800
|
||||
+ "1,5 hours" Exec exec xset s 5400 5400 dpms 5400 5400 5400
|
||||
+ "3 hours" Exec exec xset s 10800 10800 dpms 10800 10800 10800
|
||||
|
||||
# Battery settings
|
||||
AddToMenu Battery "Battery Config" Title
|
||||
+ "Show Info" Exec exec upower -i /org/freedesktop/UPower/devices/battery_BAT0 | xmessage -file -
|
||||
+ "Show Thresholds" Exec exec /usr/local/bin/battery-thresholds | xmessage -file -
|
||||
+ "Set Threshold 40, 70" Exec xterm -e 'sudo /usr/local/bin/set-batt-40-70'
|
||||
+ "Set Threshold 90, 100" Exec xterm -e 'sudo /usr/local/bin/set-batt-90-100'
|
||||
+ "Set Threshold 95, 100" Exec xterm -e 'sudo /usr/local/bin/set-batt-95-100'
|
||||
|
||||
# Set TearFree
|
||||
AddToMenu TearFree "Tear Free" Title
|
||||
+ "Set TearFree" Exec exec xrandr --output eDP --set TearFree on
|
||||
+ "Unset TearFree" Exec exec xrandr --output eDP --set TearFree off
|
||||
|
Reference in New Issue
Block a user