Compare commits

..

15 Commits

23 changed files with 134 additions and 190 deletions

View File

@ -7,3 +7,4 @@ dotfiles
* bash - bashrc, bash_colors and bash_liases for use with bash shell.
* zsh - zshrc and zshrc_aliases config files
* oh-my-zsh - Persoanl oh-my-zsh theme
*

View File

@ -1 +0,0 @@
import = ["~/.config/alacritty/gnome_terminal.toml"]

View File

@ -1,76 +0,0 @@
# Dracula theme for Alacritty
# https://draculatheme.com/alacritty
#
# Color palette
# https://spec.draculatheme.com
#
# Instructions
# https://github.com/alacritty/alacritty/blob/master/extra/man/alacritty.5.scd
[colors.primary]
background = "#282a36"
foreground = "#f8f8f2"
bright_foreground = "#ffffff"
[colors.cursor]
text = "#282a36"
cursor = "#f8f8f2"
[colors.vi_mode_cursor]
text = "CellBackground"
cursor = "CellForeground"
[colors.selection]
text = "CellForeground"
background = "#44475a"
[colors.normal]
black = "#21222c"
red = "#ff5555"
green = "#50fa7b"
yellow = "#f1fa8c"
blue = "#bd93f9"
magenta = "#ff79c6"
cyan = "#8be9fd"
white = "#f8f8f2"
[colors.bright]
black = "#6272a4"
red = "#ff6e6e"
green = "#69ff94"
yellow = "#ffffa5"
blue = "#d6acff"
magenta = "#ff92df"
cyan = "#a4ffff"
white = "#ffffff"
[colors.search.matches]
foreground = "#44475a"
background = "#50fa7b"
[colors.search.focused_match]
foreground = "#44475a"
background = "#ffb86c"
[colors.footer_bar]
background = "#282a36"
foreground = "#f8f8f2"
[colors.hints.start]
foreground = "#282a36"
background = "#f1fa8c"
[colors.hints.end]
foreground = "#f1fa8c"
background = "#282a36"

View File

@ -1,28 +0,0 @@
# Gnome (Gnome Terminal Default)
# Default colors
[colors.primary]
background = '#1e1e1e'
foreground = '#ffffff'
# Normal colors
[colors.normal]
black = '#171421'
red = '#c01c28'
green = '#26a269'
yellow = '#a2734c'
blue = '#12488b'
magenta = '#a347ba'
cyan = '#2aa1b3'
white = '#d0cfcc'
# Bright colors
[colors.bright]
black = '#5e5c64'
red = '#f66151'
green = '#33d17a'
yellow = '#e9ad0c'
blue = '#2a7bde'
magenta = '#c061cb'
cyan = '#33c7de'
white = '#ffffff'

View File

@ -1,32 +0,0 @@
# Colors (Hyper)
# Default colors
[colors.primary]
background = '#000000'
foreground = '#ffffff'
[colors.cursor]
text = '#F81CE5'
cursor = '#ffffff'
# Normal colors
[colors.normal]
black = '#000000'
red = '#fe0100'
green = '#33ff00'
yellow = '#feff00'
blue = '#0066ff'
magenta = '#cc00ff'
cyan = '#00ffff'
white = '#d0d0d0'
# Bright colors
[colors.bright]
black = '#808080'
red = '#fe0100'
green = '#33ff00'
yellow = '#feff00'
blue = '#0066ff'
magenta = '#cc00ff'
cyan = '#00ffff'
white = '#FFFFFF'

View File

@ -8,6 +8,10 @@ function run {
}
run /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
run xscreensaver
run nm-applet
run parcellite
#run picom --config $HOME/.config/picom/picom.conf
run bitwarden-desktop
run remmina -i
run onedrivegui

View File

@ -563,11 +563,11 @@ awful.rules.rules = {
-- { rule = { class = "Firefox" },
-- properties = { screen = 1, tag = "2" } },
-- { rule = { class = "Lxterminal" },
-- properties = {
-- screen = "HDMI-0",
-- tags = "WEB"}
-- },
{ rule = { class = "qutebrowser" },
properties = {
screen = "DP-2",
tags = "WEB"}
},
}

