From 90d822437a17cb1c86db13476e9fa1ebbaf90e38 Mon Sep 17 00:00:00 2001 From: simonkellet Date: Sun, 21 Nov 2021 11:02:46 +0000 Subject: [PATCH] added i3 bindings for keypad volume control --- .bash_aliases | 1 + i3/config | 12 +++++++++++- nvim/spell/en.utf-8.add | 17 +++++++++++++++++ nvim/spell/en.utf-8.add.spl | Bin 648 -> 879 bytes 4 files changed, 29 insertions(+), 1 deletion(-) diff --git a/.bash_aliases b/.bash_aliases index ed3a2af..487f584 100644 --- a/.bash_aliases +++ b/.bash_aliases @@ -16,6 +16,7 @@ alias ls="exa --group-directories-first -lh" alias l="exa --group-directories-first -lh" alias la="exa --group-directories-first -alh" alias print="printf" +alias q="exit" # nvim edits alias cfi3="nvim ~/.config/i3/config" diff --git a/i3/config b/i3/config index 538e724..6d6c174 100644 --- a/i3/config +++ b/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 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 + +# 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 # 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+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 bindsym $mod+semicolon split h @@ -329,7 +339,7 @@ bar { status_command i3status tray_output primary i3bar_command i3bar - position top + position bottom separator_symbol "|" colors { diff --git a/nvim/spell/en.utf-8.add b/nvim/spell/en.utf-8.add index 8c44a40..2de8f63 100644 --- a/nvim/spell/en.utf-8.add +++ b/nvim/spell/en.utf-8.add @@ -43,3 +43,20 @@ Halverson Alloa Robert Dunblane +un +logN +log2 +P2 +C2 +Preorder +Postorder +subtree +Hashtables +etc +Inorder +inorder +PantomimeID +loadpantomime +PlayID +AgentID +WAMP diff --git a/nvim/spell/en.utf-8.add.spl b/nvim/spell/en.utf-8.add.spl index ff8e3a5bdc1aa8a6bad69a57b5f692a171128eef..bdff5622972f287f9b2cf43b3d5eb13543dbf2ff 100644 GIT binary patch literal 879 zcmZ8f%Wl&^6rFor(QPHX%_3rzB}QGa3`Lb9Q8c20{lp$Wl(EP1lT+Gxu@sIp_M@?yhgGbIGGp^!K$%Gh39^!PSj#yM7p_nF~jj8XBmgjQA%x z@??nl6)ClOD@Rf`zDH4qUynkAa*3z7)!`-pIRFY$oFb(s8tFZoy=2$#mXn8(_yU!C z%rFwWZ5U^o5Ax6g*F76hkYU%;6lV9}g|baUW#AwvHbi=AxC%)<03nldR?KWHDocdW z_v?uI{~ZIHP`^$h1I|i2bhVf-K6r?#7Gc^7L7m`OH<6KhX1VPGkO`9{*3kiXPc!-p zD6eGTDZ@+b3gd693$PKf6ZCs}KoZZ*k^OgE=z2nB3S5tVNn{I(t`U*G{iQ^geVEeu z?j_fig@T%nP>}@%s9!g10^I5dV%3?D!5B%pK+m5o6ZlT#Vqc1WSj^oo2LI_ItPbmX z0Cp~|s~owrvXhO<%Cj1QBfANk-PA~n+hQsjPDL;>&E&E1Z1AUp1E~#W&o~c~{9Un` z7x&Xv0(w?TjhEY-Px{`qkgZ(~%xIjOc;*(_P#hiO0Z2AP=Q#?pXFIyyk{CL&Q+;I<^oZ zy(&}|Vg((C8X|HO!TmZrwc3G@a_HU6A7PIH6brlA_!Iy({N z0Nhn5%wP{qWojUILKqD~zZ>olnqN?sx)lo`8Rdm#b%e|ci*VcYONfyn>%srY7|Qc^UJoTEiLH{ueS*BaLS#9fV`P7-fxT(y}A|c d8MGfXt_0>i$(2A|O>0cOz=E$+dli}~^$)Q(a@+s_