Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Read `man 5 sway` for a complete reference.
- # Logo key. Use Mod1 for Alt.
- set $mod Mod4
- set $fillmode fill
- set $picture /home/Wallpapers/wallp.jpg
- set $locked2 swaylock -K -i $picture -s $fillmode
- set $locked /home/blabla/scripts/kepk
- set $term termite
- set $menu dmenu_path | dmenu | xargs swaymsg exec
- for_window [title="^asciiquarium$"] fullscreen enable
- for_window [class="sokoban_Alan_Liss"] floating enable
- for_window [title="The Neverhood Chronicles"] floating enable
- ### Output configuration
- #
- # Default wallpaper (more resolutions are available in /usr/share/backgrounds/sway/)
- #output * bg /home/blabla/minta1.png tile
- output * bg $picture $fillmode
- #output * bg /home/blabla/Downloads/minta.png tile
- #
- # Example configuration:
- #
- # output HDMI-A-1 resolution 1920x1080 position 1920,0
- #
- # You can get the names of your outputs by running: swaymsg -t get_outputs
- ### Idle configuration
- #
- # Example configuration:
- #
- exec swayidle \
- timeout 900 '$locked' \
- timeout 890 'swaymsg "output * dpms off"' \
- resume 'swaymsg "output * dpms on"' \
- # before-sleep 'swaylock -c 000000'
- #
- # This will lock your screen after 300 seconds of inactivity, then turn off
- # your displays after another 300 seconds, and turn your screens back on when
- # resumed. It will also lock your screen before your computer goes to sleep.
- ### Input configuration
- #
- # Example configuration:
- #
- # input "2:14:SynPS/2_Synaptics_TouchPad" {
- # dwt enabled
- # tap enabled
- # natural_scroll enabled
- # middle_emulation enabled
- # }
- #
- # You can get the names of your inputs by running: swaymsg -t get_inputs
- # Read `man 5 sway-input` for more information about this section.
- input "1:1:AT_Translated_Set_2_keyboard" {
- xkb_layout hu,us
- xkb_options grp_led:caps,grp:alt_space_toggle,caps:escape
- #xkb_options caps:escape
- repeat_delay 280
- repeat_rate 50
- }
- input "2:7:SynPS/2_Synaptics_TouchPad" {
- dwt disabled
- tap disabled
- pointer_accel 1
- middle_emulation enabled
- drag disabled
- left_handed disabled
- }
- input "2:10:TPPS/2_IBM_TrackPoint" {
- tap enabled
- pointer_accel 1
- middle_emulation enabled
- left_handed disabled
- }
- ### Key bindings ***********************************************************************************
- # #fejkeret #fejléc #betűszín
- client.focused #000000dd #222222dd #ffffffff #2e9ef4 #285577
- #client.focused #ffff0077 #ffff0099 #000000ff #2e9ef4 #285577
- client.unfocused #000000dd #000000dd #ffffff55 #292d2e #222222
- bindcode 133 mode "wm"
- mode "wm" {
- bindsym Return mode "default"
- bindsym Escape mode "default"
- bindsym 1 workspace 1; mode "default"
- bindsym 2 workspace 2; mode "default"
- bindsym 3 workspace 3; mode "default"
- bindsym a exec $term -e '/home/blabla/scripts/kepk'; mode "default"
- bindsym b exec $term -e '/home/blabla/scripts/torrent'; mode "default"
- bindsym c exec /home/Lp/firefox/start2; mode "default"
- bindsym d exec doublecmd --no-splash; mode "default"
- bindsym Shift+d exec deadbeef; mode "default"
- bindsym e exec $term -e 'vifm'; mode "default"
- bindsym Shift+e exec $term -e 'mc'; mode "default"
- bindsym f exec /home/Lp/firefox/start; mode "default"
- bindsym Shift+f exec $term -e '/home/blabla/scripts/nettest'; mode "default"
- bindsym g exec goldendict; mode "default"
- bindsym Shift+g exec $term -e '/home/blabla/scripts/szotar'; mode "default"
- bindsym h exec $term -e 'htop'; mode "default"
- bindsym Shift+h exec $term -e 'sudo htop'; mode "default"
- bindsym i exec $term -e 'sudo ntpd -s -d'; mode "default"
- bindsym Shift+i exec $term -e '/home/blabla/scripts/idoj'; mode "default"
- bindsym j exec $term -e '/home/blabla/scripts/keepass'; mode "default"
- bindsym k exec $term -e '/home/blabla/scripts/naptaram'; mode "default"
- bindsym l exec $locked2; mode "default"
- bindsym m exec $term -e 'neomutt'; mode "default"
- bindsym Shift+m exec thunderbird; mode "default"
- bindsym n exec $term -e 'ncmpcpp'; mode "default"
- bindsym o exec $term -e 'ncpamixer'; mode "default"
- bindsym p exec $term -c ~/.config/termite/amber -e '/home/blabla/scripts/update-m'; mode "default"
- bindsym Shift+p exec $term -e '/home/blabla/scripts/update-aur'; mode "default"
- bindsym q exec $term -c ~/.config/termite/amber -e 'calc'; mode "default"
- bindsym Shift+q exec $term -c ~/.config/termite/green -e '/home/blabla/scripts/pycalc'; mode "default"
- bindsym Shift+r exec $term -e 'curseradio'; mode "default"
- bindsym r exec $menu;mode "default"
- bindsym s exec $term -e '/home/blabla/scripts/selection'; mode "default"
- bindsym t exec $term; mode "default"
- bindsym Shift+t exec $term -e '/home/blabla/scripts/mtpmount'; mode "default"
- bindsym u exec $term -c ~/.config/termite/amber -e 'su'; mode "default"
- bindsym v exec $term -e 'vim'; mode "default"
- bindsym w exec /home/blabla/scripts/gib; mode "default"
- bindsym Shift+w exec $term -e '/home/blabla/scripts/wifi'; mode "default"
- bindsym x exec $term -e '/home/blabla/scripts/ssdk'; mode "default"
- bindsym y exec $term -e '/home/blabla/scripts/res'; mode "default"
- bindsym z exec $term -e '/home/blabla/scripts/jatek'; mode "default"
- bindsym End exec light -S 5; mode "default"
- bindsym Home exec light -S 100; mode "default"
- bindsym Next exec redshift -m wayland -l 52.0656928:-0.788517 -O 4500; mode "default"
- bindsym Prior exec pkill redshift; mode "default"
- bindsym F1 layout stacking; mode "default"
- bindsym F2 layout tabbed; mode "default"
- bindsym F3 layout toggle split; mode "default"
- bindsym F5 reload; mode "default"
- bindsym F8 exec reboot
- bindsym F10 exec swaymsg exit; mode "default"
- bindsym F11 fullscreen; mode "default"
- bindsym F12 floating toggle
- }
- bindsym Mod1+F4 kill
- bindsym Mod1+tab fullscreen disable; focus right
- bindsym Print exec grim /home/blabla/$(date +'%Y-%m-%d-%H%M%S_grim.png')
- bindsym XF86AudioRaiseVolume exec --no-startup-id pamixer --allow-boost --increase 2
- bindsym XF86AudioLowerVolume exec --no-startup-id pamixer --allow-boost --decrease 2
- bindsym XF86AudioMute exec --no-startup-id pamixer -t --allow-boost
- bindsym XF86AudioMicMute exec --no-startup-id pamixer --source 1 -t
- bindsym XF86MonBrightnessUp exec --no-startup-id light -A 2
- bindsym XF86MonBrightnessDown exec --no-startup-id light -U 2
- bindsym XF86Launch1 exec --no-startup-id pavucontrol -t 3
- ## 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
- #
- # Status Bar:
- #
- # Read `man 5 sway-bar` for more information about this section.
- bar {
- position bottom
- # When the status_command prints a new line to stdout, swaybar updates.
- # The default just shows the current date and time.
- status_command while date +'%a, %b %d, %Y (W%U) %H:%M %Z '; do sleep 1; done
- #status_command while true; do echo -n 'ha' ; echo -n `date +"%a, %b %d, %Y (W%U) %H:%M %Z"`; sleep 1; done
- colors {
- statusline #ffffff
- #background #32323288
- background #000000dd
- inactive_workspace #000000dd #000000dd #ffffffdd
- }
- }
- include /etc/sway/config.d/*
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement