added i3 bindings for keypad volume control

main
Simon Kellet 3 years ago
parent 30bfc5db28
commit 90d822437a
  1. 1
      .bash_aliases
  2. 12
      i3/config
  3. 17
      nvim/spell/en.utf-8.add
  4. BIN
      nvim/spell/en.utf-8.add.spl

@ -16,6 +16,7 @@ alias ls="exa --group-directories-first -lh"
alias l="exa --group-directories-first -lh" alias l="exa --group-directories-first -lh"
alias la="exa --group-directories-first -alh" alias la="exa --group-directories-first -alh"
alias print="printf" alias print="printf"
alias q="exit"
# nvim edits # nvim edits
alias cfi3="nvim ~/.config/i3/config" alias cfi3="nvim ~/.config/i3/config"

@ -86,6 +86,12 @@ set $refresh_i3status killall -SIGUSR1 i3status
bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +10% && $refresh_i3status bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +10% && $refresh_i3status
bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ -10% && $refresh_i3status bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ -10% && $refresh_i3status
bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute @DEFAULT_SINK@ toggle && $refresh_i3status bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute @DEFAULT_SINK@ toggle && $refresh_i3status
# Binds for - and + for volume
bindsym $mod+KP_Add exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +10% && $refresh_i3status
bindsym $mod+KP_Subtract exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ -10% && $refresh_i3status
bindsym $mod+KP_Multiply exec --no-startup-id pactl set-sink-mute @DEFAULT_SINK@ toggle && $refresh_i3status
bindsym XF86AudioMicMute exec --no-startup-id pactl set-source-mute @DEFAULT_SOURCE@ toggle && $refresh_i3status bindsym XF86AudioMicMute exec --no-startup-id pactl set-source-mute @DEFAULT_SOURCE@ toggle && $refresh_i3status
# Use Mouse+$mod to drag floating windows to their wanted position # Use Mouse+$mod to drag floating windows to their wanted position
@ -124,6 +130,10 @@ bindsym $mod+Ctrl+Up resize grow height 1 px or 1 ppt
bindsym $mod+Ctrl+Down resize shrink height 1 px or 1 ppt bindsym $mod+Ctrl+Down resize shrink height 1 px or 1 ppt
bindsym $mod+Ctrl+Left resize grow width 1 px or 1 ppt bindsym $mod+Ctrl+Left resize grow width 1 px or 1 ppt
# multi moniter support
bindsym $mod+greater move workspace to output right
bindsym $mod+less move workspace to output left
# split in horizontal orientation # split in horizontal orientation
bindsym $mod+semicolon split h bindsym $mod+semicolon split h
@ -329,7 +339,7 @@ bar {
status_command i3status status_command i3status
tray_output primary tray_output primary
i3bar_command i3bar i3bar_command i3bar
position top position bottom
separator_symbol "|" separator_symbol "|"
colors { colors {

@ -43,3 +43,20 @@ Halverson
Alloa Alloa
Robert Robert
Dunblane Dunblane
un
logN
log2
P2
C2
Preorder
Postorder
subtree
Hashtables
etc
Inorder
inorder
PantomimeID
loadpantomime
PlayID
AgentID
WAMP

Binary file not shown.
Loading…
Cancel
Save