initial commit
This commit is contained in:
7
home/programs/xbindkeys/default.nix
Normal file
7
home/programs/xbindkeys/default.nix
Normal file
@@ -0,0 +1,7 @@
|
||||
{
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
home.file.".xbindkeysrc".source = ./xbindkeysrc;
|
||||
}
|
||||
70
home/programs/xbindkeys/xbindkeysrc
Normal file
70
home/programs/xbindkeys/xbindkeysrc
Normal file
@@ -0,0 +1,70 @@
|
||||
###########################
|
||||
# xbindkeys configuration #
|
||||
###########################
|
||||
#
|
||||
"pactl set-sink-volume @DEFAULT_SINK@ +1000"
|
||||
XF86AudioRaiseVolume
|
||||
|
||||
"pactl set-sink-volume @DEFAULT_SINK@ -1000"
|
||||
XF86AudioLowerVolume
|
||||
|
||||
"pactl set-sink-mute @DEFAULT_SINK@ toggle"
|
||||
XF86AudioMute
|
||||
|
||||
"pactl set-source-mute @DEFAULT_SOURCE@ toggle"
|
||||
XF86AudioMicMute
|
||||
|
||||
"brightnessctl set 20+"
|
||||
XF86MonBrightnessUp
|
||||
|
||||
"brightnessctl set 20-"
|
||||
XF86MonBrightnessDown
|
||||
|
||||
"xlock -mode random -duration 9999999999999 -modelist 'rain roll ico lissie julia euler2d daisy bubble bug bouboule ant penrose pyro pyro2 qix scooter spiral star'"
|
||||
Control+Alt + Delete
|
||||
|
||||
# Notes that I don't want to delete ._. =>
|
||||
# To specify a key, you can use 'xbindkeys --key' or
|
||||
# 'xbindkeys --multikey' and put one of the two lines in this file.
|
||||
#
|
||||
# The format of a command line is:
|
||||
# "command to start"
|
||||
# associated key
|
||||
#
|
||||
# A list of keys is in /usr/include/X11/keysym.h and in
|
||||
# /usr/include/X11/keysymdef.h
|
||||
# The XK_ is not needed.
|
||||
#
|
||||
# List of modifier:
|
||||
# Release, Control, Shift, Mod1 (Alt), Mod2 (NumLock),
|
||||
# Mod3 (CapsLock), Mod4, Mod5 (Scroll).
|
||||
|
||||
# The release modifier is not a standard X modifier, but you can
|
||||
# use it if you want to catch release events instead of press events
|
||||
|
||||
# By defaults, xbindkeys does not pay attention with the modifiers
|
||||
# NumLock, CapsLock and ScrollLock.
|
||||
# Uncomment the lines above if you want to pay attention to them.
|
||||
|
||||
#keystate_numlock = enable
|
||||
#keystate_capslock = enable
|
||||
#keystate_scrolllock= enable
|
||||
|
||||
#"xterm -geom 50x20+20+20"
|
||||
# Shift+Mod2+alt + s
|
||||
#
|
||||
## set directly keycode (here control+alt+mod2 + f with my keyboard)
|
||||
#"xterm"
|
||||
# alt + c:0x29 + m:4 + mod2
|
||||
#
|
||||
## Control+Shift+a release event starts rxvt
|
||||
#"rxvt"
|
||||
# release+control+shift + a
|
||||
#
|
||||
## Control + mouse button 2 release event starts rxvt
|
||||
#"rxvt"
|
||||
# Control + b:2 + Release
|
||||
|
||||
##################################
|
||||
# End of xbindkeys configuration #
|
||||
##################################
|
||||
Reference in New Issue
Block a user