Getting things setup for sway wayland

This commit is contained in:
Chris Cochrun 2021-04-16 06:09:09 -05:00
parent 2287ac931b
commit e94ff95428
20 changed files with 513 additions and 53 deletions

View file

@ -318,7 +318,7 @@ colors:
# #
# Window opacity as a floating point number from `0.0` to `1.0`. # Window opacity as a floating point number from `0.0` to `1.0`.
# The value `0.0` is completely transparent and `1.0` is opaque. # The value `0.0` is completely transparent and `1.0` is opaque.
background_opacity: 0.70 background_opacity: 0.80
#selection: #selection:
#semantic_escape_chars: ",│`|:\"' ()[]{}<>\t" #semantic_escape_chars: ",│`|:\"' ()[]{}<>\t"

View file

@ -109,7 +109,7 @@
{:description "lua execute prompt" :group "awesome"}) {:description "lua execute prompt" :group "awesome"})
;; utilities ;; utilities
(awful.key [] "Print" (fn [] (awful.spawn "flameshot gui")) (awful.key [] "Print" (fn [] (awful.spawn "screenshot"))
{:description "screenshot" :group "utilities"}) {:description "screenshot" :group "utilities"})
(awful.key [modkey shift] "p" (fn [] (awful.spawn "flameshot gui")) (awful.key [modkey shift] "p" (fn [] (awful.spawn "flameshot gui"))
{:description "screenshot" :group "utilities"}) {:description "screenshot" :group "utilities"})

150
bpytop/bpytop.conf Normal file
View file

