Working on awesome.

This commit is contained in:
Lord_Devi 2024-07-24 00:27:27 -04:00
parent ee4bb97f4d
commit 160f6aaa05
46 changed files with 395 additions and 39 deletions

BIN
.config/awesome/themes/mgk-holo/icons/awesome_icon.png Executable file → Normal file

Binary file not shown.

Before

Width:  |  Height:  |  Size: 194 B

After

Width:  |  Height:  |  Size: 389 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 167 B

After

Width:  |  Height:  |  Size: 366 B

BIN
.config/awesome/themes/mgk-holo/icons/bar.png Executable file → Normal file

Binary file not shown.

Before

Width:  |  Height:  |  Size: 163 B

After

Width:  |  Height:  |  Size: 363 B

BIN
.config/awesome/themes/mgk-holo/icons/bottom_bar.png Executable file → Normal file

Binary file not shown.

Before

Width:  |  Height:  |  Size: 173 B

After

Width:  |  Height:  |  Size: 376 B

BIN
.config/awesome/themes/mgk-holo/icons/cal.png Executable file → Normal file

Binary file not shown.

Before

Width:  |  Height:  |  Size: 240 B

After

Width:  |  Height:  |  Size: 445 B

BIN
.config/awesome/themes/mgk-holo/icons/clock.png Executable file → Normal file

Binary file not shown.

Before

Width:  |  Height:  |  Size: 249 B

After

Width:  |  Height:  |  Size: 457 B

BIN
.config/awesome/themes/mgk-holo/icons/cpu.png Executable file → Normal file

Binary file not shown.

Before

Width:  |  Height:  |  Size: 229 B

After

Width:  |  Height:  |  Size: 436 B

BIN
.config/awesome/themes/mgk-holo/icons/dwindle.png Executable file → Normal file

Binary file not shown.

Before

Width:  |  Height:  |  Size: 188 B

After

Width:  |  Height:  |  Size: 386 B

BIN
.config/awesome/themes/mgk-holo/icons/fairh.png Executable file → Normal file

Binary file not shown.

Before

Width:  |  Height:  |  Size: 188 B

After

Width:  |  Height:  |  Size: 386 B

BIN
.config/awesome/themes/mgk-holo/icons/fairv.png Executable file → Normal file

Binary file not shown.

Before

Width:  |  Height:  |  Size: 190 B

After

Width:  |  Height:  |  Size: 390 B

BIN
.config/awesome/themes/mgk-holo/icons/floating.png Executable file → Normal file

Binary file not shown.

Before

Width:  |  Height:  |  Size: 194 B

After

Width:  |  Height:  |  Size: 394 B

BIN
.config/awesome/themes/mgk-holo/icons/magnifier.png Executable file → Normal file

Binary file not shown.

Before

Width:  |  Height:  |  Size: 192 B

After

Width:  |  Height:  |  Size: 391 B

BIN
.config/awesome/themes/mgk-holo/icons/max.png Executable file → Normal file

Binary file not shown.

Before

Width:  |  Height:  |  Size: 211 B

After

Width:  |  Height:  |  Size: 411 B

BIN
.config/awesome/themes/mgk-holo/icons/mpd.png Executable file → Normal file

Binary file not shown.

Before

Width:  |  Height:  |  Size: 365 B

After

Width:  |  Height:  |  Size: 565 B

BIN
.config/awesome/themes/mgk-holo/icons/net_down.png Executable file → Normal file

Binary file not shown.

Before

Width:  |  Height:  |  Size: 320 B

After

Width:  |  Height:  |  Size: 516 B

BIN
.config/awesome/themes/mgk-holo/icons/net_up.png Executable file → Normal file

Binary file not shown.

Before

Width:  |  Height:  |  Size: 323 B

After

Width:  |  Height:  |  Size: 519 B

BIN
.config/awesome/themes/mgk-holo/icons/next.png Executable file → Normal file

Binary file not shown.

Before

Width:  |  Height:  |  Size: 352 B

After

Width:  |  Height:  |  Size: 548 B

