This commit is contained in:
Daniel Flanagan 2023-06-16 14:06:56 -05:00
parent 13ebffe0cc
commit 59c6d72e13
Signed by: lytedev
GPG key ID: 5B2020A0F9921EF4
4 changed files with 16 additions and 6 deletions

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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