Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
U
UserConfig
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jiří Kalvoda
UserConfig
Commits
d8b106e1
Commit
d8b106e1
authored
5 years ago
by
Jiří Kalvoda
Browse files
Options
Downloads
Patches
Plain Diff
I3 Add volume loop.
parent
52be1b18
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
i3/config
+13
-1
13 additions, 1 deletion
i3/config
with
13 additions
and
1 deletion
i3/config
+
13
−
1
View file @
d8b106e1
...
...
@@ -253,6 +253,15 @@ mode "System modifikator"
bindsym f exec "amixer sset Master -q 2%+; sleep 0.05; volumeGUI"
bindsym g exec "amixer sset Master -q 10%+; sleep 0.05; volumeGUI"
bindsym Shift+a exec "echo 0 > .config/micloop/volume;pacmd set-sink-input-volume $(cat .config/micloop/id) $(cat .config/micloop/volume) ; notify-send loopmic $(cat .config/micloop/volume) -h string:x-canonical-private-synchronous:anything"
bindsym Shift+s exec "echo $(( $(cat .config/micloop/volume) - 20000 )) > .config/micloop/volume; notify-send loopmic \\" $(cat .config/micloop/volume) \\" -h string:x-canonical-private-synchronous:anything;pacmd set-sink-input-volume $(cat .config/micloop/id) $(cat .config/micloop/volume) "
bindsym Shift+d exec "echo $(( $(cat .config/micloop/volume) - 5000 )) > .config/micloop/volume; notify-send loopmic \\" $(cat .config/micloop/volume) \\" -h string:x-canonical-private-synchronous:anything;pacmd set-sink-input-volume $(cat .config/micloop/id) $(cat .config/micloop/volume) "
bindsym Shift+f exec "echo $(( $(cat .config/micloop/volume) + 5000 )) > .config/micloop/volume; notify-send loopmic \\" $(cat .config/micloop/volume) \\" -h string:x-canonical-private-synchronous:anything;pacmd set-sink-input-volume $(cat .config/micloop/id) $(cat .config/micloop/volume) "
bindsym Shift+g exec "echo $(( $(cat .config/micloop/volume) + 20000 )) > .config/micloop/volume; notify-send loopmic \\" $(cat .config/micloop/volume) \\" -h string:x-canonical-private-synchronous:anything;pacmd set-sink-input-volume $(cat .config/micloop/id) $(cat .config/micloop/volume) "
bindsym Ctrl+a exec "pactl load-module module-loopback source=\\"alsa_input.pci-0000_00_1f.3.analog-stereo\\" latency_msec=1 "
bindsym Ctrl+s exec "pactl unload-module module-loopback"
bindsym Ctrl+d exec "echo $(( 1 - $(cat ~/.config/micloop/mute) )) > ~/.config/micloop/mute;pacmd set-sink-input-mute $(cat ~/.config/micloop/id) $(cat ~/.config/micloop/mute) ; notify-send 'loopmic mute' $(cat ~/.config/micloop/mute) -h string:x-canonical-private-synchronous:anything"
bindsym comma exec xrandr --auto
bindsym n exec xrand--auto; exec xrandr --output HDMI-1 --off --output eDP-1 --pos 0x0
bindsym m exec xrandr --auto; exec xrandr --output HDMI-1 --pos 0x0 --output eDP-1 --pos 2560x500
...
...
@@ -282,7 +291,7 @@ mode "System modifikator"
bindsym $mod+Return mode "default"
bindsym $mod+Escape mode "default"
bindsym
k
exec "setxkbmap us,cz -variant ,ucw -option grp:caps_switch"
bindsym
b
exec "setxkbmap us,cz -variant ,ucw -option grp:caps_switch"
bindsym p exec cpuFGUI
bindsym o exec "cpuF 5000; cpuFGUI 'SET TO 5000'"
...
...
@@ -325,6 +334,9 @@ mode "System modifikator"
bindsym Ctrl+bracketright mode "default"; exec "gksudo -g gnome-disks"
}
bindcode 121 exec "echo $(( 1 - $(cat ~/.config/micloop/mute) )) > ~/.config/micloop/mute;pacmd set-sink-input-mute $(cat ~/.config/micloop/id) $(cat ~/.config/micloop/mute) ; notify-send 'loopmic mute' $(cat ~/.config/micloop/mute) -h string:x-canonical-private-synchronous:anything"
bindcode 122 exec "echo $(( $(cat .config/micloop/volume) - 10000 )) > .config/micloop/volume; notify-send loopmic \\" $(cat .config/micloop/volume)\\" -h string:x-canonical-private-synchronous:anything;pacmd set-sink-input-volume $(cat .config/micloop/id) \\"$(cat .config/micloop/volume)\\" "
bindcode 123 exec "echo $(( $(cat .config/micloop/volume) + 10000 )) > .config/micloop/volume; notify-send loopmic \\" $(cat .config/micloop/volume)\\" -h string:x-canonical-private-synchronous:anything;pacmd set-sink-input-volume $(cat .config/micloop/id) $(cat .config/micloop/volume) "
#bindsym Print exec gnome-screenshot -w
#bindsym Shift+Print exec gnome-screenshot
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment