tvl-depot/configs/desktop/misc/.config/i3/config.device
William Carroll 7bcfa26f51 Support shared, device-specific i3 configurations
Separated i3/configuration since some of my devices support XFree86 keysyms
while others do not. This introduced some cascading changes.

- Removed ~/.config/i3/config from this repo. Since I will be switching between
  devices semi-regularly and that file will be generated each time I switch to a
  different device running an X session, I don't want the i3/config to spam my
  `gst` and `gd` when I haven't changed configuration in either config.shared or
  config.device.
- Update aliases, variables, etc. to point to config.shared instead of the
  generated file.
- Ensure that X sessions generate the i3/config file.
- Ensure that i3 reload and restart command generate the i3/config file.
2019-03-23 16:31:59 +00:00

14 lines
707 B
SYSTEMD

# Desktop-specific configuration
# Since the keyboard for my desktop doesn't support XFree86 keysyms, prefer
# alternative KBDs.
# volume controls
bindsym F1 exec --no-startup-id pactl set-sink-mute @DEFAULT_SINK@ toggle # same Fn keys as laptop
bindsym F2 exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ -10% # same Fn keys as laptop
bindsym F3 exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +10% # same Fn keys as laptop
# playback controls
bindsym F4 exec --no-startup-id playerctl previous # same Fn keys as laptop
bindsym F5 exec --no-startup-id playerctl play-pause # same Fn keys as laptop
bindsym F6 exec --no-startup-id playerctl next # same Fn keys as laptop