Advertisement
Guest User

Untitled

a guest
Nov 20th, 2020
51
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.07 KB | None | 0 0
  1. # Read `man 5 sway` for a complete reference.
  2. # Logo key. Use Mod1 for Alt.
  3. set $mod Mod4
  4. set $fillmode fill
  5. set $picture /home/Wallpapers/wallp.jpg
  6. set $locked2 swaylock -K -i $picture -s $fillmode
  7. set $locked /home/blabla/scripts/kepk
  8. set $term termite
  9. set $menu dmenu_path | dmenu | xargs swaymsg exec
  10.  
  11. for_window [title="^asciiquarium$"] fullscreen enable
  12. for_window [class="sokoban_Alan_Liss"] floating enable
  13. for_window [title="The Neverhood Chronicles"] floating enable
  14.  
  15. ### Output configuration
  16. #
  17. # Default wallpaper (more resolutions are available in /usr/share/backgrounds/sway/)
  18. #output * bg /home/blabla/minta1.png tile
  19. output * bg $picture $fillmode
  20. #output * bg /home/blabla/Downloads/minta.png tile
  21.  
  22. #
  23. # Example configuration:
  24. #
  25. # output HDMI-A-1 resolution 1920x1080 position 1920,0
  26. #
  27. # You can get the names of your outputs by running: swaymsg -t get_outputs
  28.  
  29. ### Idle configuration
  30. #
  31. # Example configuration:
  32. #
  33. exec swayidle \
  34. timeout 900 '$locked' \
  35. timeout 890 'swaymsg "output * dpms off"' \
  36. resume 'swaymsg "output * dpms on"' \
  37. # before-sleep 'swaylock -c 000000'
  38. #
  39. # This will lock your screen after 300 seconds of inactivity, then turn off
  40. # your displays after another 300 seconds, and turn your screens back on when
  41. # resumed. It will also lock your screen before your computer goes to sleep.
  42.  
  43. ### Input configuration
  44. #
  45. # Example configuration:
  46. #
  47. # input "2:14:SynPS/2_Synaptics_TouchPad" {
  48. # dwt enabled
  49. # tap enabled
  50. # natural_scroll enabled
  51. # middle_emulation enabled
  52. # }
  53. #
  54. # You can get the names of your inputs by running: swaymsg -t get_inputs
  55. # Read `man 5 sway-input` for more information about this section.
  56.  
  57. input "1:1:AT_Translated_Set_2_keyboard" {
  58. xkb_layout hu,us
  59. xkb_options grp_led:caps,grp:alt_space_toggle,caps:escape
  60. #xkb_options caps:escape
  61. repeat_delay 280
  62. repeat_rate 50
  63. }
  64. input "2:7:SynPS/2_Synaptics_TouchPad" {
  65. dwt disabled
  66. tap disabled
  67. pointer_accel 1
  68. middle_emulation enabled
  69. drag disabled
  70. left_handed disabled
  71. }
  72. input "2:10:TPPS/2_IBM_TrackPoint" {
  73. tap enabled
  74. pointer_accel 1
  75. middle_emulation enabled
  76. left_handed disabled
  77. }
  78.  
  79. ### Key bindings ***********************************************************************************
  80. # #fejkeret #fejléc #betűszín
  81. client.focused #000000dd #222222dd #ffffffff #2e9ef4 #285577
  82. #client.focused #ffff0077 #ffff0099 #000000ff #2e9ef4 #285577
  83. client.unfocused #000000dd #000000dd #ffffff55 #292d2e #222222
  84. bindcode 133 mode "wm"
  85. mode "wm" {
  86. bindsym Return mode "default"
  87. bindsym Escape mode "default"
  88. bindsym 1 workspace 1; mode "default"
  89. bindsym 2 workspace 2; mode "default"
  90. bindsym 3 workspace 3; mode "default"
  91. bindsym a exec $term -e '/home/blabla/scripts/kepk'; mode "default"
  92. bindsym b exec $term -e '/home/blabla/scripts/torrent'; mode "default"
  93. bindsym c exec /home/Lp/firefox/start2; mode "default"
  94. bindsym d exec doublecmd --no-splash; mode "default"
  95. bindsym Shift+d exec deadbeef; mode "default"
  96. bindsym e exec $term -e 'vifm'; mode "default"
  97. bindsym Shift+e exec $term -e 'mc'; mode "default"
  98. bindsym f exec /home/Lp/firefox/start; mode "default"
  99. bindsym Shift+f exec $term -e '/home/blabla/scripts/nettest'; mode "default"
  100. bindsym g exec goldendict; mode "default"
  101. bindsym Shift+g exec $term -e '/home/blabla/scripts/szotar'; mode "default"
  102. bindsym h exec $term -e 'htop'; mode "default"
  103. bindsym Shift+h exec $term -e 'sudo htop'; mode "default"
  104. bindsym i exec $term -e 'sudo ntpd -s -d'; mode "default"
  105. bindsym Shift+i exec $term -e '/home/blabla/scripts/idoj'; mode "default"
  106. bindsym j exec $term -e '/home/blabla/scripts/keepass'; mode "default"
  107. bindsym k exec $term -e '/home/blabla/scripts/naptaram'; mode "default"
  108. bindsym l exec $locked2; mode "default"
  109. bindsym m exec $term -e 'neomutt'; mode "default"
  110. bindsym Shift+m exec thunderbird; mode "default"
  111. bindsym n exec $term -e 'ncmpcpp'; mode "default"
  112. bindsym o exec $term -e 'ncpamixer'; mode "default"
  113. bindsym p exec $term -c ~/.config/termite/amber -e '/home/blabla/scripts/update-m'; mode "default"
  114. bindsym Shift+p exec $term -e '/home/blabla/scripts/update-aur'; mode "default"
  115. bindsym q exec $term -c ~/.config/termite/amber -e 'calc'; mode "default"
  116. bindsym Shift+q exec $term -c ~/.config/termite/green -e '/home/blabla/scripts/pycalc'; mode "default"
  117. bindsym Shift+r exec $term -e 'curseradio'; mode "default"
  118. bindsym r exec $menu;mode "default"
  119. bindsym s exec $term -e '/home/blabla/scripts/selection'; mode "default"
  120. bindsym t exec $term; mode "default"
  121. bindsym Shift+t exec $term -e '/home/blabla/scripts/mtpmount'; mode "default"
  122. bindsym u exec $term -c ~/.config/termite/amber -e 'su'; mode "default"
  123. bindsym v exec $term -e 'vim'; mode "default"
  124. bindsym w exec /home/blabla/scripts/gib; mode "default"
  125. bindsym Shift+w exec $term -e '/home/blabla/scripts/wifi'; mode "default"
  126. bindsym x exec $term -e '/home/blabla/scripts/ssdk'; mode "default"
  127. bindsym y exec $term -e '/home/blabla/scripts/res'; mode "default"
  128. bindsym z exec $term -e '/home/blabla/scripts/jatek'; mode "default"
  129. bindsym End exec light -S 5; mode "default"
  130. bindsym Home exec light -S 100; mode "default"
  131. bindsym Next exec redshift -m wayland -l 52.0656928:-0.788517 -O 4500; mode "default"
  132. bindsym Prior exec pkill redshift; mode "default"
  133. bindsym F1 layout stacking; mode "default"
  134. bindsym F2 layout tabbed; mode "default"
  135. bindsym F3 layout toggle split; mode "default"
  136. bindsym F5 reload; mode "default"
  137. bindsym F8 exec reboot
  138. bindsym F10 exec swaymsg exit; mode "default"
  139. bindsym F11 fullscreen; mode "default"
  140. bindsym F12 floating toggle
  141. }
  142. bindsym Mod1+F4 kill
  143. bindsym Mod1+tab fullscreen disable; focus right
  144. bindsym Print exec grim /home/blabla/$(date +'%Y-%m-%d-%H%M%S_grim.png')
  145. bindsym XF86AudioRaiseVolume exec --no-startup-id pamixer --allow-boost --increase 2
  146. bindsym XF86AudioLowerVolume exec --no-startup-id pamixer --allow-boost --decrease 2
  147. bindsym XF86AudioMute exec --no-startup-id pamixer -t --allow-boost
  148. bindsym XF86AudioMicMute exec --no-startup-id pamixer --source 1 -t
  149. bindsym XF86MonBrightnessUp exec --no-startup-id light -A 2
  150. bindsym XF86MonBrightnessDown exec --no-startup-id light -U 2
  151. bindsym XF86Launch1 exec --no-startup-id pavucontrol -t 3
  152.  
  153. ## innentől gyári, default a konfig ablakkezelő billkombókkal, ezt a részt kivágom, mert hosszú, csak a legvégén a swaybar-os részt hagyom meg, mert az már nem gyári
  154.  
  155. #
  156. # Status Bar:
  157. #
  158. # Read `man 5 sway-bar` for more information about this section.
  159. bar {
  160. position bottom
  161.  
  162. # When the status_command prints a new line to stdout, swaybar updates.
  163. # The default just shows the current date and time.
  164. status_command while date +'%a, %b %d, %Y (W%U) %H:%M %Z '; do sleep 1; done
  165. #status_command while true; do echo -n 'ha' ; echo -n `date +"%a, %b %d, %Y (W%U) %H:%M %Z"`; sleep 1; done
  166.  
  167. colors {
  168. statusline #ffffff
  169. #background #32323288
  170. background #000000dd
  171. inactive_workspace #000000dd #000000dd #ffffffdd
  172. }
  173. }
  174.  
  175. include /etc/sway/config.d/*
  176.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement