Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- # --------------------------------------------------------
- # DEĞİŞKENLER
- # --------------------------------------------------------
- riverctl spawn "export MOZ_ENABLE_WAYLAND=1"
- # --------------------------------------------------------
- # ÖNTANIMLI AYARLAR
- # --------------------------------------------------------
- TERMINAL=foot
- MENU="wofi --show drun"
- KB_LAYOUT=tr
- # --------------------------------------------------------
- # PROGRAMLAR
- # --------------------------------------------------------
- riverctl map normal Super Return spawn $TERMINAL
- riverctl map normal Super BackSpace spawn "$MENU"
- # Super+Q Odaklanılmış uygulamayı kapat
- riverctl map normal Super Q close
- # Super+Shift+{Right,Left}
- riverctl map normal Super+Shift Right focus-view next
- riverctl map normal Super+Shift Left focus-view previous
- #
- riverctl map normal Super+Control Left send-layout-cmd rivertile "main-ratio -0.05"
- riverctl map normal Super+Control Right send-layout-cmd rivertile "main-ratio +0.05"
- riverctl map normal Super+Control Up send-layout-cmd rivertile "main-count +1"
- riverctl map normal Super+Control Down send-layout-cmd rivertile "main-count -1"
- for i in $(seq 1 9)
- do
- tags=$((1 << ($i -1)))
- riverctl map normal Super $i set-focused-tags $tags
- riverctl map nromal 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 Super+Control Z zoom
- riverctl map normal Super+Control Q exit
- riverctl keyboard-layout $KB_LAYOUT
- riverctl map-pointer normal Super BTN_MIDDLE toggle-float
- riverctl map-pointer normal Super BTN_LEFT move-view
- riverctl map-pointer normal Super BTN_RIGHT resize-view
- riverctl set-repeat 50 300
- riverctl map normal Super+Shift KP_Subtract spawn "brightnessctl s 5-"
- riverctl map normal Super+Shift KP_Add spawn "brightnessctl s +5"
- # ---------------------------------------------------------
- # DÜZEN
- # ---------------------------------------------------------
- riverctl default-layout rivertile
- rivertile -view-padding 6 \
- -outer-padding 6 &
- riverctl rule-add -app-id 'Waydroid' float
- pipewire &
- waybar &
Advertisement
Add Comment
Please, Sign In to add comment