From 437e08e15ab50f3ba69263b8f2e462034264a1e4 Mon Sep 17 00:00:00 2001 From: Nick Boughton Date: Thu, 17 Dec 2020 13:42:29 +0000 Subject: [PATCH] colourful bars and nord foot --- foot/foot.ini | 110 +++++++++++++++++++++++++++++ sway/config | 6 +- waybar/config | 10 +-- waybar/modules/auroch/auroch.timer | 2 +- 4 files changed, 119 insertions(+), 9 deletions(-) create mode 100644 foot/foot.ini diff --git a/foot/foot.ini b/foot/foot.ini new file mode 100644 index 0000000..6c7a6f2 --- /dev/null +++ b/foot/foot.ini @@ -0,0 +1,110 @@ +# -*- conf -*- + +font=Roboto mono +# initial-window-size-pixels=700x500 # Or, +# initial-window-size-chars= +# initial-window-mode=windowed +# pad=2x2 +# shell=$SHELL (if set, otherwise user's default shell from /etc/passwd) +# term=foot +# login-shell=no +# workers= + +[scrollback] +# lines=1000 +# multiplier=3.0 +# indicator-position=relative +# indicator-format= + +[cursor] +# style=block +color=3b4252 e5e9f0 +# blink=no + +[mouse] +# hide-when-typing=no +# alternate-scroll-mode=yes + +[colors] +alpha=0.95 +foreground=d8dee9 +background=2e3440 +regular0=3b4252 # black +regular1=bf616a # red +regular2=a3be8c # green +regular3=ebcb8b # yellow +regular4=81a1c1 # blue +regular5=b48ead # magenta +regular6=88c0d0 # cyan +regular7=e5e9f0 # white +bright0=4c566a # bright black +bright1=bf616a # bright red +bright2=a3be8c # bright green +bright3=ebcb8b # bright yellow +bright4=81a1c1 # bright blue +bright5=b48ead # bright magenta +bright6=8fbcbb # bright cyan +bright7=eceff4 # bright white +# selection-foreground= +# selection-background= + +[csd] +# preferred=server +# size=26 +# color= +# button-width=26 +# button-minimize-color=ff0000ff +# button-maximize-color=ff00ff00 +# button-close-color=ffff0000 + +[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 +# clipboard-paste=Control+Shift+V +# 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 | bemenu | xargs -r firefox"] none +# pipe-scrollback=[sh -c "xurls | bemenu | xargs -r firefox"] none +# pipe-selected=[xargs -r firefox] none + +[search-bindings] +# cancel=Control+g 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 + +[mouse-bindings] +# primary-paste=BTN_MIDDLE +# select-begin=BTN_LEFT +# select-begin-block=Control+BTN_LEFT +# select-extend=BTN_RIGHT +# select-word=BTN_LEFT-2 +# select-word-whitespace=Control+BTN_LEFT-2 +# select-row=BTN_LEFT-3 + +[tweak] +allow-overflowing-double-width-glyphs=true diff --git a/sway/config b/sway/config index f7d6df4..53c7ba7 100644 --- a/sway/config +++ b/sway/config @@ -14,7 +14,7 @@ input "1739:32402:DELL0767:00_06CB:7E92_Touchpad" { set $mod Mod4 # Your preferred terminal emulator -set $term alacritty +set $term foot # Your preferred application launcher set $menu wofi -c ~/.config/wofi/config -s ~/.config/wofi/style.css -I @@ -34,8 +34,8 @@ exec_always { gsettings set $gnome-schema document-font-name 'Roboto 10' gsettings set org.gnome.desktop.wm.preferences titlebar-font 'Roboto Bold 10' gsettings set org.gnome.desktop.wm.preferences button-layout '' - gsettings set org.gnome.desktop.default-applications.terminal exec alacritty - gsettings set org.gnome.desktop.default-applications.terminal exec-arg -e + gsettings set org.gnome.desktop.default-applications.terminal exec $term + gsettings set org.gnome.desktop.default-applications.terminal exec-arg '' } diff --git a/waybar/config b/waybar/config index 3f7ae3b..bb0e03e 100644 --- a/waybar/config +++ b/waybar/config @@ -8,7 +8,8 @@ "margin-left": 5, "modules-left": [ "sway/workspaces", - "sway/mode" + "sway/mode", + "idle_inhibitor" ], "modules-center": [ "cpu", @@ -24,11 +25,10 @@ "battery" ], "modules-right": [ - "idle_inhibitor", - "backlight", - "pulseaudio", "custom/updates", "custom/auroch", + "backlight", + "pulseaudio", "tray" ], "sway/workspaces": { @@ -170,7 +170,7 @@ "on-right-click": "minimize" }, "custom/weather": { - "format": "{:.20}", + "format": "{}", "exec": "~/.config/waybar/modules/weather.sh", "interval": 3600 }, diff --git a/waybar/modules/auroch/auroch.timer b/waybar/modules/auroch/auroch.timer index 3482cd2..cf84d39 100644 --- a/waybar/modules/auroch/auroch.timer +++ b/waybar/modules/auroch/auroch.timer @@ -3,7 +3,7 @@ Description=Check for new upstream AUR versions of NPM packages [Timer] OnStartupSec=5min -OnUnitActiveSec=2h +OnUnitActiveSec=6h [Install] WantedBy=timers.target