1set $mod Mod4
2set $term ghostty
3set $files thunar
4set $scripts ~/.config/sway/scripts
5set $userscripts ~/.config/sway/userscripts
6set $uifont "Ubuntu 15"
7# set $menu bemenu-run --fn $uifont -b -p "▶" --tf "$highlight" --hf "$highlight" --sf "$highlight" --scf "$highlight" -l "10 up" | xargs swaymsg exec
8# git clone --depth=1 https://github.com/adi1090x/rofi.git
9# bash install.sh
10set $menu bash /home/hailey/.config/rofi/launchers/type-2/launcher.sh
11
12set $highlight #b21858
13
14set $lock swaylock -f -i $wallpaper -s fill
15set $lock swaylock --clock --indicator --effect-scale 1 --effect-vignette 0.5:0.5 --effect-blur 4x2 --datestr "" --timestr "%k:%M" -i $wallpaper -s fill
16
17exec dbus-update-activation-environment --systemd --all
18exec /usr/lib/xdg-desktop-portal --replace
19exec waybar
20# exec kdeconnect-indicator
21exec swaync
22exec easyeffects --gapplication-service
23
24exec nm-applet --indicator
25
26exec blueman-applet
27
28output * adaptive_sync off
29
30set $wallpaper /home/hailey/bgs/carcig.png
31
32output * bg $wallpaper fill
33
34bindsym $mod+Return exec $term
35
36bindsym $mod+q kill
37bindsym Mod1+F4 kill
38
39bindsym $mod+d exec $menu
40
41floating_modifier $mod normal
42
43bindsym $mod+Shift+c reload
44
45# hailey colors
46set $color0 #1a1b26
47set $color7 #a9b1d6
48set $color12 #7aa2f7
49set $background #1a1b26
50
51set $gnome-schema org.gnome.desktop.interface
52exec_always {
53 gsettings set $gnome-schema gtk-theme 'Adwaita-dark'
54 gsettings set $gnome-schema color-scheme 'prefer-dark'
55}
56
57for_window [window_role="pop-up"] floating enable
58for_window [window_role="bubble"] floating enable
59for_window [window_role="task_dialog"] floating enable
60for_window [window_role="Preferences"] floating enable
61for_window [window_type="dialog"] floating enable
62for_window [window_type="menu"] floating enable
63for_window [window_role="About"] floating enable
64for_window [class="xdg-desktop-portal-kde"] floating enable
65for_window [class="ksysguard"] floating enable
66for_window [class="ksysguard"] sticky enable
67#for_window [app_id="mpv"] layout tabbed
68for_window [class="Wine"] floating enable
69for_window [app_id="lutris"] floating enable
70for_window [app_id="com.mitchellh.ghostty"] opacity 0.925
71for_window [class="Slack"] opacity 0.975
72for_window [class="discord"] opacity 0.975
73
74# Always put workspace 9 on the second monitor
75workspace 9 output HDMI-A-1
76assign [app_id="spotify"] 9
77
78corner_radius 10
79
80bindsym $mod+L exec $lock
81bindsym --no-repeat $mod+Shift+l exec $lock && systemctl suspend
82
83bindsym $mod+Left focus left
84bindsym $mod+Down focus down
85bindsym $mod+Up focus up
86bindsym $mod+Right focus right
87
88bindsym $mod+Shift+Left move left
89bindsym $mod+Shift+Down move down
90bindsym $mod+Shift+Up move up
91bindsym $mod+Shift+Right move right
92
93bindsym $mod+1 workspace 1
94bindsym $mod+2 workspace 2
95bindsym $mod+3 workspace 3
96bindsym $mod+4 workspace 4
97bindsym $mod+5 workspace 5
98bindsym $mod+6 workspace 6
99bindsym $mod+7 workspace 7
100bindsym $mod+8 workspace 8
101bindsym $mod+9 workspace 9
102bindsym $mod+0 workspace 10
103
104bindsym $mod+Shift+1 move container to workspace 1
105bindsym $mod+Shift+2 move container to workspace 2
106bindsym $mod+Shift+3 move container to workspace 3
107bindsym $mod+Shift+4 move container to workspace 4
108bindsym $mod+Shift+5 move container to workspace 5
109bindsym $mod+Shift+6 move container to workspace 6
110bindsym $mod+Shift+7 move container to workspace 7
111bindsym $mod+Shift+8 move container to workspace 8
112bindsym $mod+Shift+9 move container to workspace 9
113bindsym $mod+Shift+0 move container to workspace 10
114
115bindsym $mod+Control+Shift+Right move workspace to output right
116bindsym $mod+Control+Shift+Left move workspace to output left
117
118
119bindsym XF86AudioRaiseVolume exec pactl set-sink-volume @DEFAULT_SINK@ +5%
120bindsym XF86AudioLowerVolume exec pactl set-sink-volume @DEFAULT_SINK@ -5%
121bindsym XF86AudioMute exec pactl set-sink-mute @DEFAULT_SINK@ toggle
122bindsym XF86MonBrightnessUp exec brightnessctl set +5%
123bindsym XF86MonBrightnessDown exec brightnessctl set 5%-
124
125# bindsym $mod+Shift+End exec /home/hailey/.config/hypr/scripts/ScreenShot.sh --now
126# bindsym $mod+Shift+s exec /home/hailey/.config/hypr/scripts/ScreenShot.sh --swappy
127# bindsym $mod+Shift+s exec grim -g "$(slurp)" -t png - | wl-copy -t image/png
128bindsym $mod+Shift+s exec flameshot gui --clipboard
129
130bindsym $mod+n splith
131bindsym $mod+m splitv
132
133bindsym $mod+f fullscreen
134
135bindsym $mod+space floating toggle
136
137bindsym $mod+Shift+space focus mode_toggle
138
139bindsym $mod+a focus parent
140
141# default sway resizing
142mode "resize" {
143 bindsym Left resize shrink width 10px
144 bindsym Down resize grow height 10px
145 bindsym Up resize shrink height 10px
146 bindsym Right resize grow width 10px
147
148 bindsym Return mode "default"
149 bindsym Escape mode "default"
150}
151bindsym $mod+r mode "resize"
152
153# hailey resizing
154bindsym $mod+Ctrl+Left resize shrink width 50px
155bindsym $mod+Ctrl+Right resize grow width 50px
156bindsym $mod+Ctrl+Up resize shrink height 50px
157bindsym $mod+Ctrl+Down resize grow height 50px
158
159
160bindsym $mod+Alt+r exec killall -SIGUSR2 waybar
161bindsym $mod+b exec killall -SIGUSR1 waybar
162bindsym $mod+Ctrl+b exec pgrep -x waybar || waybar
163
164# bar {
165# mode hide
166# hidden_state hide
167# modifier $mod
168# font $uifont
169#
170# status_command while date +'%-m-%-d-%Y %I:%M:%S %p'; do sleep 1; done
171#
172# colors {
173#
174# statusline #ffffff
175# background #121212
176# #background #00000000
177# focused_workspace #121212 #18b218 #232627
178# active_workspace #121212 $highlight #232627
179# inactive_workspace #121212 #7f8c8d #232627
180# }
181# }
182#
183default_border pixel 1
184default_floating_border pixel 1
185gaps inner 0
186gaps outer 0
187smart_gaps off
188smart_borders on
189
190client.focused $color12 $color12 $color0 $color12 $color12
191client.focused_inactive $background $background $color7 $background $background
192client.unfocused $background $background $color7 $background $background
193client.urgent #ff5555 #ff5555 #f8f8f2 #ff5555 #ff5555
194
195blur enable
196blur_radius 4
197blur_passes 1
198
199shadows disable
200
201include /home/hailey/.config/sway/config.d/*