From f86bb2327fe62cbb604c7861c1f5bdb81563a7c9 Mon Sep 17 00:00:00 2001 From: zachir Date: Tue, 21 Feb 2023 13:18:16 -0600 Subject: initialize config for wayland --- foot/foot.ini | 199 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 199 insertions(+) create mode 100644 foot/foot.ini (limited to 'foot') diff --git a/foot/foot.ini b/foot/foot.ini new file mode 100644 index 0000000..8191bba --- /dev/null +++ b/foot/foot.ini @@ -0,0 +1,199 @@ +# -*- 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=mononoki Nerd Font Mono:size=12 +# font-bold= +# font-italic= +# font-bold-italic= +# font-size-adjustment=0.5 +# line-height= +# letter-spacing=0 +# horizontal-letter-offset=0 +# vertical-letter-offset=0 +# underline-offset= +# underline-thickness= +# box-drawings-uses-font-glyphs=no +# dpi-aware=auto + +# initial-window-size-pixels=700x500 # Or, +# initial-window-size-chars= +# initial-window-mode=windowed +# pad=0x0 # 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= +# utempter=/usr/lib/utempter/utempter + +[environment] +# name=value + +[bell] +# urgent=no +# notify=no +# command= +# command-focused=no + +[scrollback] +# lines=1000 +# multiplier=3.0 +# indicator-position=relative +# indicator-format="" + +[url] +launch=browser ${url} +# label-letters=sadfjklewcmpgh +# osc8-underline=url-mode +# protocols=http, https, ftp, ftps, file, gemini, gopher +# uri-characters=abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-_.,~:;/?#@!$&%*+="'()[] + +[cursor] +# style=block +# color= +# blink=no +# beam-thickness=1.5 +# underline-thickness= + +[mouse] +hide-when-typing=yes +# alternate-scroll-mode=yes + +[colors] +alpha=0.8 +background=000000 +foreground=c5c8c6 + +## Normal/regular colors (color palette 0-7) +regular0=1b1d1c # black +regular1=89231d # red +regular2=4eec4e # green +regular3=ae7518 # yellow +regular4=2b55b2 # blue +regular5=784e93 # magenta +regular6=2783a1 # cyan +regular7=b4b7b5 # white + +## Bright colors (color palette 8-15) +bright0=969896 # bright black +bright1=cc342b # bright red +bright2=198844 # bright green +bright3=fba922 # bright yellow +bright4=3971ed # bright blue +bright5=a36ac7 # bright magenta +bright6=39c1ed # 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= # black-on-yellow +# scrollback-indicator= # black-on-bright-blue +# search-box-no-match= # black-on-red +# search-box-match= # black-on-yellow +# urls= + +[csd] +# preferred=server +# size=26 +# font= +# color= +# hide-when-typing=no +# 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 | xargs -r browser"] none +pipe-scrollback=[sh -c "xurls | xargs -r browser"] Mod4+l +pipe-selected=[xargs -r browser] none +# show-urls-launch=Control+Shift+u +# show-urls-copy=none +# show-urls-persistent=none +# prompt-prev=Control+Shift+z +# prompt-next=Control+Shift+x +# unicode-input=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+Shift+v Control+y XF86Paste +# primary-paste=Shift+Insert +# unicode-input=none + +[url-bindings] +# cancel=Control+g Control+c Control+d Escape +# toggle-url-visible=t + +[text-bindings] +# \x03=Mod4+c # Map Super+c -> Ctrl+c + +[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 + +# vim: ft=dosini + -- cgit v1.2.3 From e0112883ed693bcc0c83a87acc35944f08866bbd Mon Sep 17 00:00:00 2001 From: zachir Date: Fri, 24 Feb 2023 10:20:39 -0600 Subject: change some sizes in waybar + foot --- foot/foot.ini | 2 +- waybar/config | 20 ++++++++++---------- waybar/style.css | 12 ++++++------ 3 files changed, 17 insertions(+), 17 deletions(-) (limited to 'foot') diff --git a/foot/foot.ini b/foot/foot.ini index 8191bba..3817067 100644 --- a/foot/foot.ini +++ b/foot/foot.ini @@ -8,7 +8,7 @@ # title=foot # locked-title=no -font=mononoki Nerd Font Mono:size=12 +font=mononoki Nerd Font Mono:size=10 # font-bold= # font-italic= # font-bold-italic= diff --git a/waybar/config b/waybar/config index c9c45c3..b271758 100644 --- a/waybar/config +++ b/waybar/config @@ -1,10 +1,10 @@ { "layer": "top", "position": "top", - "height": 35, + "height": 36, "spacing": 4, - "margin-top": 5, - "margin-bottom":5, + //"margin-top": 5, + //"margin-bottom":5, // Choose the order of the modules @@ -68,13 +68,13 @@ "warning": 30, "critical": 15 }, - "format": "{capacity}% {icon}", - "format-charging": "{capacity}% ", - "format-plugged": "{capacity}% ", - "format-alt": "{time} {icon}", + "format": "{capacity}%", + "format-charging": "{capacity}% +", + "format-plugged": "{capacity}% =", + "format-alt": "{time}", // "format-good": "", // An empty format will hide the module // "format-full": "", - "format-icons": ["", "", "", "", ""] + //"format-icons": ["", "", "", "", ""] }, "battery#bat0": { "bat": "BAT0" @@ -113,8 +113,8 @@ }, "custom/launcher":{ "format": "", - "on-click": "wofi --show drun", - "on-click-right": "killall wofi" + "on-click": "exec $(tofi-drun)", + "on-click-right": "killall tofi" }, "custom/power":{ "format": " ", diff --git a/waybar/style.css b/waybar/style.css index 8f3e1bc..95198f2 100644 --- a/waybar/style.css +++ b/waybar/style.css @@ -1,10 +1,12 @@ * { - border: none; + border: 0px; + margin: 0px; border-radius: 0px; /* `otf-font-awesome` is required to be installed for icons */ font-family: Roboto, Helvetica, Arial, sans-serif; font-size: 13px; - min-height: 0; + min-height: 0px; + min-width: 0px; } window#waybar { @@ -76,7 +78,8 @@ window#waybar.hidden { #mode, #idle_inhibitor, #mpd { - padding: 0 10px; + padding: 0px 9px; + margin: 0px; color: #ffffff; } @@ -230,17 +233,14 @@ label:focus { #tags button.occupied { color: skyblue; - margin: 5px; background-color: #272727; } #tags button.focused { color: black; - margin: 5px; background-color: white; } #tags button.urgent{ color: red; - margin: 5px; background-color:white; } -- cgit v1.2.3