Guest User

Untitled

a guest
Jan 4th, 2025
35
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.28 KB | None | 0 0
  1. #!/bin/bash
  2.  
  3. # --------------------------------------------------------
  4. # DEĞİŞKENLER
  5. # --------------------------------------------------------
  6.  
  7. riverctl spawn "export MOZ_ENABLE_WAYLAND=1"
  8.  
  9.  
  10. # --------------------------------------------------------
  11. # ÖNTANIMLI AYARLAR
  12. # --------------------------------------------------------
  13.  
  14. TERMINAL=foot
  15. MENU="wofi --show drun"
  16.  
  17. KB_LAYOUT=tr
  18.  
  19. # --------------------------------------------------------
  20. # PROGRAMLAR
  21. # --------------------------------------------------------
  22.  
  23. riverctl map normal Super Return spawn $TERMINAL
  24. riverctl map normal Super BackSpace spawn "$MENU"
  25.  
  26.  
  27. # Super+Q Odaklanılmış uygulamayı kapat
  28. riverctl map normal Super Q close
  29.  
  30. # Super+Shift+{Right,Left}
  31. riverctl map normal Super+Shift Right focus-view next
  32. riverctl map normal Super+Shift Left focus-view previous
  33.  
  34. #
  35. riverctl map normal Super+Control Left send-layout-cmd rivertile "main-ratio -0.05"
  36. riverctl map normal Super+Control Right send-layout-cmd rivertile "main-ratio +0.05"
  37.  
  38. riverctl map normal Super+Control Up send-layout-cmd rivertile "main-count +1"
  39. riverctl map normal Super+Control Down send-layout-cmd rivertile "main-count -1"
  40.  
  41. for i in $(seq 1 9)
  42. do
  43. tags=$((1 << ($i -1)))
  44.  
  45. riverctl map normal Super $i set-focused-tags $tags
  46.  
  47. riverctl map nromal Super+Shift $i set-view-tags $tags
  48.  
  49. riverctl map normal Super+Control $i toggle-focused-tags $tags
  50.  
  51. riverctl map normal Super+Shift+Control $i toggle-view-tags $tags
  52.  
  53. done
  54.  
  55. riverctl map normal Super+Control Z zoom
  56.  
  57. riverctl map normal Super+Control Q exit
  58.  
  59. riverctl keyboard-layout $KB_LAYOUT
  60.  
  61. riverctl map-pointer normal Super BTN_MIDDLE toggle-float
  62.  
  63. riverctl map-pointer normal Super BTN_LEFT move-view
  64.  
  65. riverctl map-pointer normal Super BTN_RIGHT resize-view
  66.  
  67. riverctl set-repeat 50 300
  68.  
  69.  
  70. riverctl map normal Super+Shift KP_Subtract spawn "brightnessctl s 5-"
  71. riverctl map normal Super+Shift KP_Add spawn "brightnessctl s +5"
  72.  
  73.  
  74.  
  75. # ---------------------------------------------------------
  76. # DÜZEN
  77. # ---------------------------------------------------------
  78.  
  79. riverctl default-layout rivertile
  80. rivertile -view-padding 6 \
  81. -outer-padding 6 &
  82.  
  83.  
  84. riverctl rule-add -app-id 'Waydroid' float
  85.  
  86.  
  87. pipewire &
  88. waybar &
  89.  
Advertisement
Add Comment
Please, Sign In to add comment