1
0

better clone, adding a couple things

This commit is contained in:
Deven Blake 2021-03-28 18:25:37 -04:00
parent 9e70ae4b66
commit 49bd9e9c90
4 changed files with 82 additions and 31 deletions

View File

@ -0,0 +1,66 @@
#!/bin/sh
control + shift + Escape
uxterm -e htop
mod1 + d
dmenu_run
# cred 4 https://github.com/patrickbolle/dotfiles/
mod1 + equal
light -A 5
mod1 + shift + equal
light -A 1
mod1 + minus
light -U 5
mod1 + shift + minus
light -U 1
mod1 + F4
i3-msg kill
mod1 + {h,j,k,l}
i3-msg focus {left,down,up,right}
mod1 + f
i3-msg fullscreen toggle
mod1 + F11
i3-msg fullscreen toggle
mod1 + {s,w}
i3-msg layout {stacking,tabbed}
mod1 + e
i3-msg layout toggle split
mod1 + space
i3-msg focus mode_toggle
mod1 + shift + space
i3-msg floating toggle
mod1 + shift + {h,j,k,l}
i3-msg move {left,down,up,right}
mod1 + shift + e
[ "Yes." = $(printf "No.\nYes." | dmenu -p "You pressed the exit shortcut. Do you really want to exit? This will end your X session.") ] && i3-msg exit
mod1 + m
pactl -- set-sink-mute @DEFAULT_SINK@ toggle
mod1 + shift + m
pactl set-source-mute @DEFAULT_SOURCE@ toggle
mod1 + Return
uxterm
Print
scrot
XF86AudioMicMute
pactl set-source-mute @DEFAULT_SOURCE@ toggle
XF86AudioMute
pactl -- set-sink-mute @DEFAULT_SINK@ toggle
XF86Audio{Lower,Raise}Volume
pactl set-sink-volume @DEFAULT_SINK@ {"-5%","+5%"}
XF86Audio{Play,Pause,Next,Prev}
playerctl {play,pause,next,previous}
XF86Launch1
uxterm

3
dotfiles-old/.vimrc Normal file
View File

@ -0,0 +1,3 @@
set nowrap
set relativenumber
syntax on

View File

@ -2,38 +2,13 @@
Pretty config stuff.
![This is a screenshot of my desktop.](https://web.archive.org/web/20200926155417if_/https://i.redd.it/jwhsmokcfcp51.png)
For this configuration, posted on r/unixporn on 2020-09-25, refer to the state of the repository around [2020-09-26](https://github.com/devenblake/dotfiles/tree/7d0a35b6d06c2bb46990087c6a6c4b2a2685d49c) or so.
## applications shown (and some unshown)
My setup has changed drastically since then.
### display manager
I use [ly](https://github.com/nullgemm/ly).
My shell aliases are in `.aliases` and my general shell configuration is in `.env`
I use `dash` as my shell. I sort of miss tab-completion but it's worth it so I know everything I do is reproducible.
### file manager
[Bash](https://www.gnu.org/software/bash/).
Refer to `scripts/` for scripts that help me keep everything organized, except for `clone.sh` (which clones all my dotfiles to `~/src/dotfiles/`, where I keep my local copy of this repo).
My shell aliases are in `.aliases` and my general shell configuration is in `.profile`.
I don't know if my configuration is perfect but it works.
### status bar
[i3status](https://i3wm.org/i3status/). The configuration file is at `.config/i3status/config` in this repo.
A caveat is that the interface names in the i3status configuration (`wlan0` and `enp0s25`) are specific to my system. A kinda ugly hack but I didn't expect to get [300 upvotes on Reddit](https://www.reddit.com/r/unixporn/comments/izpvwp/i3gaps_basic_but_it_works/) for my desktop!
### wallpaper
[This 1920x1080 Asuka edit](https://archive.org/details/asuka-98).
### winamp skin
This [Sailor Moon themed skin](https://archive.org/details/winampskin_Sailor_Moon_Gang) on [Audacious](https://audacious-media-player.org/).
### window manager
[i3-gaps](https://github.com/Airblader/i3). The configuration file is at `.config/i3/config`. The configuration has the wallpaper at `/home/trinity/Pictures/Wallpapers/Asuka\ 98.jpg`, this may need to be changed.
### xterm
My xterm config is at .Xresources. I haven't had good luck at getting fonts to work with it but [unscii](http://pelulamu.net/unscii/)-16-full works great.
I use
[this terminal color theme](https://www.reddit.com/r/unixporn/comments/hjzw5f/oc_qualitative_color_palette_for_ansi_terminal/)
([here's a webarchive link just in case](https://web.archive.org/web/20200926160802/https://www.reddit.com/r/unixporn/comments/hjzw5f/oc_qualitative_color_palette_for_ansi_terminal/fwpludj/?context=3))
because it's pretty to me.
## get the look
Refer to the scripts/ directory.
A list of all the packages I use is available in `scripts/packages/`, organized by repository availability.

7
dotfiles-old/clone.sh Normal file → Executable file
View File

@ -1,10 +1,17 @@
#!/bin/sh
[ "$(printf "Abort.\nContinue.\n" | dmenu -p "Current path is '$(pwd)'. Continue?")" = "Continue." ] || return || exit
set -x
cp $HOME/.Xresources ./
cp $HOME/.aliases ./
cp $HOME/.bashrc ./
cp $HOME/.env ./
cp $HOME/.profile ./
cp $HOME/.vimrc ./
mkdir -p ./.config/
cp $HOME/.config/ytfeed-config.txt ./.config/
mkdir -p ./.config/i3
cp $HOME/.config/i3/config ./.config/i3/config
mkdir -p ./.config/i3status
cp $HOME/.config/i3status/config ./.config/i3status/config
mkdir -p ./.config/sxhkd
cp $HOME/.config/sxhkd/sxhkdrc ./.config/sxhkd/sxhkdrc