diff --git a/.config/kanata/kanata.kbd b/.config/kanata/kanata.kbd index 36d0d71..db6c7e8 100644 --- a/.config/kanata/kanata.kbd +++ b/.config/kanata/kanata.kbd @@ -26,7 +26,7 @@ ;; Choose here if you want to add an angle mod: ZXCVB are shifted to the left. ;; See https://colemakmods.github.io/ergonomic-mods/angle.html for more details. -(include defsrc/pc.kbd) ;; PC, standard finger assignment +;;(include defsrc/pc.kbd) ;; PC, standard finger assignment ;; (include defsrc/mac.kbd) ;; Mac, standard finger assignment (include defsrc/pc_anglemod.kbd) ;; PC, ZXCVB are shifted to the left ;; (include defsrc/mac_anglemod.kbd) ;; Mac, ZXCVB are shifted to the left @@ -38,9 +38,9 @@ ;; `Base` layer: standard or dual keys? (layer-taps, homerow mods?) ;; If you just want angle mod, you still have to enable the standard base. -(include deflayer/base.kbd) ;; standard keyboard behavior +;; (include deflayer/base.kbd) ;; standard keyboard behavior ;; (include deflayer/base_lt.kbd) ;; layer-taps on both thumb keys -;; (include deflayer/base_lt_hrm.kbd) ;; layer-taps + home-row mods +(include deflayer/base_lt_hrm.kbd) ;; layer-taps + home-row mods ;; Note: not enabling layer-taps here makes the rest of the file useless. diff --git a/.config/sway/config.d/08-launchers.conf b/.config/sway/config.d/08-launchers.conf index 997389a..deb4dd0 100644 --- a/.config/sway/config.d/08-launchers.conf +++ b/.config/sway/config.d/08-launchers.conf @@ -64,6 +64,11 @@ bindsym $mad+Shift+s exec "$HOME/.config/sway/scripts/screentemp toggle; pkill - # Push-to-talk : maintenir Ctrl+! bindsym Ctrl+exclam exec sh -c "pactl list short sources | cut -f2 | while read -r src; do pactl set-source-mute \"\$src\" 0; done" bindsym --release Ctrl+exclam exec sh -c "pactl list short sources | cut -f2 | while read -r src; do pactl set-source-mute \"\$src\" 1; done" +bindsym Ctrl+k exec sh -c "pactl list short sources | cut -f2 | while read -r src; do pactl set-source-mute \"\$src\" 0; done" +bindsym --release Ctrl+k exec sh -c "pactl list short sources | cut -f2 | while read -r src; do pactl set-source-mute \"\$src\" 1; done" # Ctrl+Shift+! : mute permanent bindsym Ctrl+Shift+exclam exec sh -c "pactl list short sources | cut -f2 | while read -r src; do pactl set-source-mute \"\$src\" 0; done" +bindsym Ctrl+Shift+k exec sh -c "pactl list short sources | cut -f2 | while read -r src; do pactl set-source-mute \"\$src\" 0; done" + +bindsym Ctrl+Space exec sh -c "/home/gil/.local/bin/toggleLayout.sh"