+18
config/kanshi/config
+18
config/kanshi/config
···
1
+
profile desktop {
2
+
output "AOC 2460G4 0x0000075E" {
3
+
mode 1920x1080@144Hz
4
+
position 0,0
5
+
adaptive_sync off
6
+
}
7
+
output "BNQ BenQ PD2700U ET87K04288SL0" {
8
+
mode 3840x2160@60Hz
9
+
position 1920,0
10
+
scale 2
11
+
adaptive_sync on
12
+
}
13
+
output "LG Electronics LG HDR WFHD 0x0000B11B" {
14
+
mode 2560x1080@75Hz
15
+
position 640,1080
16
+
adaptive_sync on
17
+
}
18
+
}
+112
config/river/init
+112
config/river/init
···
1
+
#!/bin/sh
2
+
# Autostart
3
+
riverctl spawn update-session-vars
4
+
riverctl spawn "swaybg -i ${HOME}/misc/syncthing/media/images/wallpapers/dark/evie-s-Pb1KFv4tauY-unsplash.jpg -m fill"
5
+
riverctl spawn kanshi
6
+
riverctl spawn 'rivertile -outer-padding 0 -view-padding 0 -main-ratio 0.5'
7
+
8
+
riverctl xcursor-theme Adwaita 24
9
+
10
+
riverctl input pointer-1356-3570-Sony_Interactive_Entertainment_DualSense_Edge_Wireless_Controller_Touchpad events disabled
11
+
12
+
riverctl focus-follows-cursor normal
13
+
14
+
riverctl map normal Super Return spawn foot
15
+
riverctl map normal Super R spawn bemenu-run.sh
16
+
riverctl map normal Super E spawn 'wpctl set-mute @DEFAULT_SOURCE@ toggle'
17
+
18
+
riverctl map normal None Print spawn 'scr pic -c'
19
+
riverctl map normal Super Print spawn 'scr pic -cd'
20
+
21
+
# riverctl map normal Super Space 'makoctl dismiss -a'
22
+
23
+
# riverctl map normal Super H focus-view left
24
+
# riverctl map normal Super J focus-view down
25
+
# riverctl map normal Super K focus-view up
26
+
# riverctl map normal Super L focus-view right
27
+
riverctl map normal Super Z focus-view next
28
+
riverctl map normal Super+Control Z focus-view previous
29
+
30
+
riverctl map-pointer normal Super BTN_LEFT move-view
31
+
riverctl map-pointer normal Super BTN_RIGHT resize-view
32
+
33
+
riverctl map normal Super+Shift Return zoom
34
+
35
+
36
+
riverctl map normal Super X focus-output next
37
+
riverctl map normal Super+Alt X focus-output previous
38
+
riverctl map normal Super+Control X send-to-output next
39
+
riverctl map normal Super+Control+Alt X send-to-output previous
40
+
riverctl map normal Super+Shift+Control X send-to-output -current-tags next
41
+
riverctl map normal Super+Shift+Control+Alt X send-to-output -current-tags previous
42
+
43
+
# This doesn't seem to work with these output names
44
+
# riverctl declare-mode output-ops
45
+
# riverctl map normal Super X enter-mode output-ops
46
+
# riverctl map output-ops None 1 focus-output "LG Electronics LG HDR WFHD 0x0000B11B"
47
+
# riverctl map output-ops None 2 focus-output "BNQ BenQ PD2700U ET87K04288SL0"
48
+
# riverctl map output-ops None 3 focus-output "AOC 2460G4 0x0000075E"
49
+
# riverctl map output-ops Shift 1 send-to-output "LG Electronics LG HDR WFHD 0x0000B11B"
50
+
# riverctl map output-ops Shift 2 send-to-output "BNQ BenQ PD2700U ET87K04288SL0"
51
+
# riverctl map output-ops Shift 3 send-to-output "AOC 2460G4 0x0000075E"
52
+
# riverctl map output-ops None Escape enter-mode normal
53
+
54
+
for i in $(seq 1 9)
55
+
do
56
+
tags=$((1 << ($i - 1)))
57
+
58
+
# Super+Control+[1-9] to toggle focus of tag [0-8]
59
+
riverctl map normal Super $i toggle-focused-tags $tags
60
+
61
+
# Super+Shift+Control+[1-9] to toggle tag [0-8] of focused view
62
+
riverctl map normal Super+Shift $i toggle-view-tags $tags
63
+
64
+
# Super+[1-9] to focus tag [0-8]
65
+
riverctl map normal Super+Control $i set-focused-tags $tags
66
+
67
+
# Super+Shift+[1-9] to tag focused view with tag [0-8]
68
+
riverctl map normal Super+Shift+Control $i set-view-tags $tags
69
+
done
70
+
71
+
# Super+0 to focus all tags
72
+
# Super+Shift+0 to tag focused view with all tags
73
+
all_tags=$(((1 << 32) - 1))
74
+
riverctl map normal Super 0 set-focused-tags $all_tags
75
+
riverctl map normal Super+Shift 0 set-view-tags $all_tags
76
+
77
+
riverctl map normal Super+Control Escape exit
78
+
riverctl map normal Super Q close
79
+
80
+
riverctl map normal Super F toggle-float
81
+
riverctl map normal Super+Control F toggle-fullscreen
82
+
83
+
riverctl declare-mode passthrough
84
+
riverctl map normal Super F12 enter-mode passthrough
85
+
riverctl map passthrough Super F12 enter-mode normal
86
+
87
+
# Set background and border color
88
+
# riverctl background-color 0x002b36
89
+
riverctl border-color-focused 0x93a1a1
90
+
riverctl border-color-unfocused 0x586e75
91
+
92
+
# # Set keyboard repeat rate
93
+
# riverctl set-repeat 50 300
94
+
95
+
riverctl map normal Super T output-layout rivertile
96
+
riverctl map normal Super+Control T output-layout none
97
+
98
+
riverctl map normal Super Up send-layout-cmd rivertile "main-location top"
99
+
riverctl map normal Super Left send-layout-cmd rivertile "main-location left"
100
+
riverctl map normal Super Down send-layout-cmd rivertile "main-location bottom"
101
+
riverctl map normal Super Right send-layout-cmd rivertile "main-location right"
102
+
103
+
riverctl map normal Super Bracketleft send-layout-cmd rivertile "main-count -1"
104
+
riverctl map normal Super Bracketright send-layout-cmd rivertile "main-count +1"
105
+
riverctl map normal Super+Control Bracketleft send-layout-cmd rivertile "main-ratio -0.05"
106
+
riverctl map normal Super+Control Bracketright send-layout-cmd rivertile "main-ratio +0.05"
107
+
108
+
riverctl map normal Super Space zoom
109
+
riverctl map normal Super Comma focus-view previous
110
+
riverctl map normal Super Period focus-view next
111
+
riverctl map normal Super+Control Comma swap previous
112
+
riverctl map normal Super+Control Period swap next
+5
config/xdg-desktop-portal-wlr/config
+5
config/xdg-desktop-portal-wlr/config