BIN
.config/awesome/themes/mgk-holo/icons/pause.png Executable file → Normal file

Binary file not shown.

Before

Width:  |  Height:  |  Size: 176 B

After

Width:  |  Height:  |  Size: 374 B

BIN
.config/awesome/themes/mgk-holo/icons/play.png Executable file → Normal file

Binary file not shown.

Before

Width:  |  Height:  |  Size: 249 B

After

Width:  |  Height:  |  Size: 458 B

BIN
.config/awesome/themes/mgk-holo/icons/prev.png Executable file → Normal file

Binary file not shown.

Before

Width:  |  Height:  |  Size: 350 B

After

Width:  |  Height:  |  Size: 551 B

BIN
.config/awesome/themes/mgk-holo/icons/spiral.png Executable file → Normal file

Binary file not shown.

Before

Width:  |  Height:  |  Size: 189 B

After

Width:  |  Height:  |  Size: 388 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 148 B

After

Width:  |  Height:  |  Size: 334 B

BIN
.config/awesome/themes/mgk-holo/icons/spr_left.png Executable file → Normal file

Binary file not shown.

Before

Width:  |  Height:  |  Size: 160 B

After

Width:  |  Height:  |  Size: 365 B

BIN
.config/awesome/themes/mgk-holo/icons/spr_right.png Executable file → Normal file

Binary file not shown.

Before

Width:  |  Height:  |  Size: 148 B

After

Width:  |  Height:  |  Size: 334 B

BIN
.config/awesome/themes/mgk-holo/icons/spr_small.png Executable file → Normal file

Binary file not shown.

Before

Width:  |  Height:  |  Size: 131 B

After

Width:  |  Height:  |  Size: 334 B

BIN
.config/awesome/themes/mgk-holo/icons/spr_very_small.png Executable file → Normal file

Binary file not shown.

Before

Width:  |  Height:  |  Size: 131 B

After

Width:  |  Height:  |  Size: 334 B

BIN
.config/awesome/themes/mgk-holo/icons/square_sel.png Executable file → Normal file

Binary file not shown.

Before

Width:  |  Height:  |  Size: 170 B

After

Width:  |  Height:  |  Size: 364 B

BIN
.config/awesome/themes/mgk-holo/icons/square_unsel.png Executable file → Normal file

Binary file not shown.

Before

Width:  |  Height:  |  Size: 161 B

After

Width:  |  Height:  |  Size: 360 B

BIN
.config/awesome/themes/mgk-holo/icons/stop.png Executable file → Normal file

Binary file not shown.

Before

Width:  |  Height:  |  Size: 176 B

After

Width:  |  Height:  |  Size: 376 B

BIN
.config/awesome/themes/mgk-holo/icons/tile.png Executable file → Normal file

Binary file not shown.

Before

Width:  |  Height:  |  Size: 184 B

After

Width:  |  Height:  |  Size: 382 B

BIN
.config/awesome/themes/mgk-holo/icons/tilebottom.png Executable file → Normal file

Binary file not shown.

Before

Width:  |  Height:  |  Size: 186 B

After

Width:  |  Height:  |  Size: 384 B

BIN
.config/awesome/themes/mgk-holo/icons/tileleft.png Executable file → Normal file

Binary file not shown.

Before

Width:  |  Height:  |  Size: 186 B

After

Width:  |  Height:  |  Size: 384 B

BIN
.config/awesome/themes/mgk-holo/icons/tiletop.png Executable file → Normal file

Binary file not shown.

Before

Width:  |  Height:  |  Size: 186 B

After

Width:  |  Height:  |  Size: 384 B

View file

