M river/.config/river/init => river/.config/river/init +30 -28
@@ 1,38 1,40 @@
#!/bin/sh
-mod="Mod4"
+riverctl map normal Super Q spawn 'launcher'
+riverctl map normal Super W spawn '$BROWSER'
+riverctl map normal Super E spawn '$TERMINAL'
+riverctl map normal Super A spawn '$TERMINAL fff'
+riverctl map normal Super G spawn '$TERMINAL astronaut'
+riverctl map normal Super P spawn '1password --quick-access'
-riverctl map normal $mod Q spawn 'launcher'
-riverctl map normal $mod W spawn '$BROWSER'
-riverctl map normal $mod E spawn '$TERMINAL'
-riverctl map normal $mod A spawn '$TERMINAL fff'
-riverctl map normal $mod G spawn '$TERMINAL astronaut'
-riverctl map normal $mod P spawn '1password --quick-access'
+riverctl map normal Super BackSpace close
+riverctl map normal Super+Shift BackSpace exit
+riverctl map normal Super+Shift Delete spawn 'byebye'
+riverctl map normal Super Space spawn 'swaylock'
-riverctl map normal $mod BackSpace close
-riverctl map normal $mod+Shift BackSpace exit
-riverctl map normal $mod+Shift Delete spawn 'byebye'
-riverctl map normal $mod Space spawn 'swaylock'
+riverctl map normal Super J focus-view next
+riverctl map normal Super K focus-view previous
+riverctl map normal Super H send-layout-cmd rivertile 'main-ratio -0.05'
+riverctl map normal Super L send-layout-cmd rivertile 'main-ratio +0.05'
-riverctl map normal $mod J focus-view next
-riverctl map normal $mod K focus-view previous
-riverctl map normal $mod H send-layout-cmd rivertile 'main-ratio -0.05'
-riverctl map normal $mod L send-layout-cmd rivertile 'main-ratio +0.05'
+riverctl map normal Super M toggle-fullscreen
+riverctl map normal Super F toggle-float
+riverctl map normal Super Return zoom
+riverctl map normal Super Tab swap next
-riverctl map normal $mod M toggle-fullscreen
-riverctl map normal $mod F toggle-float
-riverctl map normal $mod Return zoom
-riverctl map normal $mod Tab swap next
+riverctl declare-mode passthrough
+riverctl map normal Super 0 enter-mode passthrough
+riverctl map passthrough Super 0 enter-mode normal
-riverctl map-pointer normal $mod BTN_LEFT move-view
-riverctl map-pointer normal $mod+Shift BTN_LEFT resize-view
+riverctl map-pointer normal Super BTN_LEFT move-view
+riverctl map-pointer normal Super+Shift BTN_LEFT resize-view
for i in $(seq 1 9); do
tags=$((1 << ($i - 1)))
- riverctl map normal $mod $i set-focused-tags $tags
- riverctl map normal $mod+Shift $i set-view-tags $tags
- riverctl map normal $mod+Control $i toggle-focused-tags $tags
- riverctl map normal $mod+Shift+Control $i toggle-view-tags $tags
+ riverctl map normal Super $i set-focused-tags $tags
+ riverctl map normal Super+Shift $i set-view-tags $tags
+ riverctl map normal Super+Control $i toggle-focused-tags $tags
+ riverctl map normal Super+Shift+Control $i toggle-view-tags $tags
done
riverctl map normal None XF86AudioRaiseVolume spawn \
@@ 49,14 51,14 @@ riverctl map normal None Print spawn \
'screenshot'
riverctl map normal Shift Print spawn \
'screenshot region'
-riverctl map normal $mod N spawn \
+riverctl map normal Super N spawn \
'makoctl dismiss --all'
-riverctl map normal $mod+Shift N spawn \
+riverctl map normal Super+Shift N spawn \
'makoctl restore'
riverctl set-repeat 50 200
-touchpad='2:7:SynPS/2_Synaptics_TouchPad'
+touchpad='pointer-2-7-SynPS/2_Synaptics_TouchPad'
riverctl input $touchpad tap enabled
riverctl input $touchpad natural-scroll enabled
riverctl input $touchpad pointer-accel 0.4
A spotifyd/.config/spotifyd/spotifyd.conf => spotifyd/.config/spotifyd/spotifyd.conf +13 -0
@@ 0,0 1,13 @@
+[global]
+username = "11143726984"
+password = "4j)6T9wVp,c#.!b?ia-2>Dydf_"
+
+backend = "pulseaudio"
+bitrate = 160
+
+device_name = "spettro"
+device_type = "computer"
+cache_path = ".local/share/spotifyd"
+
+# A command that gets executed in your shell after each song changes.
+# on_song_change_hook = "command_to_run_on_playback_events"