View File

@ -97,7 +97,7 @@ theme.titlebar_maximized_button_focus_inactive = themes_path.."default/titlebar
theme.titlebar_maximized_button_normal_active = themes_path.."default/titlebar/maximized_normal_active.png"
theme.titlebar_maximized_button_focus_active = themes_path.."default/titlebar/maximized_focus_active.png"
theme.wallpaper = "~/.config/awesome/wallpapers/debian-wallpaper.jpg"
theme.wallpaper = "~/.config/awesome/wallpapers/arch-linux-wallpaper.jpg"
-- You can use your own layout icons like this:
theme.layout_fairh = themes_path.."default/layouts/fairhw.png"

Binary file not shown.

After

Width:  |  Height:  |  Size: 698 KiB

View File

@ -28,7 +28,7 @@ audiblebell=true
tabpos=top
geometry_columns=80
geometry_rows=24
hidescrollbar=true
hidescrollbar=false
hidemenubar=true
hideclosebutton=true
hidepointer=false

View File

@ -9,20 +9,35 @@ browser qutebrowser
macro i set browser "feh %u"; open-in-browser ; set browser "qutebrowser"
macro w set browser "w3m %u"; open-in-browser ; set browser "qutebrowser"
# Dark theme based on Dracula color scheme for newsboat.
#
# In order to use this color scheme, you must first configure
# your terminal emulator to use the Dracula palette.
# See <https://draculatheme.com/> for more information.
# col # item # fg # bg
#color background color7 default # the most bottom bar
#color listnormal color7 default # unfocused and without N
#color listnormal_unread color7 default # unfocused and with N
#color listfocus color7 color8 # focused and without N
#color listfocus_unread color7 color8 bold # focused but with N
#color info color0 color1 # bottom and top info bars
color article color15 default # content of an article
color background default default
color listnormal color255 default
color listfocus color238 color255 standout
color listnormal_unread color47 default
color listfocus_unread color238 color47 standout
color info color141 color236
# highlights
highlight article "^(Feed|Link):.*$" color14 default bold
highlight article "^(Title|Date|Author):.*$" color11 default bold
highlight article "https?://[^ ]+" color12 default underline
highlight article "\\[[0-9]+\\]" color10 default bold
highlight article "\\[image\\ [0-9]+\\]" color9 default bold
highlight all "---.*---" yellow
highlight feedlist ".*(0/0))" black
highlight article "(^Feed:|^Title:|^Date:|^Link:|^Author:)" cyan default bold
highlight article "https?://[^ ]+" yellow default
highlight article "\\[[0-9][0-9]*\\]" magenta default bold
highlight article "\\[image\\ [0-9]+\\]" green default bold
highlight article "\\[embedded flash: [0-9][0-9]*\\]" green default bold
highlight article ":.*\\(link\\)$" cyan default
highlight article ":.*\\(image\\)$" blue default
highlight article ":.*\\(embedded flash\\)$" magenta default
highlight article "^(Flags):.*$" color9 default bold
# highlights
#highlight article "^(Feed|Link):.*$" color14 default bold
#highlight article "^(Title|Date|Author):.*$" color11 default bold
#highlight article "https?://[^ ]+" color12 default underline
#highlight article "\\[[0-9]+\\]" color10 default bold
#highlight article "\\[image\\ [0-9]+\\]" color9 default bold

View File

@ -28,4 +28,4 @@ https://archlinux.org/feeds/news/ "~archlinuxnews" "(News)"
# (Podcasts)
https://selfhosted.show/rss "~self-hosted" "(Podcasts)"
https://linuxunplugged.com/rss "~linuxunplugged" "(Podcasts)"
https://linuxactionnews.com/rss "~linuxactionnews" "(Podcasts)"
https://latenightlinux.com/feed/mp3 "~Late Night Linux" "(Podcasts)"

View File

View File

@ -30,3 +30,7 @@
[core]
autocrlf = false
[safe]
directory = /opt/tessdata
[init]
defaultBranch = master

View File

