River
This commit is contained in:
@@ -53,6 +53,8 @@
|
|||||||
programs = {
|
programs = {
|
||||||
hyprland.enable = true;
|
hyprland.enable = true;
|
||||||
|
|
||||||
|
river.enable = true;
|
||||||
|
|
||||||
steam = {
|
steam = {
|
||||||
enable = true;
|
enable = true;
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -4,6 +4,7 @@
|
|||||||
# ./i3status-rust
|
# ./i3status-rust
|
||||||
# ./polybar
|
# ./polybar
|
||||||
./hyprland
|
./hyprland
|
||||||
|
./river
|
||||||
./waybar
|
./waybar
|
||||||
./tofi
|
./tofi
|
||||||
];
|
];
|
||||||
|
|||||||
48
users/configs/desktop/river/default.nix
Normal file
48
users/configs/desktop/river/default.nix
Normal file
@@ -0,0 +1,48 @@
|
|||||||
|
{
|
||||||
|
config,
|
||||||
|
lib,
|
||||||
|
pkgs,
|
||||||
|
hostname,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
|
home.packages = with pkgs; [
|
||||||
|
wlr-randr
|
||||||
|
];
|
||||||
|
wayland.windowManager.river = {
|
||||||
|
enable = true;
|
||||||
|
|
||||||
|
extraConfig = ''
|
||||||
|
MAINMOD="Super"
|
||||||
|
|
||||||
|
riverctl map normal $MAINMOD D spawn 'tofi-drun --drun-launch=true'
|
||||||
|
riverctl map normal $MAINMOD Return spawn 'kitty'
|
||||||
|
riverctl map normal $MAINMOD+Shift p exit
|
||||||
|
riverctl map normal $MAINMOD q close
|
||||||
|
|
||||||
|
riverctl map normal $MAINMOD l focus-view next
|
||||||
|
riverctl map normal $MAINMOD h focus-view previous
|
||||||
|
|
||||||
|
riverctl map normal $MAINMOD+Shift l swap next
|
||||||
|
riverctl map normal $MAINMOD+Shift h swap previous
|
||||||
|
|
||||||
|
|
||||||
|
riverctl map -repeat normal None XF86AudioLowerVolume spawn 'wpctl set-volume -l 1.0 @DEFAULT_AUDIO_SINK@ 5%-'
|
||||||
|
riverctl map -repeat normal None XF86AudioRaiseVolume spawn 'wpctl set-volume -l 1.0 @DEFAULT_AUDIO_SINK@ 5%+'
|
||||||
|
riverctl map normal None XF86AudioMute spawn 'wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle'
|
||||||
|
|
||||||
|
riverctl map -repeat normal None XF86MonBrightnessUp spawn 'xbacklight -inc 10'
|
||||||
|
riverctl map -repeat normal None XF86MonBrightnessDown spawn 'xbacklight -dec 10'
|
||||||
|
|
||||||
|
riverctl spawn rivertile
|
||||||
|
riverctl output-layout rivertile
|
||||||
|
|
||||||
|
riverctl input 'pointer-2362-628-PIXA3854:00_093A:0274_Touchpad' accel-profile flat
|
||||||
|
riverctl input 'pointer-2362-628-PIXA3854:00_093A:0274_Touchpad' natural-scroll enabled
|
||||||
|
riverctl input 'pointer-2362-628-PIXA3854:00_093A:0274_Touchpad' tap enabled
|
||||||
|
|
||||||
|
riverctl keyboard-layout -options caps:escape gb
|
||||||
|
|
||||||
|
wlr-randr --output eDP-1 --scale 1.33
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -2,7 +2,11 @@
|
|||||||
"layer": "top",
|
"layer": "top",
|
||||||
"modules-left": [
|
"modules-left": [
|
||||||
"hyprland/workspaces",
|
"hyprland/workspaces",
|
||||||
"hyprland/window"
|
"hyprland/window",
|
||||||
|
"river/tags",
|
||||||
|
"river/mode",
|
||||||
|
"river/layout",
|
||||||
|
"river/window"
|
||||||
],
|
],
|
||||||
"modules-center": [
|
"modules-center": [
|
||||||
"clock"
|
"clock"
|
||||||
|
|||||||
Reference in New Issue
Block a user