
# Desktop bar without battery
bar {
    position bottom
    status_command while date +'%d-%m-%Y %H:%M:%S'; do sleep 1; done

    colors {
        statusline #ffffff
        background #323232
        inactive_workspace #323232FF #323232FF #5c5c5c    
    }

    # hidden_state hide
    # mode hide
    # modifier Mod4
}


input type:keyboard {
    repeat_delay 180
    repeat_rate 50

    xkb_layout us

}

# Swap escape and caps only on integrated keyboard
input "1452:591:Keychron_Keychron_K3" {
    xkb_options caps:swapescape

    repeat_delay 180
    repeat_rate 50

    xkb_layout us
}


# exec_always "youtube-music"
# for_window [app_id="com.github.th_ch.youtube_music"] move scratchpad
# bindsym $mod+m [app_id="com.github.th_ch.youtube_music"] scratchpad show, resize set width 1920 height 1080, move position center

# exec_always "signal-desktop"
# for_window [app_id="signal"] move scratchpad
# bindsym $mod+r [app_id="signal"] scratchpad show, resize set width 1920 height 1080, move position center

exec_always foot --app-id=foot-scratch --working-directory=$HOME
for_window [app_id="foot-scratch"] move scratchpad
bindsym $mod+l [app_id="foot-scratch"] scratchpad show, resize set width 1920 height 1080, move position center