From 0bf2f08c3fe1a6ebb79b20862b0704ca00c2e38c Mon Sep 17 00:00:00 2001 From: Logan Gartner Date: Sun, 20 Feb 2022 02:43:15 -0700 Subject: [PATCH] Testing foot terminal --- .config/.gitignore | 2 + .config/foot/foot.ini | 179 ++++++++++++++++++++++++++++++++++++++++++ .config/sway/config | 4 +- 3 files changed, 184 insertions(+), 1 deletion(-) create mode 100644 .config/foot/foot.ini diff --git a/.config/.gitignore b/.config/.gitignore index 47452b7..5294272 100644 --- a/.config/.gitignore +++ b/.config/.gitignore @@ -44,6 +44,8 @@ !mako/** !wofi/ !wofi/** +!foot/ +!foot/** !.gitignore polybar/default diff --git a/.config/foot/foot.ini b/.config/foot/foot.ini new file mode 100644 index 0000000..53c4bc6 --- /dev/null +++ b/.config/foot/foot.ini @@ -0,0 +1,179 @@ +# -*- conf -*- + +# shell=$SHELL (if set, otherwise user's default shell from /etc/passwd) +# term=foot (or xterm-256color if built with -Dterminfo=disabled) +# login-shell=no + +# app-id=foot +# title=foot +# locked-title=no + +# font=monospace:size=8 +# font-bold= +# font-italic= +# font-bold-italic= +# line-height= +# letter-spacing=0 +# horizontal-letter-offset=0 +# vertical-letter-offset=0 +# underline-offset= +# box-drawings-uses-font-glyphs=no +# dpi-aware=yes + +# initial-window-size-pixels=700x500 # Or, +# initial-window-size-chars= +# initial-window-mode=windowed +# pad=2x2 # optionally append 'center' +# resize-delay-ms=100 + +# notify=notify-send -a ${app-id} -i ${app-id} ${title} ${body} + +# bold-text-in-bright=no +# word-delimiters=,│`|:"'()[]{}<> +# selection-target=primary +# workers= + +[bell] +# urgent=no +# notify=no +# command= +# command-focused=no + +[scrollback] +# lines=1000 +# multiplier=3.0 +# indicator-position=relative +# indicator-format= + +[url] +# launch=xdg-open ${url} +# label-letters=sadfjklewcmpgh +# osc8-underline=url-mode +# protocols=http, https, ftp, ftps, file, gemini, gopher +# uri-characters=abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-_.,~:;/?#@!$&%*+="' + +[cursor] +# style=block +# color=111111 dcdccc +# blink=no +# beam-thickness=1.5 +# underline-thickness= + +[mouse] +# hide-when-typing=no +# alternate-scroll-mode=yes + +[colors] +alpha=0.8 +foreground=eaeaea +background=000000 + +## Normal/regular colors (color palette 0-7) +regular0=000000 # black +regular1=b21818 # red +regular2=18b218 # green +regular3=b26818 # yellow +regular4=1818b2 # blue +regular5=b218b2 # magenta +regular6=18b2b2 # cyan +regular7=b2b2b2 # white + +## Bright colors (color palette 8-15) +bright0=686868 # bright black +bright1=ff5454 # bright red +bright2=54ff54 # bright green +bright3=ffff54 # bright yellow +bright4=5454ff # bright blue +bright5=ff54ff # bright magenta +bright6=54ffff # bright cyan +bright7=ffffff # bright white + +## dimmed colors (see foot.ini(5) man page) +# dim0= +# ... +# dim7= + +## The remaining 256-color palette +# 16 = <256-color palette #16> +# ... +# 255 = <256-color palette #255> + +## Misc colors +# selection-foreground= +# selection-background= +# jump-labels= +# urls= +# scrollback-indicator= + +[csd] +# preferred=server +# size=26 +# font= +# color= +# border-width=0 +# border-color= +# button-width=26 +# button-color= +# button-minimize-color= +# button-maximize-color= +# button-close-color= + +[key-bindings] +# scrollback-up-page=Shift+Page_Up +# scrollback-up-half-page=none +# scrollback-up-line=none +# scrollback-down-page=Shift+Page_Down +# scrollback-down-half-page=none +# scrollback-down-line=none +# clipboard-copy=Control+Shift+c XF86Copy +# clipboard-paste=Control+Shift+v XF86Paste +# primary-paste=Shift+Insert +# search-start=Control+Shift+r +# font-increase=Control+plus Control+equal Control+KP_Add +# font-decrease=Control+minus Control+KP_Subtract +# font-reset=Control+0 Control+KP_0 +# spawn-terminal=Control+Shift+n +# minimize=none +# maximize=none +# fullscreen=none +# pipe-visible=[sh -c "xurls | fuzzel | xargs -r firefox"] none +# pipe-scrollback=[sh -c "xurls | fuzzel | xargs -r firefox"] none +# pipe-selected=[xargs -r firefox] none +# show-urls-launch=Control+Shift+u +# show-urls-copy=none +# noop=none + +[search-bindings] +# cancel=Control+g Control+c Escape +# commit=Return +# find-prev=Control+r +# find-next=Control+s +# cursor-left=Left Control+b +# cursor-left-word=Control+Left Mod1+b +# cursor-right=Right Control+f +# cursor-right-word=Control+Right Mod1+f +# cursor-home=Home Control+a +# cursor-end=End Control+e +# delete-prev=BackSpace +# delete-prev-word=Mod1+BackSpace Control+BackSpace +# delete-next=Delete +# delete-next-word=Mod1+d Control+Delete +# extend-to-word-boundary=Control+w +# extend-to-next-whitespace=Control+Shift+w +# clipboard-paste=Control+v Control+y +# primary-paste=Shift+Insert + +[url-bindings] +# cancel=Control+g Control+c Control+d Escape +# toggle-url-visible=t + +[mouse-bindings] +# selection-override-modifiers=Shift +# primary-paste=BTN_MIDDLE +# select-begin=BTN_LEFT +# select-begin-block=Control+BTN_LEFT +# select-extend=BTN_RIGHT +# select-extend-character-wise=Control+BTN_RIGHT +# select-word=BTN_LEFT-2 +# select-word-whitespace=Control+BTN_LEFT-2 +# select-row=BTN_LEFT-3 diff --git a/.config/sway/config b/.config/sway/config index c135506..73af794 100644 --- a/.config/sway/config +++ b/.config/sway/config @@ -45,7 +45,8 @@ bindsym XF86AudioMicMute exec pactl set-source-mute @DEFAULT_SOURCE@ toggle && $ floating_modifier $mod # start a terminal -bindsym $mod+Return exec alacritty +bindsym $mod+Return exec footclient +#bindsym $mod+Return exec alacritty # kill focused window bindsym $mod+Shift+q kill @@ -258,6 +259,7 @@ exec kdeconnect-indicator 2>&1 & #exec xss-lock -- betterlockscreen -l -t "${USER}@${HOSTNAME}" --off 10 2>&1 & #exec ~/.config/i3/customonce.sh 2>&1 exec wl-paste -p -t text --watch clipman store --no-persist --histpath="/tmp/clipman.json" & +exec foot -s # Borders default_border pixel 0