@ -0,0 +1,150 @@
#? Config file for bpytop v. 1.0.63
#* Color theme, looks for a .theme file in "/usr/[local/]share/bpytop/themes" and "~/.config/bpytop/themes", "Default" for builtin default theme.
#* Prefix name by a plus sign (+) for a theme located in user themes folder, i.e. color_theme="+monokai"
color_theme="+snazzy"
#* If the theme set background should be shown, set to False if you want terminal background transparency
theme_background=False
#* Sets if 24-bit truecolor should be used, will convert 24-bit colors to 256 color (6x6x6 color cube) if false.
truecolor=True
#* Manually set which boxes to show. Available values are "cpu mem net proc", seperate values with whitespace.
shown_boxes="cpu mem net proc"
#* Update time in milliseconds, increases automatically if set below internal loops processing time, recommended 2000 ms or above for better sample times for graphs.
update_ms=1800
#* Processes update multiplier, sets how often the process list is updated as a multiplier of "update_ms".
#* Set to 2 or higher to greatly decrease bpytop cpu usage. (Only integers)
proc_update_mult=2
#* Processes sorting, "pid" "program" "arguments" "threads" "user" "memory" "cpu lazy" "cpu responsive",
#* "cpu lazy" updates top process over time, "cpu responsive" updates top process directly.
proc_sorting="memory"
#* Reverse sorting order, True or False.
proc_reversed=False
#* Show processes as a tree
proc_tree=False
#* Which depth the tree view should auto collapse processes at
tree_depth=3
#* Use the cpu graph colors in the process list.
proc_colors=True
#* Use a darkening gradient in the process list.
proc_gradient=True
#* If process cpu usage should be of the core it's running on or usage of the total available cpu power.
proc_per_core=False
#* Show process memory as bytes instead of percent
proc_mem_bytes=True
#* Sets the CPU stat shown in upper half of the CPU graph, "total" is always available, see:
#* https://psutil.readthedocs.io/en/latest/#psutil.cpu_times for attributes available on specific platforms.
#* Select from a list of detected attributes from the options menu
cpu_graph_upper="total"
#* Sets the CPU stat shown in lower half of the CPU graph, "total" is always available, see:
#* https://psutil.readthedocs.io/en/latest/#psutil.cpu_times for attributes available on specific platforms.
#* Select from a list of detected attributes from the options menu
cpu_graph_lower="total"
#* Toggles if the lower CPU graph should be inverted.
cpu_invert_lower=True
#* Set to True to completely disable the lower CPU graph.
cpu_single_graph=False
#* Shows the system uptime in the CPU box.
show_uptime=True
#* Check cpu temperature, needs "osx-cpu-temp" on MacOS X.
check_temp=True
#* Which sensor to use for cpu temperature, use options menu to select from list of available sensors.
cpu_sensor=Auto
#* Show temperatures for cpu cores also if check_temp is True and sensors has been found
show_coretemp=True
#* Which temperature scale to use, available values: "celsius", "fahrenheit", "kelvin" and "rankine"
temp_scale="celsius"
#* Draw a clock at top of screen, formatting according to strftime, empty string to disable.
draw_clock="%X"
#* Update main ui in background when menus are showing, set this to false if the menus is flickering too much for comfort.
background_update=True
#* Custom cpu model name, empty string to disable.
custom_cpu_name=""
#* Optional filter for shown disks, should be full path of a mountpoint, separate multiple values with a comma ",".
#* Begin line with "exclude=" to change to exclude filter, oterwise defaults to "most include" filter. Example: disks_filter="exclude=/boot, /home/user"
disks_filter=""
#* Show graphs instead of meters for memory values.
mem_graphs=False
#* If swap memory should be shown in memory box.
show_swap=True
#* Show swap as a disk, ignores show_swap value above, inserts itself after first disk.
swap_disk=False
#* If mem box should be split to also show disks info.
show_disks=True
#* Filter out non physical disks. Set this to False to include network disks, RAM disks and similar.
only_physical=True
#* Read disks list from /etc/fstab. This also disables only_physical.
use_fstab=False
#* Toggles if io stats should be shown in regular disk usage view
show_io_stat=True
#* Toggles io mode for disks, showing only big graphs for disk read/write speeds.
io_mode=False
#* Set to True to show combined read/write io graphs in io mode.
io_graph_combined=False
#* Set the top speed for the io graphs in MiB/s (10 by default), use format "device:speed" seperate disks with a comma ",".
#* Example: "/dev/sda:100, /dev/sdb:20"
io_graph_speeds=""
#* Set fixed values for network graphs, default "10M" = 10 Mibibytes, possible units "K", "M", "G", append with "bit" for bits instead of bytes, i.e "100mbit"
net_download="10M"
net_upload="10M"
#* Start in network graphs auto rescaling mode, ignores any values set above and rescales down to 10 Kibibytes at the lowest.
net_auto=True
#* Sync the scaling for download and upload to whichever currently has the highest scale
net_sync=False
#* If the network graphs color gradient should scale to bandwith usage or auto scale, bandwith usage is based on "net_download" and "net_upload" values
net_color_fixed=False
#* Starts with the Network Interface specified here.
net_iface=""
#* Show battery stats in top right if battery is present
show_battery=True
#* Show init screen at startup, the init screen is purely cosmetical
show_init=False
#* Enable check for new version from github.com/aristocratos/bpytop at start.
update_check=True
#* Set loglevel for "~/.config/bpytop/error.log" levels are: "ERROR" "WARNING" "INFO" "DEBUG".
#* The level set includes all lower levels, i.e. "DEBUG" will show all logging info.
log_level=WARNING

1
bpytop/error.log Normal file
View file

@ -0,0 +1 @@
13/04/21 (10:07:06) | WARNING: No theme named "+nord" found!

View file

