aboutsummaryrefslogtreecommitdiffstats
path: root/.config
diff options
context:
space:
mode:
authorDavid Runge <dave@sleepmap.de>2019-04-11 10:47:21 +0200
committerDavid Runge <dave@sleepmap.de>2019-04-11 10:47:21 +0200
commita90fea89aded695b34a0dd51c98cbef01f436604 (patch)
tree6f9ac8ca6093a9367548d2c2386b7b4333dbca86 /.config
parent4fe976ea40dea127d4dfa14b84a5ccda7ec036ae (diff)
parent3a8e03d9adc84dc71d401f4255b691957e5d0a4a (diff)
downloaddotfiles-a90fea89aded695b34a0dd51c98cbef01f436604.tar.gz
dotfiles-a90fea89aded695b34a0dd51c98cbef01f436604.tar.bz2
dotfiles-a90fea89aded695b34a0dd51c98cbef01f436604.tar.xz
dotfiles-a90fea89aded695b34a0dd51c98cbef01f436604.zip
Merge branch 'master' of sleepmap.de:config/dotfiles
* 'master' of sleepmap.de:config/dotfiles: .config/sway/config: Adding mod+space as layout toggle. Quoting unused focus mode toggle. Adding clock to bar. .config/SuperCollider/synthdefs.scd: Adding SynthDef to record 8 channels to disk with a volume array (through control Bus).
Diffstat (limited to '.config')
-rw-r--r--.config/SuperCollider/synthdefs.scd11
-rw-r--r--.config/sway/config6
2 files changed, 15 insertions, 2 deletions
diff --git a/.config/SuperCollider/synthdefs.scd b/.config/SuperCollider/synthdefs.scd
index 51d320d..afa0828 100644
--- a/.config/SuperCollider/synthdefs.scd
+++ b/.config/SuperCollider/synthdefs.scd
@@ -35,3 +35,14 @@ SynthDef(\mix4BussesToOut, {
Mix.new(SoundIn.ar(in, volume))
);
}).add;
+
+// Record 8 channels
+SynthDef(\record8Channels, {
+ arg numBuf,
+ volume=#[0,0,0,0,0,0,0,0],
+ in=0;
+ DiskOut.ar(
+ numBuf,
+ In.ar(in, 8) * volume
+ );
+}).add;
diff --git a/.config/sway/config b/.config/sway/config
index 18e030d..aca9c6f 100644
--- a/.config/sway/config
+++ b/.config/sway/config
@@ -144,7 +144,8 @@ output * bg /usr/share/backgrounds/sway/Sway_Wallpaper_Blue_1920x1080.png fill
# Switch the current container between different layout styles
bindsym $mod+s layout stacking
bindsym $mod+w layout tabbed
- bindsym $mod+e layout toggle split
+# bindsym $mod+e layout toggle split
+ bindsym $mod+space layout toggle all
# Make the current focus fullscreen
bindsym $mod+f fullscreen
@@ -153,7 +154,7 @@ output * bg /usr/share/backgrounds/sway/Sway_Wallpaper_Blue_1920x1080.png fill
bindsym $mod+Shift+space floating toggle
# Swap focus between the tiling area and the floating area
- bindsym $mod+space focus mode_toggle
+# bindsym $mod+space focus mode_toggle
# move focus to the parent container
bindsym $mod+a focus parent
@@ -202,6 +203,7 @@ bindsym $mod+r mode "resize"
# Read `man 5 sway-bar` for more information about this section.
bar {
position top
+ status_command while date +'%Y-%m-%d %R'; do sleep 1; done
colors {
statusline #ffffff
background #323232