@ -1,21 +1,20 @@
#!/bin/bash
# Setup Shell
if [ -n "$($SHELL -c 'echo $ZSH_VERSION')" ]; then
echo "Setting up ZSH"
rm -fr ~/.oh-my-zsh
rm -fr ~/.zshrc
git clone https://github.com/robbyrussell/oh-my-zsh.git ~/.oh-my-zsh
ln -s `pwd`/zsh/dracula/dracula.zsh-theme ~/.oh-my-zsh/themes/dracula.zsh-theme
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" "" --unattended
wget https://github.com/dracula/zsh/archive/master.zip -O /tmp/dracula.zip --quiet
unzip -q /tmp/dracula.zip -d /tmp
rm /tmp/dracula.zip
mv /tmp/zsh-master/dracula.zsh-theme ~/.oh-my-zsh/themes/dracula.zsh-theme
mv /tmp/zsh-master/lib ~/.oh-my-zsh/themes
rm -fr /tmp/zsh-master
rm -fr ~/.zshrc*
ln -s `pwd`/zsh/zshrc ~/.zshrc
elif [ -n "$($SHELL -c 'echo $BASH_VERSION')" ]; then
rm -fr ~/.bashrc
rm -fr ~/.bash_colors
rm -fr ~/.bash_aliases
ln -s `pwd`/bash/bashrc ~/.bashrc
ln -s `pwd`/bash/bash_colors ~/.bash_colors
ln -s `pwd`/bash/bash_aliases ~/.bash_aliases
fi
# Setup git
echo "Setup git"
rm -fr ~/.gitconfig
ln -s `pwd`/git/gitconfig ~/.gitconfig
# Setup nano
echo "Setup nano"
@ -24,16 +23,49 @@ rm -fr ~/.nanorc
ln -s `pwd`/nano/nanorc ~/.nanorc
ln -s `pwd`/nano ~/.nano
# Setup VIM
echo "Setup VIM"
rm -fr ~/.vim
ln -s `pwd`/vim ~/.vim
# # Setup VIM
# echo "Setup VIM"
# rm -fr ~/.vim
# ln -s `pwd`/vim ~/.vim
# # Setup mutt
# echo "Setup mutt"
# echo "Make sure you generate an oauth2 file - ./mutt_oauth2.py oauth2 --verbose --authorize"
# rm -fr ~/.mutt
# ln -s `pwd`/mutt ~/.mutt
# # Setup lxterminal
# echo "Setup lxterminal"
# rm -fr ~/.config/lxterminal
# ln -s `pwd`/config/lxterminal ~/.config/lxterminal
# # Setup AwesomeWM
# echo "Setup AwesomeWM"
# rm -fr ~/.xinitrc
# rm -fr ~/.config/awesome
# ln -s `pwd`/xinitrc ~/.xinitrc
# ln -s `pwd`/config/awesome ~/.config/awesome
# # Setup mpd
# rm -fr ~/.config/mpd
# ln -s `pwd`/config/mpd ~/.config/mpd
# # Setup picom
# rm -fr ~/.config/picom
# ln -s `pwd`/config/picom ~/.config/picom
# # Setup qutebrowser
# rm -fr ~/.config/qutebrowser
# mkdir ~/.config/qutebrowser
# mkdir ~/.config/qutebrowser/bookmarks
# ln -s `pwd`/config/qutebrowser/config.py ~/.config/qutebrowser/config.py
# ln -s `pwd`/config/qutebrowser/bookmarks/urls ~/.config/qutebrowser/bookmarks/urls
# # Set Newsboat
# rm -fr ~/.config/newsboat
# ln -s `pwd`/config/newsboat ~/.config/newsboat
# Setup mutt
echo "Setup mutt"
echo "Make sure you generate an oauth2 file - ./mutt_oauth2.py oauth2 --verbose --authorize"
rm -fr ~/.mutt
ln -s `pwd`/mutt ~/.mutt

BIN
mpd/database Normal file

Binary file not shown.

16
mpd/mpd.conf Normal file
View File