@ -0,0 +1,89 @@
#Bashtop theme with snazzy palette
#by Chris Cochrun <chris@tfcconnection.org>
# Colors should be in 6 or 2 character hexadecimal or single spaced rgb decimal: "#RRGGBB", "#BW" or "0-255 0-255 0-255"
# example for white: "#ffffff", "#ff" or "255 255 255".
# All graphs and meters can be gradients
# For single color graphs leave "mid" and "end" variable empty.
# Use "start" and "end" variables for two color gradient
# Use "start", "mid" and "end" for three color gradient
# Main background, empty for terminal default, need to be empty if you want transparent background
theme[main_bg]=""
# Main text color
theme[main_fg]="#e2e4e5"
# Title color for boxes
theme[title]="#57c7ff"
# Higlight color for keyboard shortcuts
theme[hi_fg]="#f3f99d"
# Background color of selected item in processes box
theme[selected_bg]="#34353e"
# Foreground color of selected item in processes box
theme[selected_fg]="#eff0eb"
# Color of inactive/disabled text
theme[inactive_fg]="#a5a5a9"
# Misc colors for processes box including mini cpu graphs, details memory graph and details status text
theme[proc_misc]="#f3f99d"
# Cpu box outline color
theme[cpu_box]="#f1f1f0"
# Memory/disks box outline color
theme[mem_box]="#f1f1f0"
# Net up/down box outline color
theme[net_box]="#f1f1f0"
# Processes box outline color
theme[proc_box]="#f1f1f0"
# Box divider line and small boxes line color
theme[div_line]="#f1f1f0"
# Temperature graph colors
theme[temp_start]="#5af78e"
theme[temp_mid]="#f3f99d"
theme[temp_end]="#ff5c57"
# CPU graph colors
theme[cpu_start]="#5af78e"
theme[cpu_mid]="#f3f99d"
theme[cpu_end]="#ff5c57"
# Mem/Disk free meter
theme[free_start]="#5af78e"
theme[free_mid]="#f3f99d"
theme[free_end]="#ff5c57"
# Mem/Disk cached meter
theme[cached_start]="#5af78e"
theme[cached_mid]="#f3f99d"
theme[cached_end]="#ff5c57"
# Mem/Disk available meter
theme[available_start]="#5af78e"
theme[available_mid]="#f3f99d"
theme[available_end]="#ff5c57"
# Mem/Disk used meter
theme[used_start]="#5af78e"
theme[used_mid]="#f3f99d"
theme[used_end]="#ff5c57"
# Download graph colors
theme[download_start]="#5af78e"
theme[download_mid]="#f3f99d"
theme[download_end]="#ff5c57"
# Upload graph colors
theme[upload_start]="#5af78e"
theme[upload_mid]="#f3f99d"
theme[upload_end]="#ff5c57"

View file

@ -208,5 +208,5 @@ end
### ALIASES ### ALIASES
alias pac "paru" alias yay "paru"
alias yeet "paru -Rcs" alias yeet "paru -Rns"

View file

