| 
									
										
										
										
											2024-06-16 00:08:57 -07:00
										 |  |  | font pango:VictorMono Nerd Font bold 12 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | output * background /home/toniiz/Pictures/bisbiswas.jpg fill | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | output DP-3 mode 4096x2304@60Hz | 
					
						
							|  |  |  | output DP-1 mode 2560x1440@144Hz | 
					
						
							| 
									
										
										
										
											2024-06-18 23:01:39 -07:00
										 |  |  | # run `swaymsg -t get_output` to get monitor information | 
					
						
							| 
									
										
										
										
											2024-06-16 00:08:57 -07:00
										 |  |  | 
 | 
					
						
							|  |  |  | gaps inner 4 | 
					
						
							|  |  |  | gaps outer 4 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2024-06-17 23:36:28 -07:00
										 |  |  | default_border pixel 3 | 
					
						
							|  |  |  | default_floating_border pixel 3 | 
					
						
							| 
									
										
										
										
											2024-06-16 00:08:57 -07:00
										 |  |  | 
 | 
					
						
							|  |  |  | # class border backgr. text indicator child_border | 
					
						
							| 
									
										
										
										
											2024-06-17 23:36:28 -07:00
										 |  |  | # client.focused #303536 #303536 #d4be98 #303536 #303536 # Gray color | 
					
						
							|  |  |  | client.focused #d4422f #d4422f #d4422f #d4422f #d4422f  | 
					
						
							| 
									
										
										
										
											2024-06-16 00:08:57 -07:00
										 |  |  | client.focused_inactive #303536 #303536 #d4be98 #303536 #303536 | 
					
						
							|  |  |  | client.unfocused #0a0b0b #303536 #d4be98 #0a0b0b #0a0b0b | 
					
						
							|  |  |  | client.urgent #d8a657 #303536 #1d2021 #d8a657 #d8a657 | 
					
						
							|  |  |  | client.placeholder #7daea3 #303536 #1d2021 #7daea3 #7daea3 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | # swayfx | 
					
						
							|  |  |  |  blur disable | 
					
						
							|  |  |  |  blur_xray disable | 
					
						
							|  |  |  |  blur_passes 0 | 
					
						
							|  |  |  |  blur_radius 5 | 
					
						
							| 
									
										
										
										
											2024-06-17 23:36:28 -07:00
										 |  |  |  shadows disable | 
					
						
							| 
									
										
										
										
											2024-06-16 00:08:57 -07:00
										 |  |  |  corner_radius 8 | 
					
						
							|  |  |  |  layer_effects "waybar" shadows enable; corner_radius 8; blur disable | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | bar { | 
					
						
							|  |  |  | swaybar_command waybar | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | # status_command /usr/bin/i3status-rs $HOME/.config/i3status/config.toml | 
					
						
							|  |  |  | # position top | 
					
						
							|  |  |  | # gaps 8 8 0 8 | 
					
						
							|  |  |  | # height 32 | 
					
						
							|  |  |  | # font pango:CaskaydiaCove Nerd Font bold 12 | 
					
						
							|  |  |  | # colors { | 
					
						
							|  |  |  | # background #1d2021ff | 
					
						
							|  |  |  | # focused_workspace #b7c37fff #a9b665ff #0a0b0bff | 
					
						
							|  |  |  | # inactive_workspace #1d2021ff #0a0b0bff #c7ab7aff | 
					
						
							|  |  |  | # } | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | # variables | 
					
						
							|  |  |  | set $mod Mod4 | 
					
						
							|  |  |  | set $left h | 
					
						
							|  |  |  | set $down j | 
					
						
							|  |  |  | set $up k | 
					
						
							|  |  |  | set $right l | 
					
						
							|  |  |  | set $term kitty | 
					
						
							|  |  |  | set $menu tofi-drun | xargs swaymsg exec -- | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | # common bindings | 
					
						
							|  |  |  | bindsym $mod+Return exec $term | 
					
						
							|  |  |  | bindsym $mod+d exec $menu | 
					
						
							|  |  |  | bindsym $mod+Shift+q kill | 
					
						
							|  |  |  | bindsym $mod+Shift+c reload | 
					
						
							|  |  |  | bindsym $mod+Shift+e exec swaynag -t warning -m "Exit Sway?" -B "Yes, exit Sway" "swaymsg exit" --font="CaskaydiaCove Nerd Font bold 12" | 
					
						
							|  |  |  | floating_modifier $mod normal | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | # more bindings | 
					
						
							|  |  |  | bindsym $mod+$left focus left | 
					
						
							|  |  |  | bindsym $mod+$down focus down | 
					
						
							|  |  |  | bindsym $mod+$up focus up | 
					
						
							|  |  |  | bindsym $mod+$right focus right | 
					
						
							|  |  |  | bindsym $mod+Left focus left | 
					
						
							|  |  |  | bindsym $mod+Down focus down | 
					
						
							|  |  |  | bindsym $mod+Up focus up | 
					
						
							|  |  |  | bindsym $mod+Right focus right | 
					
						
							|  |  |  | bindsym $mod+Shift+$left move left | 
					
						
							|  |  |  | bindsym $mod+Shift+$down move down | 
					
						
							|  |  |  | bindsym $mod+Shift+$up move up | 
					
						
							|  |  |  | bindsym $mod+Shift+$right move right | 
					
						
							|  |  |  | bindsym $mod+Shift+Left move left | 
					
						
							|  |  |  | bindsym $mod+Shift+Down move down | 
					
						
							|  |  |  | bindsym $mod+Shift+Up move up | 
					
						
							|  |  |  | bindsym $mod+Shift+Right move right | 
					
						
							|  |  |  | bindsym $mod+1 workspace number 1 | 
					
						
							|  |  |  | bindsym $mod+2 workspace number 2 | 
					
						
							|  |  |  | bindsym $mod+3 workspace number 3 | 
					
						
							|  |  |  | bindsym $mod+4 workspace number 4 | 
					
						
							|  |  |  | bindsym $mod+5 workspace number 5 | 
					
						
							|  |  |  | bindsym $mod+6 workspace number 6 | 
					
						
							|  |  |  | bindsym $mod+7 workspace number 7 | 
					
						
							|  |  |  | bindsym $mod+8 workspace number 8 | 
					
						
							|  |  |  | bindsym $mod+9 workspace number 9 | 
					
						
							|  |  |  | bindsym $mod+0 workspace number 10 | 
					
						
							|  |  |  | bindsym $mod+Shift+1 move container to workspace number 1 | 
					
						
							|  |  |  | bindsym $mod+Shift+2 move container to workspace number 2 | 
					
						
							|  |  |  | bindsym $mod+Shift+3 move container to workspace number 3 | 
					
						
							|  |  |  | bindsym $mod+Shift+4 move container to workspace number 4 | 
					
						
							|  |  |  | bindsym $mod+Shift+5 move container to workspace number 5 | 
					
						
							|  |  |  | bindsym $mod+Shift+6 move container to workspace number 6 | 
					
						
							|  |  |  | bindsym $mod+Shift+7 move container to workspace number 7 | 
					
						
							|  |  |  | bindsym $mod+Shift+8 move container to workspace number 8 | 
					
						
							|  |  |  | bindsym $mod+Shift+9 move container to workspace number 9 | 
					
						
							|  |  |  | bindsym $mod+Shift+0 move container to workspace number 10 | 
					
						
							|  |  |  | bindsym $mod+Shift+v floating toggle | 
					
						
							|  |  |  | bindsym $mod+b splith | 
					
						
							|  |  |  | bindsym $mod+v splitv | 
					
						
							|  |  |  | bindsym $mod+s layout stacking | 
					
						
							|  |  |  | bindsym $mod+w layout tabbed | 
					
						
							|  |  |  | bindsym $mod+e layout toggle split | 
					
						
							|  |  |  | bindsym $mod+f fullscreen | 
					
						
							|  |  |  | bindsym $mod+space focus mode_toggle | 
					
						
							|  |  |  | bindsym $mod+a focus parent | 
					
						
							|  |  |  | bindsym $mod+r mode "resize" | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2024-06-17 23:36:28 -07:00
										 |  |  | # Personal binds | 
					
						
							|  |  |  | # Moves container to scratchpad | 
					
						
							|  |  |  | bindsym $mod+Shift+m move container to scratchpad | 
					
						
							|  |  |  | bindsym $mod+m scratchpad show | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2024-06-16 19:28:06 -07:00
										 |  |  | # Hide waybar/enable | 
					
						
							|  |  |  | bindsym $mod+escape exec killall -SIGUSR1 waybar | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2024-06-16 00:08:57 -07:00
										 |  |  | mode "resize" { | 
					
						
							|  |  |  | bindsym $left resize shrink width 20px | 
					
						
							|  |  |  | bindsym $down resize grow height 20px | 
					
						
							|  |  |  | bindsym $up resize shrink height 20px | 
					
						
							|  |  |  | bindsym $right resize grow width 20px | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | bindsym Left resize shrink width 20px | 
					
						
							|  |  |  | bindsym Down resize grow height 20px | 
					
						
							|  |  |  | bindsym Up resize shrink height 20px | 
					
						
							|  |  |  | bindsym Right resize grow width 20px | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | bindsym Return mode "default" | 
					
						
							|  |  |  | bindsym Escape mode "default" | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2024-06-16 19:28:06 -07:00
										 |  |  | # Lock screen | 
					
						
							|  |  |  | set $lockman exec bash ~/.config/sway/lockman.sh | 
					
						
							|  |  |  | bindsym $mod+Shift+p exec $lockman | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2024-06-16 00:08:57 -07:00
										 |  |  | # includes | 
					
						
							|  |  |  | include /etc/sway/config.d/* | 
					
						
							|  |  |  | # swaysome config append | 
					
						
							|  |  |  | include ~/.config/sway/config.d/*.conf |