usr

Modulate your userpace into POSIX-compliant shell scripts!
git clone git://clone.theohenson.com/usr.git
Log | Files | Refs | README

commit 7b74e16b82ffa2324524f803230864464c245690
parent 11eca7d6c2b465937d8bf72adccc91aaf6e4671a
Author: Theo Henson <[email protected]>
Date:   Wed, 18 Aug 2021 15:41:27 -0400

Fix font, apt, firefox, monitors, picom

Diffstat:
Mhome/.config/X11/Xresources | 2+-
Mhome/.config/picom/picom.conf | 2+-
Dhome/.mozilla/firefox/profiles.ini | 5-----
Mhome/.xinitrc | 6+++---
Mhome/src/suk/dmenu/config.h | 2+-
Mmodules/theo_apt.mod.sh | 12++++++------
Mmodules/theo_dotfiles.mod.sh | 2+-
7 files changed, 13 insertions(+), 18 deletions(-)

diff --git a/home/.config/X11/Xresources b/home/.config/X11/Xresources @@ -23,7 +23,7 @@ Xcursor.size: 12 *color14: #8ec07c *color15: #ebdbb2 -URxvt.font: xft:Fira Mono:size=10 +URxvt.font: xft:Fira Code:size=10 URxvt.scrollBar: false URxvt.cursorColor: #83a598 URxvt.internalBorder: 16 diff --git a/home/.config/picom/picom.conf b/home/.config/picom/picom.conf @@ -110,7 +110,7 @@ active-opacity = 1; frame-opacity = 1; inactive-opacity-override = true; opacity-rule = [ - "100:[email protected] = 'Zathura'", + "100:[email protected] = 'Zathura'" ]; # Dim inactive windows. (0.0 - 1.0) #inactive-dim = 0.2; diff --git a/home/.mozilla/firefox/profiles.ini b/home/.mozilla/firefox/profiles.ini @@ -1,5 +0,0 @@ -[Profile0] -Name=custom-profile -IsRelative=1 -Path=custom-profile -Default=1 diff --git a/home/.xinitrc b/home/.xinitrc @@ -7,9 +7,9 @@ runif() { } # configure x -if [ "$(hostname)" = "art" ] ; then - xrandr --output HDMI-1 --primary --mode 1920x1080 --pos 0x840 --rotate normal \ - --output DP-3 --mode 1920x1080 --pos 1920x0 --rotate left --gamma 0.75 +if [ "$(hostname)" = "talos" ] ; then + xrandr --output HDMI-A-0 --mode 1920x1080 --pos 0x840 --rotate normal \ + --output DisplayPort-2 --primary --mode 1920x1080 --pos 1920x0 --rotate left --gamma 0.8:0.8:0.8 fi xrdb -load "$XDG_CONFIG_HOME/X11/Xresources" setxkbmap -option caps:swapescape diff --git a/home/src/suk/dmenu/config.h b/home/src/suk/dmenu/config.h @@ -4,7 +4,7 @@ static int topbar = 1; /* -b option; if 0, dmenu appears at bottom */ /* -fn option overrides fonts[0]; default X11 font or font set */ static const char *fonts[] = { - "Fira Mono:size=10" + "Fira Code:size=9" }; static const char *prompt = NULL; /* -p option; prompt to the left of input field */ static const char *colors[SchemeLast][2] = { diff --git a/modules/theo_apt.mod.sh b/modules/theo_apt.mod.sh @@ -1,24 +1,24 @@ -theo_pacman_add() { +theo_apt_add() { printf "theo_apt: installing packages\n" - sudo pacman -S --needed --noconfirm --quiet libxinerama-dev libxft-dev libfontconfig-dev make gcc \ + sudo apt install libxinerama-dev libxft-dev libfontconfig-dev make gcc \ neovim vim curl wget git dunst npm sxiv lxpolkit fish xwallpaper picom sxhkd maim \ xinit fzf pcmanfm zathura tmux newsboat mpv pulseaudio pulsemixer gpgconf gpg-agent \ alsa-utils papirus-icon-theme ipython3 firefox-esr fonts-firacode cargo } -theo_pacman_remove() { +theo_apt_remove() { printf "Nothing to do" } -theo_pacman_info() { +theo_apt_info() { printf "Installs a set of packages with apt that I (theo) like to have on most of my systems." } -theo_pacman_dirs() { +theo_apt_dirs() { printf "" } -theo_pacman_files() { +theo_apt_files() { printf "" } diff --git a/modules/theo_dotfiles.mod.sh b/modules/theo_dotfiles.mod.sh @@ -60,7 +60,7 @@ theo_dotfiles_files() { $CONFIG_DIR/picom/picom.conf $CONFIG_DIR/fish/config.fish $CONFIG_DIR/gtk-2.0/gtkrc-2.0 $CONFIG_DIR/fish/fish_variables $CONFIG_DIR/gtk-3.0/settings.ini $CONFIG_DIR/nvim/coc-settings.json $CONFIG_DIR/discocss/custom.css - $CONFIG_DIR/user-dirs.dirs $CONFIG_DIR/tmux/tmux.conf .mozilla/firefox/profiles.ini + $CONFIG_DIR/user-dirs.dirs $CONFIG_DIR/tmux/tmux.conf $DATA_DIR/gnupg/sshcontrol $DATA_DIR/gnupg/gpg-agent.conf $CONFIG_DIR/newsboat/urls .mozilla/firefox/custom-profile.tar.gz $DATA_DIR/themes/Mint-Y-Dark.tar.gz" }