@ -210,6 +210,7 @@ opacity-rule = [
"70:class_g = 'TelegramDesktop'", "70:class_g = 'TelegramDesktop'",
"90:class_g = 'Joplin'", "90:class_g = 'Joplin'",
"100:class_g = 'firefox'", "100:class_g = 'firefox'",
"100:class_g = 'Gimp-2.10'",
"100:class_g = 'dolphin'", "100:class_g = 'dolphin'",
"100:class_g = 'mpv'", "100:class_g = 'mpv'",
"100:class_g = 'libreoffice'", "100:class_g = 'libreoffice'",

View file

@ -1328,7 +1328,7 @@ c.downloads.remove_finished = 8000
## font setting, it's replaced with the fonts listed here. If set to an ## font setting, it's replaced with the fonts listed here. If set to an
## empty value, a system-specific monospace default is used. ## empty value, a system-specific monospace default is used.
## Type: List of Font, or Font ## Type: List of Font, or Font
# c.fonts.default_family = [] c.fonts.default_family = ['VictorMono Nerd Font']
## Default font size to use. Whenever "default_size" is used in a font ## Default font size to use. Whenever "default_size" is used in a font
## setting, it's replaced with the size listed here. Valid values are ## setting, it's replaced with the size listed here. Valid values are
@ -1379,7 +1379,7 @@ c.downloads.remove_finished = 8000
## Font family for cursive fonts. ## Font family for cursive fonts.
## Type: FontFamily ## Type: FontFamily
# c.fonts.web.family.cursive = '' c.fonts.web.family.cursive = 'default_family'
## Font family for fantasy fonts. ## Font family for fantasy fonts.
## Type: FontFamily ## Type: FontFamily
@ -1387,7 +1387,7 @@ c.downloads.remove_finished = 8000
## Font family for fixed fonts. ## Font family for fixed fonts.
## Type: FontFamily ## Type: FontFamily
# c.fonts.web.family.fixed = '' c.fonts.web.family.fixed = 'default_family'
## Font family for sans-serif fonts. ## Font family for sans-serif fonts.
## Type: FontFamily ## Type: FontFamily
@ -1399,7 +1399,7 @@ c.downloads.remove_finished = 8000
## Font family for standard fonts. ## Font family for standard fonts.
## Type: FontFamily ## Type: FontFamily
# c.fonts.web.family.standard = '' c.fonts.web.family.standard = 'default_family'
## Default font size (in pixels) for regular text. ## Default font size (in pixels) for regular text.
## Type: Int ## Type: Int
@ -1547,7 +1547,7 @@ c.hints.selectors['all'].append('label')
## Make characters in hint strings uppercase. ## Make characters in hint strings uppercase.
## Type: Bool ## Type: Bool
# c.hints.uppercase = False c.hints.uppercase = True
## Maximum time (in minutes) between two history items for them to be ## Maximum time (in minutes) between two history items for them to be
## considered being from the same browsing session. Items with less time ## considered being from the same browsing session. Items with less time
@ -2029,7 +2029,7 @@ c.tabs.show_switching_delay = 600
## Open a new window for every tab. ## Open a new window for every tab.
## Type: Bool ## Type: Bool
c.tabs.tabs_are_windows = True c.tabs.tabs_are_windows = False
## Alignment of the text inside of tabs. ## Alignment of the text inside of tabs.
## Type: TextAlignment ## Type: TextAlignment
@ -2266,7 +2266,7 @@ config.bind("J", "tab-prev")
# config.bind('b', 'set-cmd-text -s :quickmark-load') # config.bind('b', 'set-cmd-text -s :quickmark-load')
# config.bind('cd', 'download-clear') # config.bind('cd', 'download-clear')
# config.bind('co', 'tab-only') # config.bind('co', 'tab-only')
config.bind("d", "close") # config.bind("d", "close")
# config.bind('f', 'hint') # config.bind('f', 'hint')
# config.bind('g$', 'tab-focus -1') # config.bind('g$', 'tab-focus -1')
# config.bind('g0', 'tab-focus 1') # config.bind('g0', 'tab-focus 1')
@ -2487,5 +2487,8 @@ config.bind(
"hint links spawn alacritty -e youtube-dl -o ~/Videos/%(title)s.%(ext)s {hint-url}", "hint links spawn alacritty -e youtube-dl -o ~/Videos/%(title)s.%(ext)s {hint-url}",
) )
config.bind('d', 'tab-close')
config.bind('b', 'set-cmd-text -s :tab-select ')
## Bindings for MPV and YTDL ## Bindings for MPV and YTDL
# config.bind('o', 'spawn --userscript rofi') # config.bind('o', 'spawn --userscript rofi')

View file

@ -1,6 +1,6 @@
[FileDialog] [FileDialog]
history=file:///home/chris/Pictures, file:///home/chris/Downloads, file:///home/chris, file:///home/chris/Documents/TFC Stuff/newsletterpics, file:///home/chris/Videos/vimeo history=file:///home/chris/Downloads, file:///home/chris, file:///home/chris/Documents/TFC Stuff/newsletterpics, file:///home/chris/Videos/vimeo, file:///home/chris/Pictures/tfc
lastVisited=file:///home/chris/Pictures lastVisited=file:///home/chris/Pictures/tfc
qtVersion=5.15.2 qtVersion=5.15.2
shortcuts=file:, file:///home/chris shortcuts=file:, file:///home/chris
sidebarWidth=116 sidebarWidth=116

View file

@ -10,6 +10,6 @@
configuration { configuration {
font: "VictorMono Nerd Font 30.0"; font: "VictorMono Nerd Font 12.0";
} }
@import "/home/chris/.dotfiles/rofi/launchers-git/blurry.rasi" @import "/home/chris/.dotfiles/rofi/launchers-git/blurry.rasi"

3
scripts/screenshot Executable file
View file

@ -0,0 +1,3 @@
#!/bin/sh
maim --hidecursor --select | xclip -selection clipboard -target image/png

2
scripts/waystart Executable file
View file

@ -0,0 +1,2 @@
#!/bin/sh
export QT_QPA_PLATFORMTHEME="qt5ct"

62
scripts/wofipass Executable file
View file