@ -0,0 +1,16 @@
# The music directory is by default the XDG directory, uncomment to amend and choose a different directory
music_directory "/mnt/nfs/music"
playlist_directory "/mnt/nfs/mucis/playlists"
auto_update "yes"
bind_to_address "127.0.0.1"
restore_paused "yes"
max_output_buffer_size "16384"
audio_output {
type "pipewire"
name "PipeWire Sound Server"
}

View File

@ -45,7 +45,7 @@ import readline
# encryption and decryption pipes you prefer. They should read from standard
# input and write to standard output. The example values here invoke GPG,
# although won't work until an appropriate identity appears in the first line.
ENCRYPTION_PIPE = ['gpg', '--encrypt', '--recipient', 'Comprofix Oauth2']
ENCRYPTION_PIPE = ['gpg', '--encrypt', '--recipient', '69D1B6909E78A7F20526AD571EC54A8408667FA6']
DECRYPTION_PIPE = ['gpg', '--decrypt']
registrations = {
@ -76,7 +76,7 @@ registrations = {
'https://outlook.office.com/POP.AccessAsUser.All '
'https://outlook.office.com/SMTP.Send'),
'client_id': '08162f7c-0fd2-4200-a84a-f25a4db0b584',
'client_secret': 'TxRBilcHdC6WGBee]fs?QR:SJ8nI[g82'
'client_secret': 'TxRBilcHdC6WGBee]fs?QR:SJ8nI[g82',
},
}

View File

@ -13,6 +13,7 @@ set sort_aux = reverse-last-date-received
#set sort_aux = reverse-date-received
set smart_wrap
set signature=$HOME/.mutt/signature
set sig_on_top = yes
#alternative_order text/plain test text/html
@ -26,6 +27,7 @@ set sidebar_width = 23
#set sidebar_delim = '|'
set sidebar_divider_char = '|'
set sidebar_sort_method = 'path'
#set sidebar_new_mail_only = yes
set sidebar_short_path = yes

View File

@ -37,8 +37,9 @@ fi
#xterm -geometry 80x50+494+51 &
#xterm -geometry 80x20+494-0 &
#exec xterm -geometry 80x66+0+0 -name login
xrandr --output HDMI-0 --mode 1920x1080 --pos 0x0 --rotate normal --output DP-0 --primary --mode 1920x1080 --pos 1920x0 --rotate normal --output DP-1 --off --output HDMI-1 --off --output DP-2 --mode 1920x1080 --pos 3840x0 --rotate normal --output DP-3 --off --output None-1-1 --off
#xrandr --output HDMI-0 --mode 1920x1080 --pos 0x0 --rotate normal --output DP-0 --primary --mode 1920x1080 --pos 1920x0 --rotate normal --output DP-1 --off --output HDMI-1 --off --output DP-2 --mode 1920x1080 --pos 3840x0 --rotate normal --output DP-3 --off --output None-1-1 --off
#exec awesome
export XDG_XSESSION_TYPE=x11
export XDG_BACKEND=x11
exec awesome > ~/.xsession.log 2>&1
#export XDG_XSESSION_TYPE=x11
#export XDG_BACKEND=x11
#exec awesome > ~/.xsession.log 2>&1
#cinnamon

1
zsh/dracula Submodule

Submodule zsh/dracula added at 75ea3f5e10

View File

@ -56,6 +56,8 @@ plugins=(git svn)
# User configuration
export PATH="/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/bin/:${PATH}"
export GEM_HOME="$(ruby -e 'puts Gem.user_dir')"
export PATH="$PATH:$GEM_HOME/bin"
# export MANPATH="/usr/local/man:$MANPATH"
source $ZSH/oh-my-zsh.sh
@ -98,7 +100,7 @@ if [ -f /usr/bin/lsb_release ]; then
fi
if [[ $DISTRO = 'Debian' ]]; then
alias archey='screenfetch'
alias archey='neofetch'
fi
# Fun / Games
@ -168,3 +170,5 @@ alias ST='speedtest-cli'
alias mutt='TERM=xterm-256color; neomutt'
#alias UM='imapfilter; offlineimap'
alias home='ssh -p 2222 moe@home.comprofix.com'
eval $(keychain --eval --quiet)