···4949color body green default "^Merged #.*"
5050color body red default "^Closed #.*"
5151color body brightblue default "^Reply to this email.*"
5252+5353+# GPG
5454+set pgp_replyencrypt # now crypt_replyencrypt
5555+set pgp_replysign # now crypt_replysign
5656+set pgp_replysignencrypted # now crypt_replysignencrypted
5757+set pgp_show_unusable=no
-228
.config/sway/config
···11-# Default config for sway
22-33-# Copy this to ~/.config/sway/config and edit it to your liking.
44-#
55-# Read `man 5 sway` for a complete reference.
66-77-### Variables
88-#
99-# Logo key. Use Mod1 for Alt.
1010-set $mod Mod4
1111-# Home row direction keys, like vim
1212-set $left h
1313-set $down j
1414-set $up k
1515-set $right l
1616-# Your preferred terminal emulator
1717-set $term st
1818-# Your preferred application launcher
1919-# Note: it's recommended that you pass the final command to sway
2020-set $menu dmenu_path | dmenu | xargs swaymsg exec --
2121-2222-### Output configuration
2323-#
2424-# Default wallpaper (more resolutions are available in /usr/share/backgrounds/sway/)
2525-output * bg /home/j3s/pix/lainbakka.jpg fill
2626-#
2727-2828-# clamshell mode
2929-set $laptop eDP-1
3030-bindswitch --reload lid:on output $laptop disable
3131-bindswitch --reload lid:off output $laptop enable
3232-3333-# You can get the names of your outputs by running: swaymsg -t get_outputs
3434-3535-### Idle configuration
3636-# exec swayidle -w \
3737-# timeout 700 'swaylock -f -c 000000' \
3838-# timeout 900 'swaymsg "output * dpms off"' \
3939-# resume 'swaymsg "output * dpms on"' \
4040-# before-sleep 'swaylock -f -c 000000'
4141-# This will lock your screen after 700 seconds of inactivity, then turn off
4242-# your displays after another 900 seconds, and turn your screens back on when
4343-# resumed. It will also lock your screen before your computer goes to sleep.
4444-4545-### Input configuration
4646-input "1133:49979:Logitech_K840_Mechanical_Corded_Keyboard" {
4747- xkb_layout us
4848- xkb_options ctrl:nocaps
4949-}
5050-5151-input "1452:591:USB_Keychron_K2_USB_DEVICE" {
5252- xkb_layout us
5353- xkb_options ctrl:nocaps
5454-}
5555-5656-input "1452:597:Keychron_K2" {
5757- xkb_layout us
5858- xkb_options ctrl:nocaps
5959-}
6060-6161-input "1:1:AT_Translated_Set_2_keyboard" {
6262- xkb_layout us
6363- xkb_options ctrl:nocaps
6464-}
6565-6666-input "1739:30383:CUST0001:00_06CB:76AF_Touchpad" {
6767- tap enabled
6868- tap_button_map lrm
6969- dwt disabled
7070- click_method clickfinger
7171-}
7272-#
7373-# You can get the names of your inputs by running: swaymsg -t get_inputs
7474-# Read `man 5 sway-input` for more information about this section.
7575-7676-### Key bindings
7777-#
7878-# Basics:
7979-#
8080-# firstly, enable floating for da float class
8181- for_window [class="floatme"] floating enable
8282-8383- # multimedia
8484- bindsym --locked XF86MonBrightnessUp exec --no-startup-id light -A 10
8585- bindsym --locked XF86MonBrightnessDown exec --no-startup-id light -U 10
8686-8787- # Start a terminal
8888- bindsym $mod+Return exec $term
8989- bindsym $mod+Shift+Return exec $term -c 'floatme'
9090-9191- # Kill focused window
9292- bindsym $mod+Shift+q kill
9393-9494- # Start your launcher
9595- bindsym $mod+d exec $menu
9696-9797- # Drag floating windows by holding down $mod and left mouse button.
9898- # Resize them with right mouse button + $mod.
9999- # Despite the name, also works for non-floating windows.
100100- # Change normal to inverse to use left mouse button for resizing and right
101101- # mouse button for dragging.
102102- floating_modifier $mod normal
103103-104104- # Reload the configuration file
105105- bindsym $mod+Shift+c reload
106106-107107- # Exit sway (logs you out of your Wayland session)
108108- bindsym $mod+Shift+e exec swaynag -t warning -m 'You pressed the exit shortcut. Do you really want to exit sway? This will end your Wayland session.' -b 'Yes, exit sway' 'swaymsg exit'
109109-#
110110-# Moving around:
111111-#
112112- # Move your focus around
113113- bindsym $mod+$left focus left
114114- bindsym $mod+$down focus down
115115- bindsym $mod+$up focus up
116116- bindsym $mod+$right focus right
117117-118118- # Move the focused window with the same, but add Shift
119119- bindsym $mod+Shift+$left move left
120120- bindsym $mod+Shift+$down move down
121121- bindsym $mod+Shift+$up move up
122122- bindsym $mod+Shift+$right move right
123123- # Ditto, with arrow keys
124124- bindsym $mod+Shift+Left move left
125125- bindsym $mod+Shift+Down move down
126126- bindsym $mod+Shift+Up move up
127127- bindsym $mod+Shift+Right move right
128128-#
129129-# Workspaces:
130130-#
131131- # Switch to workspace
132132- bindsym $mod+1 workspace 1
133133- bindsym $mod+2 workspace 2
134134- bindsym $mod+3 workspace 3
135135- bindsym $mod+4 workspace 4
136136- bindsym $mod+5 workspace 5
137137- bindsym $mod+6 workspace 6
138138- bindsym $mod+7 workspace 7
139139- bindsym $mod+8 workspace 8
140140- bindsym $mod+9 workspace 9
141141- bindsym $mod+0 workspace 10
142142- # Move focused container to workspace
143143- bindsym $mod+Shift+1 move container to workspace 1
144144- bindsym $mod+Shift+2 move container to workspace 2
145145- bindsym $mod+Shift+3 move container to workspace 3
146146- bindsym $mod+Shift+4 move container to workspace 4
147147- bindsym $mod+Shift+5 move container to workspace 5
148148- bindsym $mod+Shift+6 move container to workspace 6
149149- bindsym $mod+Shift+7 move container to workspace 7
150150- bindsym $mod+Shift+8 move container to workspace 8
151151- bindsym $mod+Shift+9 move container to workspace 9
152152- bindsym $mod+Shift+0 move container to workspace 10
153153- # Note: workspaces can have any name you want, not just numbers.
154154- # We just use 1-10 as the default.
155155-#
156156-# Layout stuff:
157157-#
158158- # You can "split" the current object of your focus with
159159- # $mod+b or $mod+v, for horizontal and vertical splits
160160- # respectively.
161161- bindsym $mod+b splith
162162- bindsym $mod+v splitv
163163-164164- # Switch the current container between different layout styles
165165- bindsym $mod+s layout stacking
166166- bindsym $mod+w layout tabbed
167167- bindsym $mod+e layout toggle split
168168-169169- # Make the current focus fullscreen
170170- bindsym $mod+f fullscreen
171171-172172- # Toggle the current focus between tiling and floating mode
173173- bindsym $mod+Shift+space floating toggle
174174-175175- # Swap focus between the tiling area and the floating area
176176- bindsym $mod+space focus mode_toggle
177177-178178- # Move focus to the parent container
179179- bindsym $mod+a focus parent
180180-#
181181-# Scratchpad:
182182-#
183183- # Sway has a "scratchpad", which is a bag of holding for windows.
184184- # You can send windows there and get them back later.
185185-186186- # Move the currently focused window to the scratchpad
187187- bindsym $mod+Shift+minus move scratchpad
188188-189189- # Show the next scratchpad window or hide the focused scratchpad window.
190190- # If there are multiple scratchpad windows, this command cycles through them.
191191- bindsym $mod+minus scratchpad show
192192-#
193193-# Resizing containers:
194194-#
195195-mode "resize" {
196196- bindsym $left resize shrink width 10px
197197- bindsym $down resize grow height 10px
198198- bindsym $up resize shrink height 10px
199199- bindsym $right resize grow width 10px
200200-201201- bindsym Left resize shrink width 10px
202202- bindsym Down resize grow height 10px
203203- bindsym Up resize shrink height 10px
204204- bindsym Right resize grow width 10px
205205-206206- # Return to default mode
207207- bindsym Return mode "default"
208208- bindsym Escape mode "default"
209209-}
210210-bindsym $mod+r mode "resize"
211211-212212-#
213213-# Status Bar:
214214-#
215215-# Read `man 5 sway-bar` for more information about this section.
216216-bar {
217217- position top
218218-219219- status_command while ~/.config/sway/status; do sleep 1; done
220220-221221- colors {
222222- statusline #ffffff
223223- background #333333
224224- inactive_workspace #333333 #333333 #ffffff
225225- }
226226-}
227227-228228-include /etc/sway/config.d/*