@ -0,0 +1,62 @@
#!/usr/bin/env bash
# Very basic interface for pass using wofi
# Get all password files and create an array
root=~/.password-store
CACHE=~/.local/tmp/pass_wofi
seat=seat0
list_passwords() {
shopt -s nullglob globstar
cd "${root}" || exit
pw_list=(**/*.gpg)
printf '%s\n' "${pw_list[@]%.gpg}" | sort -n
}
prompt='search for passwords...'
SECRET=$(list_passwords | wofi -i --width 700 --lines 20 --height 250 --prompt="${prompt}" --dmenu --cache-file ${CACHE})
# Ask whether pass, user or both are required
options=("Password" \
"User" \
"User and password" \
"QR-Code" \
"OTP")
option=$(printf '%s\n' "${options[@]%}" | wofi -i --dmenu --width 400 --lines 4 --prompt="..." --cache-file /dev/null)
echo $option
case ${option} in
Password )
echo "Test"
wtype $(pass ${SECRET} | head -n 1)
;;
User )
wtype $(pass ${SECRET} | rg user: | awk '{$1 = ""; print $0}')
;;
"User and password" )
wtype $(pass ${SECRET} | rg user: | awk '{$1 = ""; print $0}')
wtype -k TAB
wtype $(pass ${SECRET} | head -n 1)
;;
"QR-Code" )
if [[ $SECRET =~ wifi$ ]]; then
# Produce a valid wifi QR-code
WIFISSID=$(pass get_user ${SECRET})
WIFIPASS=$(pass get_pass ${SECRET})
WIFIQR="WIFI:T:WPA;S:${WIFISSID};P:${WIFIPASS};;"
qrencode -s 8 -o - $WIFIQR | feh --title "pass: QR-WIFI" -
else
# Only password
pass show -q1 ${SECRET}
fi
;;
"OTP" )
wtype $(pass otp ${SECRET})
;;
esac
# wl-copy -o -s ${seat} ${PASSWD_PASS}

51
scripts/wofiqute Executable file
View file

@ -0,0 +1,51 @@
#!/usr/bin/env bash
#
# Script name: dmqute
# Description: Search your qutebrowswer bookmarks and quickmarks.
# Dependencies: dmenu, qutebrowser
# GitLab: https://www.gitlab.com/dwt1/dmscripts
# License: https://www.gitlab.com/dwt1/dmscripts/LICENSE
# Contributors: Derek Taylor
# Defining location of bookmarks file
BMFILE="$HOME/.config/qutebrowser/bookmarks/urls"
# Defining location of quickmarks file
QMFILE="$HOME/.config/qutebrowser/quickmarks"
# Defining location of history database
HISTDB="$HOME/.local/share/qutebrowser/history.sqlite"
# A separator that will appear in between quickmarks, bookmarks and history urls.
SEPARATOR="----------"
# Read array of options to choose.
readarray -t bmarks < "$BMFILE"
readarray -t qmarks < "$QMFILE"
# Sort the bookmark, quickmark and history lists so that the url is the last field.
# We will awk print the last field later.
# History list is formed by grep'ing "http" from the history table.
bmlist=$(printf '%s\n' "${bmarks[@]}" | awk '{print $2" - "$1}')
qmlist=$(printf '%s\n' "${qmarks[@]}" | awk '{print "["$1"] - "$NF}' | sort)
SQL="SELECT h.title, h.url FROM history as h where url like 'http%';"
histlist=$(printf '%s\n' "$(sqlite3 "$HISTDB" "${SQL}")" | awk -F "|" '{print $1" - "$NF}')
# Piping the above lists into dmenu.
# We use "printf '%s\n'" to format the array one item to a line.
# The urls are listed quickmarks first, then the SEPARATOR, and then bookmarks.
choice=$(printf '%s\n' "$qmlist" "$SEPARATOR" "$bmlist" "$SEPARATOR" "$histlist" | wofi --columns=2 -p 'Qutebrowser open:' -dmenu) "$@" || exit
# What to do if the separator is chosen from the list.
# We simply launch qutebrowser without any url arguments.
# shellcheck disable=SC2154
if [ "$choice" == "$SEPARATOR" ]; then
qutebrowser
# What to do when/if we choose a url to view.
elif [ "$choice" ]; then
url=$(echo "${choice}" | awk '{print $NF}') || exit
qutebrowser "$url"
# What to do if we just escape without choosing anything.
else
echo "Program terminated." && exit 0
fi

View file

@ -6,7 +6,7 @@
# yt search query takes input from the passed arg, prompts using fzf # yt search query takes input from the passed arg, prompts using fzf
# yt -r takes input and prompts using rofi ($guicmd) # yt -r takes input and prompts using rofi ($guicmd)
if [ $(hostname) = "chris-linuxlaptop" ]; then if [ $(hostname) = "syl" ]; then
style="laptop" style="laptop"
#echo "this is hidpi" #echo "this is hidpi"
else else
@ -14,8 +14,6 @@ else
#echo "this is not hidpi" #echo "this is not hidpi"
fi fi
-no-lazy-grab -show drun -modi drun -theme launchers-git/"$style".rasi
defcmd="fzf" defcmd="fzf"
guicmd="rofi -no-lazy-grab -dmenu -i -theme launchers-git/"$style".rasi" #uncomment next line for dmenu guicmd="rofi -no-lazy-grab -dmenu -i -theme launchers-git/"$style".rasi" #uncomment next line for dmenu
#guicmd="dmenu -i -l 15" #guicmd="dmenu -i -l 15"

View file

@ -45,9 +45,9 @@ input type:touchpad {
} }
### Style ### Style
gaps outer 10 gaps outer 15
gaps inner 10 gaps inner 20
smart_gaps on #smart_gaps on
default_border none default_border none
@ -65,7 +65,13 @@ titlebar_border_thickness 1
# Start your launcher # Start your launcher
bindsym Menu exec $menu bindsym Menu exec $menu
bindsym $mod+Menu exec wofi --show run | xargs swaymsg exec --
#Pass
bindsym $mod+p exec wofipass
# Screenshot
bindsym Print exec grim -g "${slurp}" - | wl-copy
# Drag floating windows by holding down $mod and left mouse button. # Drag floating windows by holding down $mod and left mouse button.
# Resize them with right mouse button + $mod. # Resize them with right mouse button + $mod.
# Despite the name, also works for non-floating windows. # Despite the name, also works for non-floating windows.
@ -153,7 +159,7 @@ titlebar_border_thickness 1
bindsym $mod+space focus mode_toggle bindsym $mod+space focus mode_toggle
# Move focus to the parent container # Move focus to the parent container
bindsym $mod+a focus parent bindsym $mod+Shift+p focus parent
# #
# Scratchpad: # Scratchpad:
# #
@ -166,6 +172,16 @@ titlebar_border_thickness 1
# Show the next scratchpad window or hide the focused scratchpad window. # Show the next scratchpad window or hide the focused scratchpad window.
# If there are multiple scratchpad windows, this command cycles through them. # If there are multiple scratchpad windows, this command cycles through them.
bindsym $mod+minus scratchpad show bindsym $mod+minus scratchpad show
#
# Audio
#
bindsym $mod+a exec alacritty --class pulsemixer -e pulsemixer
bindsym XF86AudioRaiseVolume exec pactl set-sink-volume @DEFAULT_SINK@ +5% && paplay /usr/share/sounds/freedesktop/stereo/audio-volume-change.oga
bindsym XF86AudioLowerVolume exec pactl set-sink-volume @DEFAULT_SINK@ -5%
bindsym XF86AudioMute exec pactl set-sink-mute @DEFAULT_SINK@ toggle
# #
# Resizing containers: # Resizing containers:
# #
@ -199,8 +215,10 @@ set $mode_launcher Launcher
bindsym $mod+o mode "$mode_launcher" bindsym $mod+o mode "$mode_launcher"
mode "$mode_launcher" { mode "$mode_launcher" {
bindsym e exec emacsclient -c & bindsym e exec emacsclient -c -a emacs &
bindsym b exec qutebrowser bindsym b exec qutebrowser
bindsym a exec emacsclient -c -e '(org-agenda)'
bindsym i exec emacsclient -c -e '(mu4e)'
bindsym Return mode "default" bindsym Return mode "default"
bindsym Escape mode "default" bindsym Escape mode "default"
} }
@ -214,8 +232,14 @@ bar {
workspace_buttons yes workspace_buttons yes
} }
for_window [app_id="mpv"] floating enable
for_window [app_id="imv"] floating enable
for_window [app_id="dolphin"] floating enable
for_window [app_id="emacs"] opacity 0.90
exec emacs --daemon exec emacs --daemon
exec mako exec mako
exec waystart
xwayland enable xwayland enable
include /etc/sway/config.d/* include /etc/sway/config.d/*

View file

@ -26,7 +26,7 @@
} }
}, },
"sway/mode": { "sway/mode": {
"format": "<span style=\"italic\">{}</span>" "format": "<span style=\"italic\"> {}</span>"
}, },
"idle_inhibitor": { "idle_inhibitor": {
"format": "{icon}", "format": "{icon}",
@ -97,7 +97,7 @@
"network": { "network": {
// "interface": "wlp2*", // (Optional) To force the use of this interface // "interface": "wlp2*", // (Optional) To force the use of this interface
"format-wifi": "{essid} ({signalStrength}%) ", "format-wifi": "{essid} ({signalStrength}%) ",
"format-ethernet": "{ifname}: {ipaddr} ", "format-ethernet": "{ipaddr} ",
"format-linked": "{ifname} (No IP) ", "format-linked": "{ifname} (No IP) ",
"format-disconnected": "Disconnected ⚠", "format-disconnected": "Disconnected ⚠",
"format-alt": "{ifname}: {ipaddr}/{cidr}" "format-alt": "{ifname}: {ipaddr}/{cidr}"

View file

@ -14,32 +14,36 @@
@define-color base0D #57c7ff; @define-color base0D #57c7ff;
@define-color base0E #ff6ac1; @define-color base0E #ff6ac1;
@define-color base0F #b2643c; @define-color base0F #b2643c;
@define-color basetransparent rgba(40, 42, 54, 0.0);
@define-color backtransparent rgba(40, 42, 54, 0.7);
* { * {
border: none; border: none;
border-radius: 0; border-radius: 0;
font-family: VictorMono Nerd Font; font-family: VictorMono Nerd Font;
font-size: 12px; font-size: 12px;
font-weight: bold; font-weight: normal;
box-shadow: none; box-shadow: none;
text-shadow: none; text-shadow: none;
transition-duration: 0s; transition-duration: 0s;
padding-top: 0px;
padding-bottom: 0px;
} }
window { window {
color: @base05; color: @base05;
background: rgba(1, 1, 1, 0.0); background: @basetransparent;
} }
window#waybar.solo { window#waybar.solo {
background: rgba(1, 1, 1, 0.40); background: @basetransparent;
} }
#workspaces { #workspaces {
border-radius: 20px; border-radius: 20px;
margin-left: 10px; margin-left: 10px;
padding-right: 10px; padding-right: 10px;
background: rgba(40, 42, 54, 0.85); background: @backtransparent;
transition: none; transition: none;
} }
@ -54,18 +58,18 @@ window#waybar.solo {
} }
#workspaces button.focused { #workspaces button.focused {
color: #9aedfe; color: @base0C;
} }
#workspaces button:hover { #workspaces button:hover {
transition: none; transition: none;
box-shadow: inherit; box-shadow: inherit;
text-shadow: inherit; text-shadow: inherit;
color: #ff79c6; color: @base0E;
} }
#workspaces button.urgent { #workspaces button.urgent {
color: rgba(238, 46, 36, 1); color: @base08;
} }
#mode, #battery, #cpu, #memory, #network, #pulseaudio, #idle_inhibitor, #backlight, #custom-storage, #custom-spotify, #custom-weather, #custom-mail { #mode, #battery, #cpu, #memory, #network, #pulseaudio, #idle_inhibitor, #backlight, #custom-storage, #custom-spotify, #custom-weather, #custom-mail {
@ -80,8 +84,8 @@ window#waybar.solo {
padding-right: 10px; padding-right: 10px;
border-radius: 20px; border-radius: 20px;
transition: none; transition: none;
color: #4d4d4d; color: @base0B;
background: rgba(107, 142, 35, 0.85); background: @backtransparent;
} }
#backlight { #backlight {
@ -91,20 +95,20 @@ window#waybar.solo {
padding-right: 5px; padding-right: 5px;
border-radius: 20px; border-radius: 20px;
transition: none; transition: none;
color: #4d4d4d; color: @base01;
background: rgba(188, 143, 143, 0.85); background: @base0B;
} }
#battery.warning { #battery.warning {
color: rgba(255, 210, 4, 1); color: @base09;
} }
#battery.critical { #battery.critical {
color: rgba(238, 46, 36, 1); color: @base08;
} }
#battery.charging { #battery.charging {
color: rgba(217, 216, 216, 1); color: @base0B;
} }
#pulseaudio { #pulseaudio {
@ -114,8 +118,8 @@ window#waybar.solo {
padding-right: 10px; padding-right: 10px;
border-radius: 20px; border-radius: 20px;
transition: none; transition: none;
color: #4d4d4d; color: @base09;
background: rgba(189, 183, 107, 0.85); background: @backtransparent;
} }
#network { #network {
@ -125,8 +129,8 @@ window#waybar.solo {
padding-right: 14px; padding-right: 14px;
border-radius: 20px; border-radius: 20px;
transition: none; transition: none;
color: #4d4d4d; color: @base0A;
background: rgba(189, 183, 107, 0.85); background: @backtransparent;
} }
#cpu { #cpu {
@ -136,19 +140,19 @@ window#waybar.solo {
padding-right: 10px; padding-right: 10px;
border-radius: 20px; border-radius: 20px;
transition: none; transition: none;
color: #4d4d4d; color: @base0B;
background: rgba(205, 92, 92, 0.85); background: @backtransparent;
} }
#battery { #battery {
margin-left: 2px; margin-left: 2px;
margin-right: 2px; margin-right: 2px;
padding-left: 10px; padding-left: 5px;
padding-right: 18px; padding-right: 14px;
border-radius: 20px; border-radius: 20px;
transition: none; transition: none;
color: #4d4d4d; color: @base0D;
background: rgba(176, 196, 222, 0.85); background: @backtransparent;
} }
#battery.bat2 { #battery.bat2 {
@ -162,10 +166,27 @@ window#waybar.solo {
padding-right: 10px; padding-right: 10px;
border-radius: 20px; border-radius: 20px;
transition: none; transition: none;
color: #4d4d4d; color: @base0C;
background: rgba(222, 184, 135, 0.85); background: @backtransparent;
}
#temperature {
margin-left: 2px;
margin-right: 2px;
padding-left: 10px;
padding-right: 10px;
border-radius: 20px;
transition: none;
color: @base0E;
background: @backtransparent;
} }
#tray { #tray {
margin-right: 10px; margin-right: 10px;
padding-left: 10px;
padding-right: 10px;
border-radius: 20px;
transition: none;
color: @base0E;
background: @backtransparent;
} }

View file

@ -1,2 +1,4 @@
width=60% width=60%
height=50% height=40%
columns=2
parse_action=true

53
wofi/style.css Normal file
View file

@ -0,0 +1,53 @@
@define-color base00 #282a36;
@define-color base01 #34353e;
@define-color base02 #43454f;
@define-color base03 #78787e;
@define-color base04 #a5a5a9;
@define-color base05 #e2e4e5;
@define-color base06 #eff0eb;
@define-color base07 #f1f1f0;
@define-color base08 #ff5c57;
@define-color base09 #ff9f43;
@define-color base0A #f3f99d;
@define-color base0B #5af78e;
@define-color base0C #9aedfe;
@define-color base0D #57c7ff;
@define-color base0E #ff6ac1;
@define-color base0F #b2643c;
@define-color basetransparent rgba(40, 42, 54, 0.0);
@define-color backtransparent rgba(40, 42, 54, 0.85);
window {
margin: 100px;
background-color: @backtransparent;
}
#input {
margin: 10px;
border-radius: 20px;
border-color: @base02;
background-color: @base02;
color: @base05;
}
#inner-box {
margin: 0px;
}
#outer-box {
margin: 0px;
}
#scroll {
margin: 5px;
/* background-color: orange; */
}
#entry {
border-radius: 20px;
}
#text {
margin: 5px;
border-radius: 20px;
color: @base05;
}