General improvements.

Sway cleanup, removal of swaylock symlinks, new wallpaper for lock,
lf copy improvements, waybar polish, font swap to symbols only NF,
rofi addition of kexec to session and polish, qutebrowser polish,
and just mild updates and improvements.
This commit is contained in:
Josh 2023-07-10 02:01:07 -04:00
parent 1d20d1e09a
commit abce936d94
23 changed files with 64 additions and 50 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.6 MiB

View File

@ -53,4 +53,4 @@ F7 = ":insert-output date '+%a %F'"
#"A-," = { "," = "search" } # Create homing key for %!%!
#"A-," = { "m" = ":append-output python ~/.scripts/testing/pymark.py numlist 20 %!%!" }
A-b = { l = ":sh xelatex *tex > /dev/null" } # Build latex
A-b = { l = ":sh xelatex *tex > /dev/null" }

View File

@ -11,7 +11,21 @@ name = "common-lisp"
auto-format = true
file-types = ["yuck"]
[[language]]
name = "scheme"
auto-format = true
file-types = ["scm"]
[[language]]
name = "markdown"
formatter = { command = "prettier", args = ["--parser", "markdown"] }
auto-format = true
[[language]]
name = "spec"
roots = []
injection-regex = "spec"
scope = "source.spec"
file-types = ["spec"]
comment-token = "#"

View File

