Compare commits

..

6 Commits

14 changed files with 50 additions and 198 deletions

1
.gitignore vendored
View File

@ -1 +1,2 @@
/music-normalize/venv/
/music-normalize/*.log

View File

@ -2,7 +2,7 @@
! https://terminal.sexy
! ------------------------------------------------------------------------------
!per-device dpi insert
!Xcursor.theme: Breeze_Snow
Xcursor.theme: capitaine-cursors-light

View File

@ -56,8 +56,8 @@ set $right l
# setting variables for later use
# use xrandr and/or arandr to know the names of your monitors
exec --no-startup-id xrandr --output eDP1 --primary --mode 1920x1080 --pos 0x0 --rotate normal --output HDMI1 --off --output VIRTUAL1 --off
exec --no-startup-id xrandr --output HDMI2 --right-of HDMI1 --auto
#exec --no-startup-id xrandr --output eDP1 --primary --mode 1920x1080 --pos 0x0 --rotate normal --output HDMI1 --off --output VIRTUAL1 --off
#exec --no-startup-id xrandr --output HDMI2 --right-of HDMI1 --auto
# my current setup

View File

@ -19,8 +19,6 @@ include-file = /home/$USER/.config/polybar/modules/i3.ini
include-file = /home/$USER/.config/polybar/modules/updates.ini
include-file = /home/$USER/.config/polybar/modules/xwindow.ini
include-file = /home/$USER/.config/polybar/modules/date.ini
#include-file = /home/$USER/.config/polybar/modules/volume.ini
#include-file = /home/$USER/.config/polybar/modules/weather.ini
include-file = /home/$USER/.config/polybar/modules/battery.ini
@ -46,14 +44,15 @@ compositing-border = over
[bar/mainbar-i3]
;https://github.com/jaagr/polybar/wiki/Configuration
;per-device dpi insert
monitor = ${env:MONITOR}
;monitor-fallback = HDMI1
monitor-strict = false
override-redirect = false
bottom = true
fixed-center = true
width = 100%
height = 20
height = 2%
background = ${colors.background}
foreground = ${colors.foreground}
@ -63,33 +62,17 @@ line-size = 2
line-color = #000000
;https://github.com/jaagr/polybar/wiki/Fonts
font-0 = "Noto Sans:size=10;0"
font-1 = "FontAwesome:size=10;0"
font-2 = "Noto Sans CJK JP:size=10;0"
font-3 = "Noto Sans Mono:size=10;0"
font-0 = Noto Sans:size=10;0
font-1 = FontAwesome:size=10;0
font-2 = Noto Sans CJK JP:size=10;0
font-3 = Noto Sans Mono:size=10;0
font-4 = Iosevka Nerd Font:style=Medium:size=16;3
font-5 = Iosevka:style=Regular:size=16;3
; Text Fonts
;font-0 = Iosevka Nerd Font:style=Medium:size=10;3
; Icons Fonts
;font-1 = icomoon\-feather:style=Medium:size=10;3
; Powerline Glyphs
;font-2 = Iosevka Nerd Font:style=Medium:size=16;3
; Larger font size for bar fill icons
;font-3 = Iosevka Nerd Font:style=Medium:size=12;3
; Smaller font size for shorter spaces
;font-4 = Iosevka Nerd Font:style=Medium:size=7;3
modules-left = full sysmenu full i3 full xwindow full
modules-center = full date full
modules-right = full player-mpris-tail full battery full updates-pacman-aurhelper full dunst-notification-display full
;modules-left = full sysmenu full i3 full left-top right-bot full xwindow full left-top
;modules-center = right-bot full date full left-bot
;modules-right = right-top full player-mpris-tail full left-bot right-top full battery full left-bot right-top full updates-pacman-aurhelper full left-bot right-top
tray-detached = false
tray-offset-x = 0
tray-offset-y = 0

View File

@ -21,8 +21,8 @@
;; font string. You generally only need these two:
;; (setq doom-font (font-spec :family "monospace" :size 12 :weight 'semi-light)
;; doom-variable-pitch-font (font-spec :family "sans" :size 13))
(setq doom-font (font-spec :family "monospace" :size 14 :weight 'regular)
doom-variable-pitch-font (font-spec :family "sans" :size 15))
(setq doom-font (font-spec :family "monospace" :size 11.0 :weight 'regular)
doom-variable-pitch-font (font-spec :family "sans" :size 12.0))
;; There are two ways to load a theme. Both assume the theme is installed and
;; available. You can either set `doom-theme' or manually load a theme with the

View File

@ -13,4 +13,5 @@ if [ -d /etc/X11/xinit/xinitrc.d ]; then
unset f
fi
xrdb -merge "$HOME/.Xresources"
exec i3 -c "$HOME/.config/i3/config"

View File

@ -0,0 +1,4 @@
Section "Monitor"
Identifier "DisplayPort-1"
DisplaySize 598 336 # In millimeters
EndSection

View File

@ -0,0 +1,6 @@
Section "OutputClass"
Identifier "AMD"
MatchDriver "amdgpu"
Driver "amdgpu"
Option "VariableRefresh" "true"
EndSection

View File

@ -0,0 +1,7 @@
This host requires additional considerations, as it is using a 1440p display.
The following parts are modified:
- Polybar (.config/polybar/i3config.ini)
- Xresources (.Xresources)
- X11 (/etc/X11/xorg.conf.d/ _new files_)

View File

@ -0,0 +1 @@
dpi = 109

View File

@ -0,0 +1 @@
Xft.dpi: 109

View File

@ -290,6 +290,23 @@ sudo cp -r ~/configs/arch-config/usr /
# copy xresources
cp ~/configs/arch-config/.Xresources ~/
##############################
##### Per Device Settings ####
##############################
# lupusregina
if [ "$(hostname)" == "lupusregina" ]; then
echo "Applying overrides for $(hostname)"
# polybar dpi
polybardpi="$(cat ~/configs/arch-config/per-device/lupusregina/polybar-dpi-override.ini)"
awk -v polybardpi="${polybardpi}" '/;per-device dpi insert/{print;print "polybardpi";next}1' ~/.config/polybar/i3config.ini
# xresources dpi
xftdpi="$(cat ~/configs/arch-config/per-device/lupusregina/xresources-dpi-override)"
awk -v xftdpi="${xftdpi}" '/!per-device dpi insert/{print;print "xftdpi";next}1' ~/.Xresources
sudo cp ~/configs/arch-config/per-device/lupusregina/10-monitor.conf /etc/X11/xorg.conf.d/
sudo cp ~/configs/arch-config/per-device/lupusregina/20-amdgpu.conf /etc/X11/xorg.conf.d/
fi
####################
###### Theme ######
####################

163
easyffmpeg/.gitignore vendored
View File

@ -1,163 +0,0 @@
# ---> Python
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class
# C extensions
*.so
# Distribution / packaging
.Python
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
wheels/
share/python-wheels/
*.egg-info/
.installed.cfg
*.egg
MANIFEST
# PyInstaller
# Usually these files are written by a python script from a template
# before PyInstaller builds the exe, so as to inject date/other infos into it.
*.manifest
*.spec
# Installer logs
pip-log.txt
pip-delete-this-directory.txt
# Unit test / coverage reports
htmlcov/
.tox/
.nox/
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
*.cover
*.py,cover
.hypothesis/
.pytest_cache/
cover/
# Translations
*.mo
*.pot
# Django stuff:
*.log
local_settings.py
db.sqlite3
db.sqlite3-journal
# Flask stuff:
instance/
.webassets-cache
# Scrapy stuff:
.scrapy
# Sphinx documentation
docs/_build/
# PyBuilder
.pybuilder/
target/
# Jupyter Notebook
.ipynb_checkpoints
# IPython
profile_default/
ipython_config.py
# pyenv
# For a library or package, you might want to ignore these files since the code is
# intended to run in multiple environments; otherwise, check them in:
# .python-version
# pipenv
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
# However, in case of collaboration, if having platform-specific dependencies or dependencies
# having no cross-platform support, pipenv may install dependencies that don't work, or not
# install all needed dependencies.
#Pipfile.lock
# poetry
# Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
# This is especially recommended for binary packages to ensure reproducibility, and is more
# commonly ignored for libraries.
# https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
#poetry.lock
# pdm
# Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
#pdm.lock
# pdm stores project-wide configurations in .pdm.toml, but it is recommended to not include it
# in version control.
# https://pdm.fming.dev/#use-with-ide
.pdm.toml
# PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
__pypackages__/
# Celery stuff
celerybeat-schedule
celerybeat.pid
# SageMath parsed files
*.sage.py
# Environments
.env
.venv
env/
venv/
ENV/
env.bak/
venv.bak/
# Spyder project settings
.spyderproject
.spyproject
# Rope project settings
.ropeproject
# mkdocs documentation
/site
# mypy
.mypy_cache/
.dmypy.json
dmypy.json
# Pyre type checker
.pyre/
# pytype static type analyzer
.pytype/
# Cython debug symbols
cython_debug/
# PyCharm
# JetBrains specific template is maintained in a separate JetBrains.gitignore that can
# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
# and can be added to the global gitignore or merged into this file. For a more nuclear
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
#.idea/
README.md.tmp

View File

@ -1,6 +0,0 @@
.DS_Store
.idea
*.log
tmp/