Arch Specific Files

This commit is contained in:
Price Hiller 2022-01-22 09:29:08 -06:00
parent 77c9bffc83
commit d905de0133
19 changed files with 297 additions and 9 deletions

BIN
.config/dconf/user Normal file

Binary file not shown.

49
.config/i3/config Normal file
View File

@ -0,0 +1,49 @@
# Modifier key, set to meta by default
set $mod Mod4
# This file has been auto-generated by i3-config-wizard(1).
# It will not be overwritten, so edit it as you like.
#
# Should you change your keyboard layout some time, delete
# this file and re-run i3-config-wizard(1).
#
# i3 config file (v4)
#
# Please see https://i3wm.org/docs/userguide.html for a complete reference!
# Font for window titles. Will also be used by the bar unless a different font
# is used in the bar {} block below.
font pango:MesloLGS NF 10
# This font is widely installed, provides lots of unicode glyphs, right-to-left
# text rendering and scalability on retina/hidpi displays (thanks to pango).
#font pango:DejaVu Sans Mono 8
# Start XDG autostart .desktop files using dex. See also
# https://wiki.archlinux.org/index.php/XDG_Autostart
exec --no-startup-id dex --autostart --environment i3
# The combination of xss-lock, nm-applet and pactl is a popular choice, so
# they are included here as an example. Modify as you see fit.
# xss-lock grabs a logind suspend inhibit lock and will use i3lock to lock the
# screen before suspend. Use loginctl lock-session to lock your screen.
exec --no-startup-id xss-lock --transfer-sleep-lock -- i3lock --nofork
# NetworkManager is the most popular way to manage wireless networks on Linux,
# and nm-applet is a desktop environment-independent system tray GUI for it.
exec --no-startup-id nm-applet
# Use Mouse+$mod to drag floating windows to their wanted position
floating_modifier $mod
# Start i3bar to display a workspace bar (plus the system information i3status
# finds out, if available)
bar {
status_command i3status
}
# Include Extra Configuration Files
include ~/.config/i3/config.d/*.conf

View File

@ -0,0 +1,8 @@
### GLOBAL ###
for_window [class="^.*"] border pixel 2
gaps inner 15
gaps outer 15
### BINDINGS ###
bindsym $mod+z gaps outer current plus 5
bindsym ctrl+$mod+z gaps outer current minus 5

View File

@ -0,0 +1,57 @@
# start a terminal
bindsym $mod+Return exec i3-sensible-terminal
# kill focused window
bindsym $mod+ctrl+q kill
# start dmenu (a program launcher)
bindsym $mod+d exec --no-startup-id dmenu_run
# A more modern dmenu replacement is rofi:
# bindcode $mod+40 exec "rofi -modi drun,run -show drun"
# There also is i3-dmenu-desktop which only displays applications shipping a
# .desktop file. It is a wrapper around dmenu, so you need that installed.
# bindcode $mod+40 exec --no-startup-id i3-dmenu-desktop
# change focus
bindsym $mod+h focus left
bindsym $mod+j focus down
bindsym $mod+k focus up
bindsym $mod+l focus right
# alternatively, you can use the cursor keys:
bindsym $mod+Left focus left
bindsym $mod+Down focus down
bindsym $mod+Up focus up
bindsym $mod+Right focus right
# move focused window
bindsym $mod+ctrl+h move left
bindsym $mod+ctrl+j move down
bindsym $mod+ctrl+k move up
bindsym $mod+ctrl+l move right
# alternatively, you can use the cursor keys:
bindsym $mod+ctrl+Left move left
bindsym $mod+ctrl+Down move down
bindsym $mod+ctrl+Up move up
bindsym $mod+ctrl+Right move right
# enter fullscreen mode for the focused container
bindsym $mod+f fullscreen toggle
# change container layout (stacked, tabbed, toggle split)
bindsym $mod+s layout stacking
bindsym $mod+w layout tabbed
bindsym $mod+e layout toggle split
# toggle tiling / floating
bindsym $mod+Ctrl+space floating toggle
# change focus between tiling / floating windows
bindsym $mod+space focus mode_toggle
# focus the parent container
bindsym $mod+a focus parent
# exit i3 (logs you out of your X session)
bindsym $mod+ctrl+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -B 'Yes, exit i3' 'i3-msg exit'"

View File

@ -0,0 +1,25 @@
mode "resize" {
# These bindings trigger as soon as you enter the resize mode
# Pressing left will shrink the windows width.
# Pressing right will grow the windows width.
# Pressing up will shrink the windows height.
# Pressing down will grow the windows height.
bindsym h resize shrink width 10 px or 10 ppt
bindsym j resize grow height 10 px or 10 ppt
bindsym k resize shrink height 10 px or 10 ppt
bindsym l resize grow width 10 px or 10 ppt
# same bindings, but for the arrow keys
bindsym Left resize shrink width 10 px or 10 ppt
bindsym Down resize grow height 10 px or 10 ppt
bindsym Up resize shrink height 10 px or 10 ppt
bindsym Right resize grow width 10 px or 10 ppt
# back to normal: Enter or Escape or $mod+r
bindsym Return mode "default"
bindsym Escape mode "default"
bindsym $mod+r mode "default"
}
bindsym $mod+r mode "resize"

View File

@ -0,0 +1,37 @@
# Define names for default workspaces for which we configure key bindings later on.
# We use variables to avoid repeating the names in multiple places.
set $ws1 "1"
set $ws2 "2"
set $ws3 "3"
set $ws4 "4"
set $ws5 "5"
set $ws6 "6"
set $ws7 "7"
set $ws8 "8"
set $ws9 "9"
set $ws10 "10"
# switch to workspace
bindsym $mod+1 workspace number $ws1
bindsym $mod+2 workspace number $ws2
bindsym $mod+3 workspace number $ws3
bindsym $mod+4 workspace number $ws4
bindsym $mod+5 workspace number $ws5
bindsym $mod+6 workspace number $ws6
bindsym $mod+7 workspace number $ws7
bindsym $mod+8 workspace number $ws8
bindsym $mod+9 workspace number $ws9
bindsym $mod+0 workspace number $ws10
# move focused container to workspace
bindsym $mod+ctrl+1 move container to workspace number $ws1
bindsym $mod+ctrl+2 move container to workspace number $ws2
bindsym $mod+ctrl+3 move container to workspace number $ws3
bindsym $mod+ctrl+4 move container to workspace number $ws4
bindsym $mod+ctrl+5 move container to workspace number $ws5
bindsym $mod+ctrl+6 move container to workspace number $ws6
bindsym $mod+ctrl+7 move container to workspace number $ws7
bindsym $mod+ctrl+8 move container to workspace number $ws8
bindsym $mod+ctrl+9 move container to workspace number $ws9
bindsym $mod+ctrl+0 move container to workspace number $ws10

75
.config/i3/i3blocks.conf Normal file
View File

@ -0,0 +1,75 @@
separator_block_width=14
[ipv4]
label=ipv4:
command= echo "$(ip addr | grep enp2s0 | grep inet | awk '{print $2}')"
interval=60
color=#00ff00
[ipv6]
label=ipv6:
command= echo "$(ip addr | grep inet6 | awk 'FNR == 2 {print $2}')"
interval=60
color=#00ff00
[disk-root]
label=:
command=/usr/lib64/i3blocks/disk /
interval=30
color=#1793D1
#[disk-home]
#label=:
#command=/usr/lib64/i3blocks/disk $HOME
#interval=30
#color=#859900
#[ssid]
#label=
#command=echo "$(iw dev wlo1 link | grep SSID | cut -d " " -f 2-)"
#color=#d33682
#interval=5
#[wireless]
#instance=wlo1
#command=/usr/lib64/i3blocks/network
#color=#00FF00
#interval=10
#[strength]
#command=echo "$(iw dev wlo1 link | grep signal | cut -d " " -f 2-)"
#interval=10
#color=#cb4b16
[temp]
label=:
command=echo "$(sensors it8721-isa-0290 | grep temp1 | awk '{print $2}')"
interval=10
color=#b58900
#[battery]
#command=~/.i3/battery BAT0
#interval=30
[load]
label=:
command=/usr/lib64/i3blocks/load_average
interval=10
color=#6c71c4
[volume]
label=:
command=/usr/lib64/i3blocks/volume
interval=2
signal=10
color=#d70a53
[time]
label=:
command=date '+%a %m-%d-%y %l:%M:%S %p'
interval=5
color=#50C878

View File

@ -18,12 +18,12 @@
#: families that have many weight variants like Book, Medium, Thick,
#: etc. For example::
#: font_family Operator Mono Book
#: bold_font Operator Mono Medium
#: italic_font Operator Mono Book Italic
#: bold_italic_font Operator Mono Medium Italic
font_family MesloLGS NF
bold_font auto
italic_font auto
bold_italic_font auto
font_size 13.0
font_size 10.0
#: Font size (in pts)
@ -1098,7 +1098,7 @@ macos_quit_when_last_window_closed yes
#: resizable on macOS. Changing this setting by reloading the config
#: will only affect newly created windows.
macos_thicken_font .35
# macos_thicken_font .35
#: Draw an extra border around the font with the given width, to
#: increase legibility at small font sizes. For example, a value of

8
.config/pavucontrol.ini Normal file
View File

@ -0,0 +1,8 @@
[window]
width=1276
height=1400
sinkInputType=1
sourceOutputType=1
sinkType=0
sourceType=1
showVolumeMeters=1

View File

@ -0,0 +1 @@
alsa_output.pci-0000_31_00.4.HiFi__hw_Generic__sink

BIN
.config/pulse/cookie Normal file

Binary file not shown.

6
.config/rofi/config.rasi Normal file
View File

@ -0,0 +1,6 @@
configuration {
modi: "window,drun,ssh,combi";
font: "hack 10";
combi-modi: "window,drun,ssh";
}
@theme "solarized"

15
.config/user-dirs.dirs Normal file
View File

@ -0,0 +1,15 @@
# This file is written by xdg-user-dirs-update
# If you want to change or add directories, just edit the line you're
# interested in. All local changes will be retained on the next run.
# Format is XDG_xxx_DIR="$HOME/yyy", where yyy is a shell-escaped
# homedir-relative path, or XDG_xxx_DIR="/yyy", where /yyy is an
# absolute path. No other format is supported.
#
XDG_DESKTOP_DIR="$HOME/Desktop"
XDG_DOWNLOAD_DIR="$HOME/Downloads"
XDG_TEMPLATES_DIR="$HOME/Templates"
XDG_PUBLICSHARE_DIR="$HOME/Public"
XDG_DOCUMENTS_DIR="$HOME/Documents"
XDG_MUSIC_DIR="$HOME/Music"
XDG_PICTURES_DIR="$HOME/Pictures"
XDG_VIDEOS_DIR="$HOME/Videos"

1
.config/user-dirs.locale Normal file
View File

@ -0,0 +1 @@
en_US

View File

@ -1,10 +1,15 @@
#!/bin/bash
#!/bin/zsh
# shellcheck source=./.zstyle
source ~/.zstyle
. "$HOME/.cargo/env"
### Screen Layout ###
if [[ -r "${HOME}/.screenlayout/default.sh" ]]; then
source "${HOME}/.screenlayout/default.sh"
fi
### Pathing ###
export PATH="${HOME}/.bin:${PATH}"
@ -19,8 +24,8 @@ if [[ "${OSTYPE}" = "darwin"* ]]; then
fi
### OPTS ###
setopt extendedglob
setopt nullglob
# setopt extendedglob
# setopt nullglob
### Environment Variables ###