Foot : Start tmux with user name.

This commit is contained in:
Dmitry Voronin 2024-03-28 14:41:32 +03:00
parent b9e1e404ca
commit 79ac8a98bb
5 changed files with 24 additions and 15 deletions

View file

@ -1,5 +0,0 @@
for_window [app_id=".blueman-manager-wrapped"] {
move scratchpad
scratchpad show
}
bindsym $mod+b exec 'blueman-manager'

View file

@ -1,5 +0,0 @@
for_window [app_id="nm-connection-editor"] {
move scratchpad
scratchpad show
}
bindsym $mod+n exec 'nm-connection-editor'

View file

@ -1,5 +1,5 @@
# Start a terminal. # Start a terminal.
bindsym $mod+Escape exec $term -e bash -c 'tmux new-session -A -s main; bash' bindsym $mod+Escape exec $term -e bash -c "tmux new-session -A -s $USER; bash"
# Kill focused window. # Kill focused window.
bindsym $mod+x kill bindsym $mod+x kill
@ -23,3 +23,9 @@ bindsym $mod+Shift+z exec swaynag -t warning -m 'You pressed the exit shortcut.
# Show last notification. # Show last notification.
bindsym $mod+m exec makoctl restore bindsym $mod+m exec makoctl restore
bindsym $mod+shift+m exec makoctl dismiss --all bindsym $mod+shift+m exec makoctl dismiss --all
# Bluetooth.
bindsym $mod+b exec 'blueman-manager'
# NetworkManager.
bindsym $mod+n exec 'nm-connection-editor'

View file

@ -7,3 +7,20 @@ bindsym $mod+shift+return move scratchpad
# Show the next scratchpad window or hide the focused scratchpad window. # Show the next scratchpad window or hide the focused scratchpad window.
# If there are multiple scratchpad windows, this command cycles through them. # If there are multiple scratchpad windows, this command cycles through them.
bindsym $mod+return scratchpad show bindsym $mod+return scratchpad show
# Fix for a goddamn Firefox WebRTC indicator.
for_window [app_id="firefox" title="Firefox — Sharing Indicator"] {
kill
}
# NetworkManager.
for_window [app_id="nm-connection-editor"] {
move scratchpad
scratchpad show
}
# Bluetooth.
for_window [app_id=".blueman-manager-wrapped"] {
move scratchpad
scratchpad show
}

View file

@ -1,4 +0,0 @@
# Fix for a goddamn Firefox WebRTC indicator.
for_window [app_id="firefox" title="Firefox — Sharing Indicator"] {
kill
}