add nerd-dictation and ydotoold
This commit is contained in:
parent
7b3bcdd905
commit
57ceb8a806
4 changed files with 25 additions and 6 deletions
|
@ -76,6 +76,9 @@ focus_on_window_activation urgent
|
||||||
# start a terminal
|
# start a terminal
|
||||||
bindsym $mod+Return exec wezterm
|
bindsym $mod+Return exec wezterm
|
||||||
|
|
||||||
|
# Start Offline Speech
|
||||||
|
bindsym $mod+F1 exec ~/.config/nerd-dictation/run-dictation.sh
|
||||||
|
|
||||||
# kill focused window
|
# kill focused window
|
||||||
bindsym $mod+Shift+q kill
|
bindsym $mod+Shift+q kill
|
||||||
|
|
||||||
|
@ -337,10 +340,6 @@ for_window [class="calcurse"] floating enable border none
|
||||||
for_window [class="newsbeuter"] floating enable border none
|
for_window [class="newsbeuter"] floating enable border none
|
||||||
for_window [class="weechat"] floating enable border none
|
for_window [class="weechat"] floating enable border none
|
||||||
|
|
||||||
# Starter für Progs im Terminal
|
|
||||||
bindsym $mod+F1 exec wezterm start arch-install
|
|
||||||
bindsym $mod+F2 exec wezterm start htop
|
|
||||||
|
|
||||||
# assign special properties
|
# assign special properties
|
||||||
for_window [class="^Pavucontrol$"] floating enable
|
for_window [class="^Pavucontrol$"] floating enable
|
||||||
for_window [title="MonoDevelop External Console"] floating enable
|
for_window [title="MonoDevelop External Console"] floating enable
|
||||||
|
@ -534,6 +533,9 @@ exec --no-startup-id lxpolkit
|
||||||
# notify service from smartphone
|
# notify service from smartphone
|
||||||
#exec --no-startup-id /opt/an2linuxserver/an2linuxserver.py
|
#exec --no-startup-id /opt/an2linuxserver/an2linuxserver.py
|
||||||
|
|
||||||
|
# Using ydotool for nerd-dictation
|
||||||
|
exec --no-startup-id ydotoold
|
||||||
|
|
||||||
# starting Steam
|
# starting Steam
|
||||||
{{- if eq .chezmoi.hostname "SpectreOS-deck" }}
|
{{- if eq .chezmoi.hostname "SpectreOS-deck" }}
|
||||||
exec --no-startup-id steam -steamdeck -gamepadui
|
exec --no-startup-id steam -steamdeck -gamepadui
|
||||||
|
|
|
@ -37,7 +37,7 @@ application/x-extension-shtml=firefox.desktop
|
||||||
application/xhtml+xml=firefox.desktop
|
application/xhtml+xml=firefox.desktop
|
||||||
application/x-extension-xhtml=firefox.desktop
|
application/x-extension-xhtml=firefox.desktop
|
||||||
application/x-extension-xht=firefox.desktop
|
application/x-extension-xht=firefox.desktop
|
||||||
x-scheme-handler/mailto=userapp-Thunderbird-5B6Z91.desktop
|
x-scheme-handler/mailto=chromium.desktop
|
||||||
message/rfc822=userapp-Thunderbird-5B6Z91.desktop
|
message/rfc822=userapp-Thunderbird-5B6Z91.desktop
|
||||||
x-scheme-handler/mid=userapp-Thunderbird-5B6Z91.desktop
|
x-scheme-handler/mid=userapp-Thunderbird-5B6Z91.desktop
|
||||||
x-scheme-handler/news=userapp-Thunderbird-OQN591.desktop
|
x-scheme-handler/news=userapp-Thunderbird-OQN591.desktop
|
||||||
|
|
11
dot_config/nerd-dictation/executable_run-dictation.sh
Normal file
11
dot_config/nerd-dictation/executable_run-dictation.sh
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
|
if ! pgrep -f /usr/bin/nerd-dictation >/dev/null; then
|
||||||
|
notify-send "Hinweis" "Speech to Text wurde gestartet" -t 3000 -i /usr/share/icons/Arc/actions/symbolic/call-start-symbolic.svg
|
||||||
|
nerd-dictation begin --simulate-input-tool=YDOTOOL
|
||||||
|
else
|
||||||
|
nerd-dictation end
|
||||||
|
notify-send "Hinweis" "Speech to Text wurde beendet" -t 3000 -i /usr/share/icons/Arc/actions/symbolic/call-stop-symbolic.svg
|
||||||
|
fi
|
|
@ -22,7 +22,7 @@ set $inactive-text-color #676E7D
|
||||||
set $urgent-bg-color #E53935
|
set $urgent-bg-color #E53935
|
||||||
|
|
||||||
# window colors
|
# window colors
|
||||||
# border background text indicat>
|
# border background text indicat
|
||||||
client.focused $bg-color $bg-color $text-color #00ff00
|
client.focused $bg-color $bg-color $text-color #00ff00
|
||||||
client.unfocused $inactive-bg-color $inactive-bg-color $inactive-text-color #00ff00
|
client.unfocused $inactive-bg-color $inactive-bg-color $inactive-text-color #00ff00
|
||||||
client.focused_inactive $inactive-bg-color $inactive-bg-color $inactive-text-color #00ff00
|
client.focused_inactive $inactive-bg-color $inactive-bg-color $inactive-text-color #00ff00
|
||||||
|
@ -34,6 +34,9 @@ floating_modifier $mod
|
||||||
# start a terminal
|
# start a terminal
|
||||||
bindsym $mod+Return exec wezterm
|
bindsym $mod+Return exec wezterm
|
||||||
|
|
||||||
|
# Start Offline Speech
|
||||||
|
bindsym $mod+F1 exec ~/.config/nerd-dictation/run-dictation.sh
|
||||||
|
|
||||||
# kill focused window
|
# kill focused window
|
||||||
bindsym $mod+Shift+q kill
|
bindsym $mod+Shift+q kill
|
||||||
|
|
||||||
|
@ -408,6 +411,9 @@ exec /usr/bin/lxqt-policykit-agent
|
||||||
# Clipboard Manager
|
# Clipboard Manager
|
||||||
exec wl-paste -t text --watch clipman store
|
exec wl-paste -t text --watch clipman store
|
||||||
|
|
||||||
|
# Using ydotool for nerd-dictation
|
||||||
|
exec ydotoold
|
||||||
|
|
||||||
exec swayidle -w \
|
exec swayidle -w \
|
||||||
timeout 300 'swaylock -f' \
|
timeout 300 'swaylock -f' \
|
||||||
timeout 600 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"' \
|
timeout 600 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"' \
|
||||||
|
|
Loading…
Reference in a new issue