@ -22,6 +22,11 @@ cmd playlist ${{
done
}}
# Create playlist file out of list of selected items.
cmd clipfile ${{
wl-copy < "${f}"
}}
# Use FD to find directory and then cd to said directory in current lf instance.
cmd fdcd ${{
full=$(sk -c "fd -t f -t d --search-path ~" --layout=reverse --header="Seach for the files or directory you wish to be in." --color="header:5" --preview="~/.config/lf/miniscope.sh {+}")

View File

@ -32,6 +32,7 @@ map is set info size
# Custom binds
map <c-f> fdcd
map <c-c> clipfile
source ~/.config/lf/functions

View File

@ -1,8 +0,0 @@
[FileDialog]
history=file:///home/josh, file:///home/josh/Captures, file:///home/josh/Downloads, file:///home/josh/Docs/keys
lastVisited=file:///home/josh/Captures
qtVersion=5.15.8
shortcuts=file:, file:///home/josh
sidebarWidth=90
treeViewHeader=@ByteArray(\0\0\0\xff\0\0\0\0\0\0\0\x1\0\0\0\x1\0\0\0\x3\x1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\x1\xec\0\0\0\x4\x1\x1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\x64\xff\xff\xff\xff\0\0\0\x81\0\0\0\0\0\0\0\x4\0\0\0\xff\0\0\0\x1\0\0\0\0\0\0\0?\0\0\0\x1\0\0\0\0\0\0\0@\0\0\0\x1\0\0\0\0\0\0\0n\0\0\0\x1\0\0\0\0\0\0\x3\xe8\0\xff\xff\xff\xff)
viewMode=Detail

View File

@ -9,7 +9,7 @@ c.url.searchengines = {
'cdj': 'https://www.cantonese.sheik.co.uk/dictionary/search/?searchtype=3&text={}',
'cde': 'https://www.cantonese.sheik.co.uk/dictionary/search/?searchtype=4&text={}',
'cdw': 'https://www.cantonese.sheik.co.uk/dictionary/search/?searchtype=1&text={}',
'yt': 'https://inv.riverside.rocks/search?q={}',
'yt': 'https://inv.vern.cc/search?q={}',
'ebay': 'https://www.ebay.com/sch/i.html?_nkw={}',
'amazon': 'https://www.amazon.com/s?k={}',
'zhtea': 'https://duckduckgo.com/?q={}+site:jadepot.com.cn+OR+site:jadepot.com+OR+site:xuite.net+OR+site:teaart.com.tw+OR+site:potsart.com+OR+site:p9.com.tw+!g'

View File

@ -36,3 +36,5 @@ c.colors.hints.match.fg = palette["pink"]
c.colors.statusbar.insert.bg = palette["base"]
c.colors.statusbar.insert.fg = palette["green"]
# Nuke defaultbg
c.colors.webpage.bg = "white"

View File

@ -13,12 +13,10 @@ configuration {
display-ssh: "  SSH ";
display-drun: "  Apps ";
display-run: "  Run ";
display-window: " 﩯 Window ";
display-clipboard: "  Clip ";
}
@theme "catppuccin-frappe"
// Overrides
* { font: "Hack 14"; }
* { font: "IntelOne Mono 14"; }
window { border-radius: 10px; }

View File

@ -1,4 +1,6 @@
MENU_OPTS=("Logout" "Shutdown" "Reboot" "Lock")
#!/bin/sh
MENU_OPTS=("Logout" "Kexec" "Shutdown" "Reboot")
if [ $# -eq 0 ]; then
exit 1
@ -29,5 +31,8 @@ case $SELECTION in
reboot)
verify "systemctl reboot"
;;
kexec)
verify "systemctl kexec"
;;
esac

View File

@ -9,6 +9,7 @@ nmap ",n" "\!!<cr>"
# Wayland paste command
set default_paste_from_clipboard_cmd="wl-paste"
set default_copy_to_clipboard_cmd="wl-copy <"
# Setting basic input colors.
color "type=CELL_CONTENT fg=BLUE bg=DEFAULT_COLOR bold=1"

View File

@ -6,4 +6,3 @@ exec foot --server
exec "systemctl start --user foot-server@${WAYLAND_DISPLAY}"
exec swayidle -w
exec "tail -f $XDG_CONFIG_HOME/wob/volume | wob"
exec wl-paste -t text --watch clipman store --no-persist

View File

@ -29,6 +29,8 @@ bindsym {
$mod+Shift+$dirD move down
}
bindsym --locked $mod+Shift+i output * dpms on
# Layout
bindsym {
$mod+b splith
@ -59,7 +61,7 @@ bindsym {
$mod+Return exec $term
$mod+o exec $files
$mod+d exec $menu
$mod+Shift+d exec clipman pick -t rofi
# $mod+Shift+d exec clipman pick -t rofi
$mod+c exec $capture all
$mod+Ctrl+c exec $capture screen
$mod+Shift+c exec $capture region

View File

@ -1,12 +1,7 @@
set {
# Per system vars
$paper $HOME/Backgrounds/wallhaven-kwvy91.png
# Monitors
$34uw 'ASUSTek COMPUTER INC ASUS VG34V M8LMTF099084'
$lg4k 'LG Electronics LG Ultra HD 0x00009F2F'
set $paper $HOME/Backgrounds/wallhaven-kwvy91.png
}
set $34uw 'ASUSTek COMPUTER INC ASUS VG34V M8LMTF099084'
set $lg4k 'LG Electronics LG Ultra HD 0x00009F2F'
# Displays
output '*' bg $paper fill

View File

@ -1,6 +1,6 @@
set $panel 'IVO 0x8C78 0x00000004'
set $dock1 'IGM Communi L236VA VB045N9510940'
set $dock2 'Dell Inc. DELL U2412M 7XTXG78T1HGU'
set $dock1_1 'IGM Communi L236VA VB045N9510940'
set $dock1_2 'Dell Inc. DELL U2412M 7XTXG78T1HGU'
set $bg '~/Backgrounds/wallhaven-28mpg6.png'
@ -21,11 +21,11 @@ output {
resolution 1920x1080 position 0,0
}
$dock1 {
$dock1_1 {
resolution 1920x1080 position 1920,0
}
$dock2 {
$dock1_2 {
resolution 1920x1200 position 3840,0
}
}

View File

@ -1,3 +1,3 @@
timeout 180 "swaymsg 'output * dpms off'" resume "swaymsg 'output * dpms on'"
timeout 300 "swaylock"
timeout 300 "swaylock" resume "swaymsg 'output * dpms on'"
before-sleep "swaylock"

View File

@ -1 +0,0 @@
/home/josh/Backgrounds/wallhaven-kwvy91.png

View File

@ -1 +0,0 @@
/home/josh/Backgrounds/wallhaven-28mpg6.png

View File

@ -4,7 +4,7 @@ show-failed-attempts
# Allows scripts to just call swaylock
#daemonize
image=$XDG_CONFIG_HOME/swaylock/$HOST
image=~/Backgrounds/wallhaven-xlqx8z.png
scaling=fill
font='Hack:style=Bold'

View File

@ -2,5 +2,5 @@
// includes all the main generic stuff.
// Per-system changes are in the hostname conf
{
"include": ["~/.config/waybar/hosts/$HOSTNAME"]
"include": ["~/.config/waybar/hosts/$HOST"]
}

View File

@ -74,7 +74,7 @@
"interval": 120,
"tooltip": false,
"format": "{icon} {volume:3}%",
"format-muted": "󰸈 {volume:3}%",
"format-muted": "󰖁 {volume:3}%",
"format-icons": {
"default": ["󰖀", "󰕾"]
}

View File

@ -20,7 +20,7 @@
},
"tooltip": false,
"format": "{icon}",
"format-icons": ["", "", "", "", ""]
"format-icons": ["󰁻", "󰁽", "󰁿", "󰂁", "󰁹"]
},
// Thermal zone 0 is the same as k10temp.
@ -28,6 +28,6 @@
"temperature#1": {
"thermal-zone": 0,
"critical-threshold": 80,
"format": "{temperatureC:3}°",
"format": "󰈸{temperatureC:3}°",
},
}

View File

@ -2,7 +2,7 @@
* {
border-radius: 0px ;
font-family: "Hack", "JetBrainsMono NF", "HanWangKanTan" ;
font-family: "Hack", "Symbols Nerd Font Mono", "HanWangKanTan" ;
font-size: 16px ;
font-weight: 600 ;
padding: 0px ;
@ -26,30 +26,32 @@
window#waybar {
background-color: transparent ;
border-bottom: 1px transparent solid ;
border: unset ;
}
#workspaces button, #tags button {
padding: 0 12px ;
color: @overlay0 ;
border: 1px transparent ;
border: unset ;
transition: none ;
}
#workspaces button:hover, #tags button:hover {
box-shadow: inherit ;
text-shadow: inherit ;
background: inherit ;
border: 1px transparent ;
#workspaces button {
padding: 0 12px ;
}
#workspaces button:active, #tags button.occupied {
box-shadow: inherit ;
text-shadow: inherit ;
background-color: transparent ;
#tags button {
padding: 0 4px ;
}
#workspaces button.visible {
#workspaces button:hover, #tags button:hover,
#workspaces button:active {
box-shadow: unset ;
text-shadow: unset ;
background: unset ;
border: unset ;
}
#workspaces button.visible, #tags button.occupied {
color: @subtext0 ;
}