@ -20,18 +20,18 @@ theme.icon_dir = os.getenv("HOME") .. "/.config
theme.wallpaper = os.getenv("HOME") .. "/.config/awesome/themes/holo/wall.png"
theme.font = "JetBrainsMono NF 12"
theme.taglist_font = "JetBrainsMono NF 12"
theme.fg_normal = "#f8f8f2"
theme.fg_focus = "#AA99FF"
theme.bg_focus = "#454158"
theme.bg_normal = "#22212C"
theme.fg_urgent = "#ff9580"
theme.bg_urgent = "#a2ff99"
theme.fg_normal = "#D8DEE9"
theme.fg_focus = "#BF616A"
theme.bg_focus = "#2E3440"
theme.bg_normal = "#242424"
theme.fg_urgent = "#FFFACD"
theme.bg_urgent = "#BF616A"
theme.border_width = dpi(5)
theme.border_normal = "#000000"
theme.border_focus = "#454158"
theme.taglist_fg_focus = "#80FFEA"
theme.tasklist_bg_normal = "#222222"
theme.tasklist_fg_focus = "#80FFEA"
theme.border_normal = "#3B4252"
theme.border_focus = "#81A1C1"
theme.taglist_fg_focus = "#A3BE8C"
theme.tasklist_bg_normal = "#242424"
theme.tasklist_fg_focus = "#BF616A"
theme.menu_height = dpi(20)
theme.menu_width = dpi(160)
theme.menu_icon_size = dpi(32)
@ -97,7 +97,7 @@ theme.titlebar_maximized_button_focus_active = theme.default_dir.."/titlebar/
theme.musicplr = string.format("%s -e ncmpcpp", awful.util.terminal)
local markup = lain.util.markup
local blue = "#80CCE6"
local blue = "#81A1C1"
local space3 = markup.font("JetBrainsMono NF 3", " ")
-- Clock
@ -221,18 +221,18 @@ theme.fs = lain.widget.fs({
-- ALSA volume bar
theme.volume = lain.widget.alsabar({
notification_preset = { font = "Monospace 9"},
notification_preset = { font = "JetBrainsMono NF 9"},
--togglechannel = "IEC958,3",
width = dpi(80), height = dpi(10), border_width = dpi(0),
colors = {
background = "#383838",
unmute = "#80CCE6",
mute = "#FF9F9F"
background = "#242424",
unmute = "#81A1C1",
mute = "#BF616A"
},
})
theme.volume.bar.paddings = dpi(0)
theme.volume.bar.margins = dpi(5)
local volumewidget = wibox.container.background(theme.volume.bar, theme.bg_focus, gears.shape.rectangle)
local volumewidget = wibox.container.background(theme.volume.bar, theme.bg_normal, gears.shape.rectangle)
volumewidget = wibox.container.margin(volumewidget, dpi(0), dpi(0), dpi(5), dpi(5))
-- CPU
@ -285,7 +285,7 @@ local barcolor = gears.color({
type = "linear",
from = { dpi(32), 0 },
to = { dpi(32), dpi(32) },
stops = { {0, theme.bg_focus}, {0.25, "#505050"}, {1, theme.bg_focus} }
stops = { {0, theme.bg_focus}, {0.25, "#4C566A"}, {1, theme.bg_focus} }
})
function theme.at_screen_connect(s)

View file

@ -2,8 +2,8 @@
LocationMode=path-bar
ShowHidden=false
ShowSizeColumn=true
GeometryX=3396
GeometryY=1818
GeometryX=1284
GeometryY=605
GeometryWidth=888
GeometryHeight=734
SortColumn=name

View file

@ -1,5 +1,9 @@
gtk-theme-name="Adwaita-dark"
gtk-icon-theme-name="HighContrast"
# DO NOT EDIT! This file will be overwritten by LXAppearance.
# Any customization should be done in ~/.gtkrc-2.0.mine instead.
include "/home/ld/.gtkrc-2.0.mine"
gtk-theme-name="Adapta-AuroraRed-Nokto-Eta"
gtk-icon-theme-name="Papirus-Dark"
gtk-font-name="JetBrainsMono Nerd Font 10"
gtk-cursor-theme-name="Adwaita"
gtk-cursor-theme-size=64

View file

@ -1,20 +1,20 @@
[Settings]
gtk-application-prefer-dark-theme=true
gtk-button-images=true
gtk-button-images=1
gtk-cursor-theme-name=breeze_cursors
gtk-cursor-theme-size=24
gtk-cursor-theme-size=64
gtk-decoration-layout=icon:minimize,maximize,close
gtk-enable-animations=true
gtk-enable-event-sounds=0
gtk-enable-input-feedback-sounds=0
gtk-font-name="JetBrainsMono Nerd Font 10"
gtk-icon-theme-name=breeze
gtk-menu-images=true
gtk-font-name=JetBrainsMono Nerd Font 10
gtk-icon-theme-name=Papirus-Dark
gtk-menu-images=1
#gtk-modules=colorreload-gtk-module
gtk-primary-button-warps-slider=false
gtk-theme-name=Adwaita-dark
gtk-theme-name=Adapta-AuroraRed-Nokto-Eta
gtk-toolbar-icon-size=GTK_ICON_SIZE_SMALL_TOOLBAR
gtk-toolbar-style=3
gtk-toolbar-style=GTK_TOOLBAR_TEXT
gtk-xft-antialias=1
gtk-xft-hinting=1
gtk-xft-hintstyle=hintslight

View file

@ -6,8 +6,8 @@ gtk-cursor-theme-size=24
gtk-decoration-layout=icon:minimize,maximize,close
gtk-enable-animations=true
gtk-font-name="JetBrainsMono Nerd Font 10"
gtk-icon-theme-name=breeze
gtk-icon-theme-name="Papirus-Dark"
gtk-menu-images=true
gtk-primary-button-warps-slider=false
gtk-theme-name=Adwaita-dark
gtk-theme-name="Adapta-AuroraRed-Nokto-Eta"
gtk-toolbar-style=3

View file

@ -0,0 +1,38 @@
foreground #D8DEE9
background #2E3440
selection_foreground #000000
selection_background #FFFACD
url_color #0087BD
cursor #81A1C1
# black
color0 #3B4252
color8 #4C566A
# red
color1 #BF616A
color9 #BF616A
# green
color2 #A3BE8C
color10 #A3BE8C
# yellow
color3 #EBCB8B
color11 #EBCB8B
# blue
color4 #81A1C1
color12 #81A1C1
# magenta
color5 #B48EAD
color13 #B48EAD
# cyan
color6 #88C0D0
color14 #8FBCBB
# white
color7 #E5E9F0
color15 #ECEFF4

View file

@ -42,8 +42,8 @@ set undodir=$XDG_CACHE_HOME/nvim/undo | call mkdir(&undodir, 'p', 0700)
call plug#begin()
Plug '~/.local/opt/git/git.mgk.one/vim/khaveesh.vim-fish-syntax'
Plug '~/.local/opt/git/git.mgk.one/nvim/norcalli.nvim-colorizer.lua'
Plug '~/.local/opt/git/git.mgk.one/nvim/ishan9299.modus-theme-vim'
Plug '~/.local/opt/git/git.mgk.one/nvim/maxmx03.dracula.nvim', { 'branch': 'vim' }
""Plug '~/.local/opt/git/git.mgk.one/nvim/ishan9299.modus-theme-vim'
""Plug '~/.local/opt/git/git.mgk.one/nvim/maxmx03.dracula.nvim', { 'branch': 'vim' }
""Plug '~/.local/opt/git/christoomey.vim-tmux-navigator'
Plug '~/.local/opt/git/git.mgk.one/tmux/sunaku.tmux-navigate'
@ -74,4 +74,4 @@ lua require'colorizer'.setup()
"" Set theme to modus
""colorscheme modus-vivendi
colorscheme dracula
""colorscheme dracula

View file

@ -58,9 +58,12 @@ _mordu "Finished sourcing Aliases from ~/.config/posix-common/aliases.d/*."
# {{{ === LS_COLORS ===
# Sauce: https://github.com/trapd00r/LS_COLORS
_mordu "Sourcing LS_COLORS from ~/.config/posix-common/lscolors.sh"
. "$HOME"/.config/posix-common/lscolors.sh
_mordu "Finished sourcing LS_COLORS from ~/.config/posix-common/lscolors.sh"
#_mordu "Sourcing LS_COLORS from ~/.config/posix-common/lscolors.sh"
#. "$HOME"/.config/posix-common/lscolors.sh
#_mordu "Finished sourcing LS_COLORS from ~/.config/posix-common/lscolors.sh"
# Trying nord dir colors instead:
test -r ~/.config/posix-common/nord-dir-colors && eval $(dircolors ~/.config/posix-common/nord-dir-colors)
# }}} === LS_COLORS ===
# {{{ === Configure 'thefuck' as 'uwu'. ===

View file

@ -0,0 +1,251 @@
# Copyright (c) 2016-present Sven Greb <development@svengreb.de>
# This source code is licensed under the MIT license found in the license file.
COLOR tty
TERM alacritty
TERM alacritty-direct
TERM ansi
TERM *color*
TERM con[0-9]*x[0-9]*
TERM cons25
TERM console
TERM cygwin
TERM dtterm
TERM dvtm
TERM dvtm-256color
TERM Eterm
TERM eterm-color
TERM fbterm
TERM gnome
TERM gnome-256color
TERM hurd
TERM jfbterm
TERM konsole
TERM konsole-256color
TERM kterm
TERM linux
TERM linux-c
TERM mlterm
TERM putty
TERM putty-256color
TERM rxvt*
TERM rxvt-unicode
TERM rxvt-256color
TERM rxvt-unicode256
TERM screen*
TERM screen-256color
TERM st
TERM st-256color
TERM terminator
TERM tmux*
TERM tmux-256color
TERM vt100
TERM xterm*
TERM xterm-color
TERM xterm-88color
TERM xterm-256color
TERM xterm-kitty
#+-----------------+
#+ Global Defaults +
#+-----------------+
NORMAL 00
RESET 0
FILE 00
DIR 01;34
LINK 36
MULTIHARDLINK 04;36
FIFO 04;01;36
SOCK 04;33
DOOR 04;01;36
BLK 01;33
CHR 33
ORPHAN 31
MISSING 01;37;41
EXEC 01;36
SETUID 01;04;37
SETGID 01;04;37
CAPABILITY 01;37
STICKY_OTHER_WRITABLE 01;37;44
OTHER_WRITABLE 01;04;34
STICKY 04;37;44
#+-------------------+
#+ Extension Pattern +
#+-------------------+
#+--- Archives ---+
.7z 01;32
.ace 01;32
.alz 01;32
.arc 01;32
.arj 01;32
.bz 01;32
.bz2 01;32
.cab 01;32
.cpio 01;32
.deb 01;32
.dz 01;32
.ear 01;32
.gz 01;32
.jar 01;32
.lha 01;32
.lrz 01;32
.lz 01;32
.lz4 01;32
.lzh 01;32
.lzma 01;32
.lzo 01;32
.rar 01;32
.rpm 01;32
.rz 01;32
.sar 01;32
.t7z 01;32
.tar 01;32
.taz 01;32
.tbz 01;32
.tbz2 01;32
.tgz 01;32
.tlz 01;32
.txz 01;32
.tz 01;32
.tzo 01;32
.tzst 01;32
.war 01;32
.xz 01;32
.z 01;32
.Z 01;32
.zip 01;32
.zoo 01;32
.zst 01;32
#+--- Audio ---+
.aac 32
.au 32
.flac 32
.m4a 32
.mid 32
.midi 32
.mka 32
.mp3 32
.mpa 32
.mpeg 32
.mpg 32
.ogg 32
.opus 32
.ra 32
.wav 32
#+--- Customs ---+
.3des 01;35
.aes 01;35
.gpg 01;35
.pgp 01;35
#+--- Documents ---+
.doc 32
.docx 32
.dot 32
.odg 32
.odp 32
.ods 32
.odt 32
.otg 32
.otp 32
.ots 32
.ott 32
.pdf 32
.ppt 32
.pptx 32
.xls 32
.xlsx 32
#+--- Executables ---+
.app 01;36
.bat 01;36
.btm 01;36
.cmd 01;36
.com 01;36
.exe 01;36
.reg 01;36
#+--- Ignores ---+
*~ 02;37
.bak 02;37
.BAK 02;37
.log 02;37
.log 02;37
.old 02;37
.OLD 02;37
.orig 02;37
.ORIG 02;37
.swo 02;37
.swp 02;37
#+--- Images ---+
.bmp 32
.cgm 32
.dl 32
.dvi 32
.emf 32
.eps 32
.gif 32
.jpeg 32
.jpg 32
.JPG 32
.mng 32
.pbm 32
.pcx 32
.pgm 32
.png 32
.PNG 32
.ppm 32
.pps 32
.ppsx 32
.ps 32
.svg 32
.svgz 32
.tga 32
.tif 32
.tiff 32
.xbm 32
.xcf 32
.xpm 32
.xwd 32
.xwd 32
.yuv 32
#+--- Video ---+
.anx 32
.asf 32
.avi 32
.axv 32
.flc 32
.fli 32
.flv 32
.gl 32
.m2v 32
.m4v 32
.mkv 32
.mov 32
.MOV 32
.mp4 32
.mpeg 32
.mpg 32
.nuv 32
.ogm 32
.ogv 32
.ogx 32
.qt 32
.rm 32
.rmvb 32
.swf 32
.vob 32
.webm 32
.wmv 32

View file

@ -77,5 +77,14 @@ set clipboard+=unnamedplus
""""
"" keymappings / tools
"" Vim Plug
""""
call plug#begin()
Plug '~/.local/opt/git/git.mgk.one/vim/nordtheme.vim'
call plug#end()
""""
"" colorscheme
""""
colorscheme nord

View file

@ -61,4 +61,4 @@ call plug#end()
set termguicolors
"" Set colorscheme
colorscheme industry
""colorscheme industry

View file

@ -85,6 +85,7 @@ _define_vim_plugins() {
git.mgk.one/vim/bourgeoisbear.clrzr \
git.mgk.one/vim/khaveesh.vim-fish-syntax \
git.mgk.one/vim/tpope.vim-surround \
git.mgk.one/vim/nordtheme.vim \
git.mgk.one/vim/tpope.vim-repeat)
}
# }}} </define vim plugins>

50
.local/bin/replace-color.sh Executable file
View file

@ -0,0 +1,50 @@
#!/bin/bash
# Check if correct number of arguments is provided
if [ "$#" -ne 3 ]; then
echo "Usage: $0 <directory> <old_color> <new_color>"
echo "Example: $0 ./dirname '#242424' '#2E3440'"
exit 1
fi
# Assign command-line arguments to variables
IMAGE_DIR="$1"
OLD_COLOR="$2"
NEW_COLOR="$3"
# Check if the directory exists
if [ ! -d "$IMAGE_DIR" ]; then
echo "Error: Directory '$IMAGE_DIR' does not exist."
exit 1
fi
# Check if ImageMagick is installed and determine the correct command
if command -v magick &> /dev/null; then
CONVERT_CMD="magick"
elif command -v convert &> /dev/null; then
echo "Warning: Using older 'convert' command. Consider upgrading ImageMagick."
CONVERT_CMD="convert"
else
echo "Error: ImageMagick is not installed. Please install it and try again."
exit 1
fi
# Find all image files and process them
find "$IMAGE_DIR" -type f \( -iname "*.png" -o -iname "*.jpg" -o -iname "*.jpeg" \) -print0 |
while IFS= read -r -d '' file; do
echo "Processing: $file"
# Create a temporary file
temp_file=$(mktemp)
# Process the image and save to temporary file
if $CONVERT_CMD "$file" -fuzz 5% -fill "$NEW_COLOR" -opaque "$OLD_COLOR" "$temp_file"; then
# If successful, replace the original file with the temporary file
mv "$temp_file" "$file"
echo "Updated: $file"
else
# If there was an error, remove the temporary file and report the error
rm "$temp_file"
echo "Error processing: $file"
fi
done
echo "Color replacement complete!"