diff --git a/common/fish/prompt.fish b/common/fish/prompt.fish index 2186ce5..1697b85 100644 --- a/common/fish/prompt.fish +++ b/common/fish/prompt.fish @@ -1,7 +1,7 @@ set MAX_PATH_PIECE_CHARS 3 function get_hostname - has_command hostname && hostname || cat /etc/hostname + has_command hostname && hostname --short || cat /etc/hostname end function fish_greeting @@ -40,7 +40,7 @@ function _user_and_host else set_color -b normal red end - printf "$USER@$hostname" + printf "%s@%s" $USER (get_hostname) end function _cur_work_dir diff --git a/common/kitty/kitty.conf b/common/kitty/kitty.conf index 092db49..ea310f7 100644 --- a/common/kitty/kitty.conf +++ b/common/kitty/kitty.conf @@ -26,6 +26,8 @@ enabled_layouts splits:split_axis=vertical,stack map ctrl+shift+1 change_font_size all 12.5 map ctrl+shift+2 change_font_size all 18.5 map ctrl+shift+3 change_font_size all 26 +map ctrl+shift+4 change_font_size all 32 +map ctrl+shift+5 change_font_size all 48 map ctrl+shift+o launch --type=tab --stdin-source=@screen_scrollback hx map ctrl+shift+equal change_font_size all +0.5 @@ -74,6 +76,7 @@ tab_bar_style separator tab_separator "" tab_bar_edge top tab_title_template "{fmt.fg.tab}{fmt.bg.tab} {activity_symbol}{title} " +active_tab_font_style normal ## name: Catppuccin Kitty Mocha ## author: Catppuccin Org diff --git a/host/desktop/sway/config b/host/desktop/sway/config index ba0b8d0..a7ee000 100644 --- a/host/desktop/sway/config +++ b/host/desktop/sway/config @@ -1,14 +1,21 @@ default_border pixel 1 -exec swayidle -w timeout 600 'notify-send "Idling in 30 seconds..."' timeout 630 'swaylock -f' timeout 660 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on" & maybe-good-morning' before-sleep 'swaylock -f' +exec swayidle -w \ + timeout 540 'notify-send "Idling in 90 seconds"' \ + timeout 570 'notify-send "Idling in 60 seconds"' \ + timeout 600 'notify-send "Idling in 30 seconds..."' \ + timeout 630 'swaylock -f' \ + timeout 660 'swaymsg "output * dpms off"' \ + resume 'swaymsg "output * dpms on" & maybe-good-morning' \ + before-sleep 'swaylock -f' output "Samsung Electric Company SyncMaster H1AK500000" position 0,0 output "GIGA-BYTE TECHNOLOGY CO., LTD. AORUS FO48U 23070B000307" mode 3840x2160@120Hz position 1440,0 output "Dell Inc. DELL U2720Q CWTM623" transform 90 scale 1.5 -output "Dell Inc. DELL U2720Q CWTM623" position 0,0 +output "Dell Inc. DELL U2720Q CWTM623" position 5280,0 output "Dell Inc. DELL U2720Q D3TM623" transform 90 scale 1.5 -output "Dell Inc. DELL U2720Q D3TM623" position 5280,0 +output "Dell Inc. DELL U2720Q D3TM623" position 0,0 exec firefox diff --git a/os/linux/sway/config b/os/linux/sway/config index 5754b7f..94b1007 100644 --- a/os/linux/sway/config +++ b/os/linux/sway/config @@ -143,7 +143,7 @@ bindsym XF86AudioPrev exec playerctl previous bindsym $mod+shift+v exec pactl set-source-mute @DEFAULT_SOURCE@ toggle bindsym $mod+control+shift+l exec swaylock -# TODO: toggle-able swayidle? does the idle thing in waybar handle this? +# TODO: toggle-able swayidle? # TODO: one-time swayidle/monitor-off # bindsym $mod+Control+Shift+s exec lock-and-disable-monitors