Compare commits

..

No commits in common. "300222df2f6a1b734afe408f78f4a407e9bf84e7" and "143bf0d90f16cee3f7d5430e659c337c710dbad4" have entirely different histories.

3 changed files with 34 additions and 33 deletions

View file

@ -151,8 +151,8 @@ define-command exportmd %{
exportmd pdf "$kak_buffile" exportmd pdf "$kak_buffile"
} }
} }
define-command pcmanfm %{ define-command nemo %{
nop %sh{ nop %sh{
swaymsg exec "pcmanfm --new-win '$(dirname "$kak_buffile")'" swaymsg exec "nemo $(dirname "$kak_buffile")"
} }
} }

View file

@ -32,11 +32,11 @@ output * background $background solid_color
# Example configuration: # Example configuration:
# #
exec swayidle -w \ exec swayidle -w \
timeout 420 'lock' \ timeout 300 'lock' \
timeout 600 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"' \ timeout 600 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"' \
before-sleep 'lock' before-sleep 'lock'
bindsym $mod+p exec lock bindsym $mod+m exec lock
bindsym $mod+Shift+p exec "lock && doas su -c 'echo mem > /sys/power/state'" bindsym $mod+Shift+m exec "lock && doas su -c 'echo mem > /sys/power/state'"
### Input configuration ### Input configuration
# #
@ -106,27 +106,27 @@ input * {
# Workspaces: # Workspaces:
# #
# Switch to workspace # Switch to workspace
bindsym $mod+m workspace number 1 bindsym $mod+1 workspace number 1
bindsym $mod+comma workspace number 2 bindsym $mod+2 workspace number 2
bindsym $mod+period workspace number 3 bindsym $mod+3 workspace number 3
# bindsym $mod+4 workspace number 4 bindsym $mod+4 workspace number 4
# bindsym $mod+5 workspace number 5 bindsym $mod+5 workspace number 5
# bindsym $mod+6 workspace number 6 bindsym $mod+6 workspace number 6
# bindsym $mod+7 workspace number 7 bindsym $mod+7 workspace number 7
# bindsym $mod+8 workspace "8: comms" bindsym $mod+8 workspace "8: comms"
# bindsym $mod+9 workspace "9: media" bindsym $mod+9 workspace "9: media"
# bindsym $mod+0 workspace number 10 bindsym $mod+0 workspace number 10
# Move focused container to workspace # Move focused container to workspace
bindsym $mod+Shift+m move container to workspace number 1 bindsym $mod+Shift+1 move container to workspace number 1
bindsym $mod+Shift+comma move container to workspace number 2 bindsym $mod+Shift+2 move container to workspace number 2
bindsym $mod+Shift+period move container to workspace number 3 bindsym $mod+Shift+3 move container to workspace number 3
# bindsym $mod+Shift+4 move container to workspace number 4 bindsym $mod+Shift+4 move container to workspace number 4
# bindsym $mod+Shift+5 move container to workspace number 5 bindsym $mod+Shift+5 move container to workspace number 5
# bindsym $mod+Shift+6 move container to workspace number 6 bindsym $mod+Shift+6 move container to workspace number 6
# bindsym $mod+Shift+7 move container to workspace number 7 bindsym $mod+Shift+7 move container to workspace number 7
# bindsym $mod+Shift+8 move container to workspace "8: comms" bindsym $mod+Shift+8 move container to workspace "8: comms"
# bindsym $mod+Shift+9 move container to workspace "9: media" bindsym $mod+Shift+9 move container to workspace "9: media"
# bindsym $mod+Shift+0 move container to workspace number 10 bindsym $mod+Shift+0 move container to workspace number 10
# #
# Layout stuff: # Layout stuff:
# #
@ -218,6 +218,7 @@ bindsym --locked XF86AudioRaiseVolume exec 'pamixer -i 5'
bindsym --locked XF86AudioLowerVolume exec 'pamixer -d 5' bindsym --locked XF86AudioLowerVolume exec 'pamixer -d 5'
bindsym --locked XF86AudioMute exec 'pamixer --toggle-mute' bindsym --locked XF86AudioMute exec 'pamixer --toggle-mute'
bindsym --locked XF86AudioMicMute exec 'pamixer --default-source --toggle-mute' bindsym --locked XF86AudioMicMute exec 'pamixer --default-source --toggle-mute'
bindsym --locked $mod+c exec 'pamixer --default-source --toggle-mute'
# https://github.com/altdesktop/playerctl # https://github.com/altdesktop/playerctl
bindsym --locked XF86AudioMedia exec 'playerctl play-pause' bindsym --locked XF86AudioMedia exec 'playerctl play-pause'
@ -228,7 +229,9 @@ bindsym --locked XF86AudioNext exec 'playerctl next'
bindsym --locked XF86MonBrightnessUp exec 'brillo -A 5; brillo -O' bindsym --locked XF86MonBrightnessUp exec 'brillo -A 5; brillo -O'
bindsym --locked XF86MonBrightnessDown exec 'brillo -U 5; brillo -O' bindsym --locked XF86MonBrightnessDown exec 'brillo -U 5; brillo -O'
default_border pixel 10 default_border pixel 5
# gaps outer 5
gaps inner 5
smart_borders on smart_borders on
smart_gaps on smart_gaps on
@ -239,11 +242,11 @@ for_window [title="."] inhibit_idle fullscreen
for_window [title="Firefox — Sharing Indicator"] floating enable for_window [title="Firefox — Sharing Indicator"] floating enable
for_window [app_id="fzf"] floating enable for_window [app_id="fzf"] floating enable
assign [title="https:\/\/discord.com - "] "3" assign [title="https:\/\/discord.com - "] "8: comms"
assign [title="https:\/\/web.whatsapp.com - "] "3" assign [title="https:\/\/web.whatsapp.com - "] "8: comms"
assign [title="https:\/\/[a-z]+.zulipchat.com - "] "3" assign [title="https:\/\/[a-z]+.zulipchat.com - "] "8: comms"
assign [app_id="neomutt"] "3" assign [app_id="neomutt"] "8: comms"
assign [app_id="telegram-desktop"] "3" assign [app_id="telegram-desktop"] "8: comms"
for_window [title="https:\/\/discord.com - "] layout tabbed for_window [title="https:\/\/discord.com - "] layout tabbed
for_window [title="https:\/\/web.whatsapp.com - "] layout tabbed for_window [title="https:\/\/web.whatsapp.com - "] layout tabbed

View file

@ -2,5 +2,3 @@
export REMOTE=false export REMOTE=false
export MESA_LOADER_DRIVER_OVERRIDE=crocus