init
2
README.md
Normal file
@@ -0,0 +1,2 @@
|
||||
# configuration
|
||||
## vault of my configs, fonts, etc
|
||||
13
dotfiles/.bashrc
Normal file
@@ -0,0 +1,13 @@
|
||||
#
|
||||
# ~/.bashrc
|
||||
#
|
||||
|
||||
# If not running interactively, don't do anything
|
||||
[[ $- != *i* ]] && return
|
||||
alias up='wg-quick up wg0'
|
||||
alias down='wg-quick down wg0'
|
||||
alias ls='ls --color=auto'
|
||||
alias grep='grep --color=auto'
|
||||
alias discup='sudo pacman -Syy discord'
|
||||
alias r="ranger"
|
||||
PS1='[\[\e[94;1m\]\u\[\e[0;94m\]@\[\e[94m\]\h\[\e[0m\]] \[\e[92m\]\w\n\[\e[0m\]> '
|
||||
3
dotfiles/.tmux.conf
Normal file
@@ -0,0 +1,3 @@
|
||||
setw -g mouse on
|
||||
unbind C-b
|
||||
set-option -g prefix C-Space
|
||||
4
dotfiles/.vimrc
Normal file
@@ -0,0 +1,4 @@
|
||||
set number
|
||||
syntax on
|
||||
filetype indent on
|
||||
set shiftwidth=4
|
||||
BIN
fonts/caskaydiacove/CaskaydiaCoveNerdFont-Bold.ttf
Normal file
BIN
fonts/caskaydiacove/CaskaydiaCoveNerdFont-BoldItalic.ttf
Normal file
BIN
fonts/caskaydiacove/CaskaydiaCoveNerdFont-ExtraLight.ttf
Normal file
BIN
fonts/caskaydiacove/CaskaydiaCoveNerdFont-ExtraLightItalic.ttf
Normal file
BIN
fonts/caskaydiacove/CaskaydiaCoveNerdFont-Italic.ttf
Normal file
BIN
fonts/caskaydiacove/CaskaydiaCoveNerdFont-Light.ttf
Normal file
BIN
fonts/caskaydiacove/CaskaydiaCoveNerdFont-LightItalic.ttf
Normal file
BIN
fonts/caskaydiacove/CaskaydiaCoveNerdFont-Regular.ttf
Normal file
BIN
fonts/caskaydiacove/CaskaydiaCoveNerdFont-SemiBold.ttf
Normal file
BIN
fonts/caskaydiacove/CaskaydiaCoveNerdFont-SemiBoldItalic.ttf
Normal file
BIN
fonts/caskaydiacove/CaskaydiaCoveNerdFont-SemiLight.ttf
Normal file
BIN
fonts/caskaydiacove/CaskaydiaCoveNerdFont-SemiLightItalic.ttf
Normal file
BIN
fonts/caskaydiacove/CaskaydiaCoveNerdFontMono-Bold.ttf
Normal file
BIN
fonts/caskaydiacove/CaskaydiaCoveNerdFontMono-BoldItalic.ttf
Normal file
BIN
fonts/caskaydiacove/CaskaydiaCoveNerdFontMono-ExtraLight.ttf
Normal file
BIN
fonts/caskaydiacove/CaskaydiaCoveNerdFontMono-Italic.ttf
Normal file
BIN
fonts/caskaydiacove/CaskaydiaCoveNerdFontMono-Light.ttf
Normal file
BIN
fonts/caskaydiacove/CaskaydiaCoveNerdFontMono-LightItalic.ttf
Normal file
BIN
fonts/caskaydiacove/CaskaydiaCoveNerdFontMono-Regular.ttf
Normal file
BIN
fonts/caskaydiacove/CaskaydiaCoveNerdFontMono-SemiBold.ttf
Normal file
BIN
fonts/caskaydiacove/CaskaydiaCoveNerdFontMono-SemiBoldItalic.ttf
Normal file
BIN
fonts/caskaydiacove/CaskaydiaCoveNerdFontMono-SemiLight.ttf
Normal file
BIN
fonts/caskaydiacove/CaskaydiaCoveNerdFontPropo-Bold.ttf
Normal file
BIN
fonts/caskaydiacove/CaskaydiaCoveNerdFontPropo-BoldItalic.ttf
Normal file
BIN
fonts/caskaydiacove/CaskaydiaCoveNerdFontPropo-ExtraLight.ttf
Normal file
BIN
fonts/caskaydiacove/CaskaydiaCoveNerdFontPropo-Italic.ttf
Normal file
BIN
fonts/caskaydiacove/CaskaydiaCoveNerdFontPropo-Light.ttf
Normal file
BIN
fonts/caskaydiacove/CaskaydiaCoveNerdFontPropo-LightItalic.ttf
Normal file
BIN
fonts/caskaydiacove/CaskaydiaCoveNerdFontPropo-Regular.ttf
Normal file
BIN
fonts/caskaydiacove/CaskaydiaCoveNerdFontPropo-SemiBold.ttf
Normal file
BIN
fonts/caskaydiacove/CaskaydiaCoveNerdFontPropo-SemiLight.ttf
Normal file
94
fonts/caskaydiacove/LICENSE
Normal file
@@ -0,0 +1,94 @@
|
||||
Copyright (c) 2019 - Present, Microsoft Corporation,
|
||||
with Reserved Font Name Cascadia Code.
|
||||
|
||||
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
||||
This license is copied below, and is also available with a FAQ at:
|
||||
http://scripts.sil.org/OFL
|
||||
|
||||
|
||||
-----------------------------------------------------------
|
||||
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
||||
-----------------------------------------------------------
|
||||
|
||||
PREAMBLE
|
||||
The goals of the Open Font License (OFL) are to stimulate worldwide
|
||||
development of collaborative font projects, to support the font creation
|
||||
efforts of academic and linguistic communities, and to provide a free and
|
||||
open framework in which fonts may be shared and improved in partnership
|
||||
with others.
|
||||
|
||||
The OFL allows the licensed fonts to be used, studied, modified and
|
||||
redistributed freely as long as they are not sold by themselves. The
|
||||
fonts, including any derivative works, can be bundled, embedded,
|
||||
redistributed and/or sold with any software provided that any reserved
|
||||
names are not used by derivative works. The fonts and derivatives,
|
||||
however, cannot be released under any other type of license. The
|
||||
requirement for fonts to remain under this license does not apply
|
||||
to any document created using the fonts or their derivatives.
|
||||
|
||||
DEFINITIONS
|
||||
"Font Software" refers to the set of files released by the Copyright
|
||||
Holder(s) under this license and clearly marked as such. This may
|
||||
include source files, build scripts and documentation.
|
||||
|
||||
"Reserved Font Name" refers to any names specified as such after the
|
||||
copyright statement(s).
|
||||
|
||||
"Original Version" refers to the collection of Font Software components as
|
||||
distributed by the Copyright Holder(s).
|
||||
|
||||
"Modified Version" refers to any derivative made by adding to, deleting,
|
||||
or substituting -- in part or in whole -- any of the components of the
|
||||
Original Version, by changing formats or by porting the Font Software to a
|
||||
new environment.
|
||||
|
||||
"Author" refers to any designer, engineer, programmer, technical
|
||||
writer or other person who contributed to the Font Software.
|
||||
|
||||
PERMISSION & CONDITIONS
|
||||
Permission is hereby granted, free of charge, to any person obtaining
|
||||
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
||||
redistribute, and sell modified and unmodified copies of the Font
|
||||
Software, subject to the following conditions:
|
||||
|
||||
1) Neither the Font Software nor any of its individual components,
|
||||
in Original or Modified Versions, may be sold by itself.
|
||||
|
||||
2) Original or Modified Versions of the Font Software may be bundled,
|
||||
redistributed and/or sold with any software, provided that each copy
|
||||
contains the above copyright notice and this license. These can be
|
||||
included either as stand-alone text files, human-readable headers or
|
||||
in the appropriate machine-readable metadata fields within text or
|
||||
binary files as long as those fields can be easily viewed by the user.
|
||||
|
||||
3) No Modified Version of the Font Software may use the Reserved Font
|
||||
Name(s) unless explicit written permission is granted by the corresponding
|
||||
Copyright Holder. This restriction only applies to the primary font name as
|
||||
presented to the users.
|
||||
|
||||
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
||||
Software shall not be used to promote, endorse or advertise any
|
||||
Modified Version, except to acknowledge the contribution(s) of the
|
||||
Copyright Holder(s) and the Author(s) or with their explicit written
|
||||
permission.
|
||||
|
||||
5) The Font Software, modified or unmodified, in part or in whole,
|
||||
must be distributed entirely under this license, and must not be
|
||||
distributed under any other license. The requirement for fonts to
|
||||
remain under this license does not apply to any document created
|
||||
using the Font Software.
|
||||
|
||||
TERMINATION
|
||||
This license becomes null and void if any of the above conditions are
|
||||
not met.
|
||||
|
||||
DISCLAIMER
|
||||
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
||||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
||||
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
||||
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
||||
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
||||
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
||||
OTHER DEALINGS IN THE FONT SOFTWARE.
|
||||
8
fonts/caskaydiacove/readme.md
Normal file
@@ -0,0 +1,8 @@
|
||||
|
||||
# Nerd Fonts
|
||||
|
||||
This is an archived font from a Nerd Fonts release.
|
||||
|
||||
For more information see:
|
||||
* https://github.com/ryanoasis/nerd-fonts/
|
||||
* https://github.com/ryanoasis/nerd-fonts/releases/latest/
|
||||
245
i3/nik-mini-pc/i3/config
Executable file
@@ -0,0 +1,245 @@
|
||||
# i3 config file (v4)
|
||||
#
|
||||
# Please see https://i3wm.org/docs/userguide.html for a complete reference!
|
||||
#
|
||||
# This config file uses keycodes (bindsym) and was written for the QWERTY
|
||||
# layout.
|
||||
#
|
||||
# To get a config file with the same key positions, but for your current
|
||||
# layout, use the i3-config-wizard
|
||||
#
|
||||
|
||||
# Font for window titles. Will also be used by the bar unless a different font
|
||||
# is used in the bar {} block below.
|
||||
|
||||
font pango:CaskaydiaCoveNFM 12
|
||||
|
||||
# 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 -e
|
||||
|
||||
# adjust volume with wpctl (wireplumber)
|
||||
bindsym XF86AudioRaiseVolume exec --no-startup-id wpctl set-volume @DEFAULT_SINK@ 5%+ && $refresh_i3status
|
||||
bindsym XF86AudioLowerVolume exec --no-startup-id wpctl set-volume @DEFAULT_SINK@ 5%- && $refresh_i3status
|
||||
bindsym XF86AudioMute exec --no-startup-id wpctl set-mute @DEFAULT_SINK@ toggle && $refresh_i3status
|
||||
|
||||
# keyboard media controls
|
||||
bindsym XF86AudioPlay exec --no-startup-id playerctl play-pause
|
||||
bindsym XF86AudioPause exec --no-startup-id playerctl play-pause
|
||||
bindsym XF86AudioNext exec --no-startup-id playerctl next
|
||||
bindsym XF86AudioPrev exec --no-startup-id playerctl previous
|
||||
bindsym XF86AudioStop exec --no-startup-id playerctl stop
|
||||
|
||||
# use these keys for focus, movement, and resize directions when reaching for
|
||||
# the arrows is not convenient
|
||||
set $up k
|
||||
set $down j
|
||||
set $left h
|
||||
set $right l
|
||||
|
||||
# use Mouse+Mod1 to drag floating windows to their wanted position
|
||||
floating_modifier Mod1
|
||||
|
||||
# move tiling windows via drag & drop by left-clicking into the title bar,
|
||||
# or left-clicking anywhere into the window while holding the floating modifier.
|
||||
tiling_drag modifier titlebar
|
||||
|
||||
# start a terminal
|
||||
bindsym Mod1+Return exec --no-startup-id kitty
|
||||
|
||||
# start a browser
|
||||
bindsym Mod1+Shift+Return exec --no-startup-id firefox-developer-edition
|
||||
|
||||
# start spotify
|
||||
bindsym Mod1+Ctrl+Shift+Return exec --no-startup-id spotify-launcher
|
||||
|
||||
# kill focused window
|
||||
bindsym Mod1+Shift+q kill
|
||||
|
||||
# start dmenu (a program launcher)
|
||||
bindsym Mod1+d exec --no-startup-id dmenu_run -fn CaskaydiaCoveNerdFontMono
|
||||
# A more modern dmenu replacement is rofi:
|
||||
# bindsym Mod1+d 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.
|
||||
# bindsym Mod1+d exec --no-startup-id i3-dmenu-desktop
|
||||
|
||||
# change focus
|
||||
bindsym Mod1+$left focus left
|
||||
bindsym Mod1+$down focus down
|
||||
bindsym Mod1+$up focus up
|
||||
bindsym Mod1+$right focus right
|
||||
|
||||
# alternatively, you can use the cursor keys:
|
||||
bindsym Mod1+Left focus left
|
||||
bindsym Mod1+Down focus down
|
||||
bindsym Mod1+Up focus up
|
||||
bindsym Mod1+Right focus right
|
||||
|
||||
# move focused window
|
||||
bindsym Mod1+Shift+$left move left
|
||||
bindsym Mod1+Shift+$down move down
|
||||
bindsym Mod1+Shift+$up move up
|
||||
bindsym Mod1+Shift+$right move right
|
||||
|
||||
# alternatively, you can use the cursor keys:
|
||||
bindsym Mod1+Shift+Left move left
|
||||
bindsym Mod1+Shift+Down move down
|
||||
bindsym Mod1+Shift+Up move up
|
||||
bindsym Mod1+Shift+Right move right
|
||||
|
||||
# split in horizontal orientation
|
||||
bindsym Mod1+b split h
|
||||
|
||||
# split in vertical orientation
|
||||
bindsym Mod1+v split v
|
||||
|
||||
# enter fullscreen mode for the focused container
|
||||
bindsym Mod1+f fullscreen toggle
|
||||
|
||||
# change container layout (stacked, tabbed, toggle split)
|
||||
bindsym Mod1+s layout stacking
|
||||
bindsym Mod1+w layout tabbed
|
||||
bindsym Mod1+e layout toggle split
|
||||
|
||||
# toggle tiling / floating
|
||||
bindsym Mod1+Shift+space floating toggle
|
||||
|
||||
# change focus between tiling / floating windows
|
||||
bindsym Mod1+space focus mode_toggle
|
||||
|
||||
# focus the parent container
|
||||
bindsym Mod1+a focus parent
|
||||
|
||||
# focus the child container
|
||||
#bindsym Mod1+d focus child
|
||||
|
||||
# move the currently focused window to the scratchpad
|
||||
bindsym Mod1+Shift+minus move scratchpad
|
||||
|
||||
# Show the next scratchpad window or hide the focused scratchpad window.
|
||||
# If there are multiple scratchpad windows, this command cycles through them.
|
||||
bindsym Mod1+minus scratchpad show
|
||||
|
||||
# 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 Mod1+1 workspace number $ws1
|
||||
bindsym Mod1+2 workspace number $ws2
|
||||
bindsym Mod1+3 workspace number $ws3
|
||||
bindsym Mod1+4 workspace number $ws4
|
||||
bindsym Mod1+5 workspace number $ws5
|
||||
bindsym Mod1+6 workspace number $ws6
|
||||
bindsym Mod1+7 workspace number $ws7
|
||||
bindsym Mod1+8 workspace number $ws8
|
||||
bindsym Mod1+9 workspace number $ws9
|
||||
bindsym Mod1+0 workspace number $ws10
|
||||
|
||||
# move focused container to workspace
|
||||
bindsym Mod1+Shift+1 move container to workspace number $ws1
|
||||
bindsym Mod1+Shift+2 move container to workspace number $ws2
|
||||
bindsym Mod1+Shift+3 move container to workspace number $ws3
|
||||
bindsym Mod1+Shift+4 move container to workspace number $ws4
|
||||
bindsym Mod1+Shift+5 move container to workspace number $ws5
|
||||
bindsym Mod1+Shift+6 move container to workspace number $ws6
|
||||
bindsym Mod1+Shift+7 move container to workspace number $ws7
|
||||
bindsym Mod1+Shift+8 move container to workspace number $ws8
|
||||
bindsym Mod1+Shift+9 move container to workspace number $ws9
|
||||
bindsym Mod1+Shift+0 move container to workspace number $ws10
|
||||
|
||||
# reload the configuration file
|
||||
bindsym Mod1+Shift+c reload
|
||||
# restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
|
||||
bindsym Mod1+Shift+r restart
|
||||
# exit i3 (logs you out of your X session)
|
||||
bindsym Mod1+Shift+e exec --no-startup-id "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'"
|
||||
|
||||
# resize window (you can also use the mouse for that)
|
||||
mode "resize" {
|
||||
# These bindings trigger as soon as you enter the resize mode
|
||||
|
||||
# Pressing left will shrink the window’s width.
|
||||
# Pressing right will grow the window’s width.
|
||||
# Pressing up will shrink the window’s height.
|
||||
# Pressing down will grow the window’s height.
|
||||
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
|
||||
|
||||
# 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 Mod1+r
|
||||
bindsym Return mode "default"
|
||||
bindsym Escape mode "default"
|
||||
bindsym Mod1+r mode "default"
|
||||
}
|
||||
|
||||
bindsym Mod1+r mode "resize"
|
||||
|
||||
# Start i3bar to display a workspace bar (plus the system information i3status
|
||||
# finds out, if available)
|
||||
bar {
|
||||
status_command i3status
|
||||
position top
|
||||
}
|
||||
|
||||
# misc
|
||||
exec --no-startup-id xsetroot -solid "#222222"
|
||||
exec --no-startup-id xset r rate 200 35
|
||||
exec --no-startup-id easyeffects --gapplication-service
|
||||
exec --no-startup-id redshift
|
||||
exec --no-startup-id solaar --window=hide
|
||||
# exec --no-startup-id fcitx
|
||||
|
||||
## Screenshots
|
||||
bindsym Print exec --no-startup-id maim "/home/$USER/pictures/$(date)"
|
||||
|
||||
# window borders
|
||||
default_border pixel 4
|
||||
smart_borders on
|
||||
|
||||
set $Locker i3lock -e && sleep 1
|
||||
|
||||
# power controls:
|
||||
set $mode_system System (l) lock, (e) logout, (s) suspend, (h) hibernate, (r) reboot, (Shift+s) shutdown
|
||||
mode "$mode_system" {
|
||||
bindsym l exec --no-startup-id $Locker, mode "default"
|
||||
bindsym e exec --no-startup-id i3-msg exit, mode "default"
|
||||
bindsym s exec --no-startup-id $Locker && systemctl suspend, mode "default"
|
||||
bindsym h exec --no-startup-id $Locker && systemctl hibernate, mode "default"
|
||||
bindsym r exec --no-startup-id systemctl reboot, mode "default"
|
||||
bindsym Shift+s exec --no-startup-id systemctl poweroff -i, mode "default"
|
||||
|
||||
# back to normal: Enter or Escape
|
||||
bindsym Return mode "default"
|
||||
bindsym Escape mode "default"
|
||||
}
|
||||
|
||||
bindsym Mod1+End mode "$mode_system"
|
||||
69
i3/nik-mini-pc/i3status/config
Executable file
@@ -0,0 +1,69 @@
|
||||
# i3status configuration file.
|
||||
# see "man i3status" for documentation.
|
||||
|
||||
# It is important that this file is edited as UTF-8.
|
||||
# The following line should contain a sharp s:
|
||||
# ß
|
||||
# If the above line is not correctly displayed, fix your editor first!
|
||||
|
||||
general {
|
||||
colors = true
|
||||
interval = 1
|
||||
}
|
||||
|
||||
order += "volume master"
|
||||
# order += "battery all"
|
||||
order += "ethernet _first_"
|
||||
order += "cpu_usage"
|
||||
order += "cpu_temperature package"
|
||||
order += "disk /"
|
||||
order += "memory"
|
||||
order += "tztime local"
|
||||
|
||||
volume master {
|
||||
format = "vol:%volume"
|
||||
format_muted = "muted (%volume)"
|
||||
device = "default"
|
||||
}
|
||||
|
||||
battery all {
|
||||
format = "%remaining"
|
||||
format_down = "no battery"
|
||||
}
|
||||
|
||||
ethernet _first_ {
|
||||
format_up = "%interface: %ip [%speed]"
|
||||
format_down = "%interface: down"
|
||||
}
|
||||
|
||||
ipv6 {
|
||||
format_up = "IPv6: %ip"
|
||||
format_down = "IPv6: down"
|
||||
}
|
||||
cpu_usage {
|
||||
format = "CPU: %usage"
|
||||
path = "/proc/stat"
|
||||
}
|
||||
|
||||
cpu_temperature package {
|
||||
format = "%degrees °C"
|
||||
path = "/sys/devices/platform/coretemp.0/hwmon/hwmon2/temp1_input"
|
||||
}
|
||||
|
||||
disk "/" {
|
||||
format = "%avail"
|
||||
}
|
||||
|
||||
load {
|
||||
format = "%1min"
|
||||
}
|
||||
|
||||
memory {
|
||||
format = "%used | %available"
|
||||
threshold_degraded = "1G"
|
||||
format_degraded = "MEMORY < %available"
|
||||
}
|
||||
|
||||
tztime local {
|
||||
format = "%m-%d-%Y %H:%M:%S"
|
||||
}
|
||||
265
i3/old/i3/config
Executable file
@@ -0,0 +1,265 @@
|
||||
# i3 config file (v4)
|
||||
#
|
||||
# Please see https://i3wm.org/docs/userguide.html for a complete reference!
|
||||
#
|
||||
# This config file uses keycodes (bindsym) and was written for the QWERTY
|
||||
# layout.
|
||||
#
|
||||
# To get a config file with the same key positions, but for your current
|
||||
# layout, use the i3-config-wizard
|
||||
#
|
||||
|
||||
# Font for window titles. Will also be used by the bar unless a different font
|
||||
# is used in the bar {} block below.
|
||||
font pango:CaskaydiaCoveNerdFontMono 12
|
||||
|
||||
# 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
|
||||
|
||||
# volume control
|
||||
set $refresh_i3status killall -SIGUSR1 i3status
|
||||
bindsym XF86AudioRaiseVolume exec --no-startup-id wpctl set-volume @DEFAULT_SINK@ 5%+ && $refresh_i3status
|
||||
bindsym XF86AudioLowerVolume exec --no-startup-id wpctl set-volume @DEFAULT_SINK@ 5%- && $refresh_i3status
|
||||
bindsym XF86AudioMute exec --no-startup-id wpctl set-mute @DEFAULT_SINK@ toggle && $refresh_i3status
|
||||
|
||||
# use these keys for focus, movement, and resize directions when reaching for
|
||||
# the arrows is not convenient
|
||||
set $up k
|
||||
set $down j
|
||||
set $left h
|
||||
set $right l
|
||||
|
||||
# use Mouse+Mod1 to drag floating windows to their wanted position
|
||||
floating_modifier Mod1
|
||||
|
||||
# move tiling windows via drag & drop by left-clicking into the title bar,
|
||||
# or left-clicking anywhere into the window while holding the floating modifier.
|
||||
tiling_drag modifier titlebar
|
||||
|
||||
# start a terminal
|
||||
bindsym Mod1+Return exec --no-startup-id kitty
|
||||
|
||||
# start browser
|
||||
bindsym Mod1+Shift+Return exec --no-startup-id firefox
|
||||
|
||||
# start spotify
|
||||
bindsym Mod1+Ctrl+Shift+Return exec --no-startup-id spotify-launcher
|
||||
|
||||
# start steam
|
||||
bindsym Mod1+Shift+S exec --no-startup-id steam
|
||||
|
||||
# kill focused window
|
||||
bindsym Mod1+Shift+q kill
|
||||
|
||||
# start dmenu (a program launcher)
|
||||
bindsym Mod1+d exec --no-startup-id dmenu_run -fn CaskaydiaCoveNerdFontMono
|
||||
# A more modern dmenu replacement is rofi:
|
||||
# bindsym Mod1+d 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.
|
||||
# bindsym Mod1+d exec --no-startup-id i3-dmenu-desktop
|
||||
|
||||
# change focus
|
||||
bindsym Mod1+$left focus left
|
||||
bindsym Mod1+$down focus down
|
||||
bindsym Mod1+$up focus up
|
||||
bindsym Mod1+$right focus right
|
||||
|
||||
# alternatively, you can use the cursor keys:
|
||||
bindsym Mod1+Left focus left
|
||||
bindsym Mod1+Down focus down
|
||||
bindsym Mod1+Up focus up
|
||||
bindsym Mod1+Right focus right
|
||||
|
||||
# move focused window
|
||||
bindsym Mod1+Shift+$left move left
|
||||
bindsym Mod1+Shift+$down move down
|
||||
bindsym Mod1+Shift+$up move up
|
||||
bindsym Mod1+Shift+$right move right
|
||||
|
||||
# alternatively, you can use the cursor keys:
|
||||
bindsym Mod1+Shift+Left move left
|
||||
bindsym Mod1+Shift+Down move down
|
||||
bindsym Mod1+Shift+Up move up
|
||||
bindsym Mod1+Shift+Right move right
|
||||
|
||||
# split in horizontal orientation
|
||||
bindsym Mod1+b split h
|
||||
|
||||
# split in vertical orientation
|
||||
bindsym Mod1+v split v
|
||||
|
||||
# enter fullscreen mode for the focused container
|
||||
bindsym Mod1+f fullscreen toggle
|
||||
|
||||
# change container layout (stacked, tabbed, toggle split)
|
||||
bindsym Mod1+s layout stacking
|
||||
bindsym Mod1+w layout tabbed
|
||||
bindsym Mod1+e layout toggle split
|
||||
|
||||
# toggle tiling / floating
|
||||
bindsym Mod1+Shift+space floating toggle
|
||||
|
||||
# change focus between tiling / floating windows
|
||||
bindsym Mod1+space focus mode_toggle
|
||||
|
||||
# focus the parent container
|
||||
bindsym Mod1+a focus parent
|
||||
|
||||
# focus the child container
|
||||
#bindsym Mod1+d focus child
|
||||
|
||||
# move the currently focused window to the scratchpad
|
||||
bindsym Mod1+Shift+minus move scratchpad
|
||||
|
||||
# Show the next scratchpad window or hide the focused scratchpad window.
|
||||
# If there are multiple scratchpad windows, this command cycles through them.
|
||||
bindsym Mod1+minus scratchpad show
|
||||
|
||||
# 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 Mod1+1 workspace number $ws1
|
||||
bindsym Mod1+2 workspace number $ws2
|
||||
bindsym Mod1+3 workspace number $ws3
|
||||
bindsym Mod1+4 workspace number $ws4
|
||||
bindsym Mod1+5 workspace number $ws5
|
||||
bindsym Mod1+6 workspace number $ws6
|
||||
bindsym Mod1+7 workspace number $ws7
|
||||
bindsym Mod1+8 workspace number $ws8
|
||||
bindsym Mod1+9 workspace number $ws9
|
||||
bindsym Mod1+0 workspace number $ws10
|
||||
|
||||
# move focused container to workspace
|
||||
bindsym Mod1+Shift+1 move container to workspace number $ws1
|
||||
bindsym Mod1+Shift+2 move container to workspace number $ws2
|
||||
bindsym Mod1+Shift+3 move container to workspace number $ws3
|
||||
bindsym Mod1+Shift+4 move container to workspace number $ws4
|
||||
bindsym Mod1+Shift+5 move container to workspace number $ws5
|
||||
bindsym Mod1+Shift+6 move container to workspace number $ws6
|
||||
bindsym Mod1+Shift+7 move container to workspace number $ws7
|
||||
bindsym Mod1+Shift+8 move container to workspace number $ws8
|
||||
bindsym Mod1+Shift+9 move container to workspace number $ws9
|
||||
bindsym Mod1+Shift+0 move container to workspace number $ws10
|
||||
|
||||
# reload the configuration file
|
||||
bindsym Mod1+Shift+c reload
|
||||
# restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
|
||||
bindsym Mod1+Shift+r restart
|
||||
# exit i3 (logs you out of your X session)
|
||||
bindsym Mod1+Shift+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'"
|
||||
|
||||
# resize window (you can also use the mouse for that)
|
||||
mode "resize" {
|
||||
# These bindings trigger as soon as you enter the resize mode
|
||||
|
||||
# Pressing left will shrink the window’s width.
|
||||
# Pressing right will grow the window’s width.
|
||||
# Pressing up will shrink the window’s height.
|
||||
# Pressing down will grow the window’s height.
|
||||
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
|
||||
|
||||
# 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 Mod1+r
|
||||
bindsym Return mode "default"
|
||||
bindsym Escape mode "default"
|
||||
bindsym Mod1+r mode "default"
|
||||
}
|
||||
|
||||
bindsym Mod1+r mode "resize"
|
||||
|
||||
# Start i3bar to display a workspace bar (plus the system information i3status
|
||||
# finds out, if available)
|
||||
bar {
|
||||
status_command i3status
|
||||
tray_output primary
|
||||
}
|
||||
|
||||
exec --no-startup-id xsetroot -solid "#222222"
|
||||
exec --no-startup-id xset r rate 200 35
|
||||
exec --no-startup-id redshift
|
||||
exec --no-startup-id easyeffects --gapplication-service
|
||||
exec --no-startup-id solaar --window=hide
|
||||
exec --no-startup-id indicator-sound-switcher
|
||||
|
||||
# window borders
|
||||
default_border pixel 4
|
||||
hide_edge_borders none
|
||||
smart_borders on
|
||||
|
||||
## triple monitor config
|
||||
|
||||
# exec --no-startup-id xrandr --output HDMI-0 --rotate left
|
||||
# exec --no-startup-id xrandr --output DP-5 --rotate left
|
||||
# exec --no-startup-id xrandr --output DP-5 --right-of DP-2
|
||||
# exec --no-startup-id xrandr --output HDMI-0 --left-of DP-2
|
||||
|
||||
## none of that worked; script it is
|
||||
exec --no-startup-id /home/nik/.scripts/startup.sh
|
||||
|
||||
workspace 1 output DP-2
|
||||
workspace 2 output HDMI-0
|
||||
workspace 3 output DP-5
|
||||
|
||||
## open apps on workspaces
|
||||
|
||||
set $Locker i3lock && sleep 1
|
||||
|
||||
# power controls
|
||||
|
||||
set $mode_system System (l) lock, (e) logout, (s) suspend, (h) hibernate, (r) reboot, (Shift+s) shutdown
|
||||
mode "$mode_system" {
|
||||
bindsym l exec --no-startup-id $Locker, mode "default"
|
||||
bindsym e exec --no-startup-id i3-msg exit, mode "default"
|
||||
bindsym s exec --no-startup-id $Locker && systemctl suspend, mode "default"
|
||||
bindsym h exec --no-startup-id $Locker && systemctl hibernate, mode "default"
|
||||
bindsym r exec --no-startup-id systemctl reboot, mode "default"
|
||||
bindsym Shift+s exec --no-startup-id systemctl poweroff -i, mode "default"
|
||||
|
||||
# back to normal: Enter or Escape
|
||||
bindsym Return mode "default"
|
||||
bindsym Escape mode "default"
|
||||
}
|
||||
|
||||
bindsym Mod1+End mode "$mode_system"
|
||||
|
||||
# keyboard media controls
|
||||
bindsym XF86AudioPlay exec --no-startup-id playerctl play-pause
|
||||
bindsym XF86AudioPause exec --no-startup-id playerctl play-pause
|
||||
bindsym XF86AudioNext exec --no-startup-id playerctl next
|
||||
bindsym XF86AudioPrev exec --no-startup-id playerctl previous
|
||||
59
i3/old/i3status/config
Executable file
@@ -0,0 +1,59 @@
|
||||
# i3status configuration file.
|
||||
# see "man i3status" for documentation.
|
||||
|
||||
# It is important that this file is edited as UTF-8.
|
||||
# The following line should contain a sharp s:
|
||||
# ß
|
||||
# If the above line is not correctly displayed, fix your editor first!
|
||||
|
||||
general {
|
||||
colors = true
|
||||
interval = 1
|
||||
}
|
||||
|
||||
order += "volume master"
|
||||
order += "ethernet _first_"
|
||||
# order += "ipv6"
|
||||
order += "disk /"
|
||||
order += "cpu_usage"
|
||||
order += "memory"
|
||||
order += "tztime local"
|
||||
|
||||
volume master {
|
||||
format = "vol: %volume"
|
||||
format_muted = "muted (%volume)"
|
||||
device = "default"
|
||||
mixer = "Master"
|
||||
mixer_idx = 0
|
||||
}
|
||||
|
||||
ipv6 {
|
||||
format_up = "%ip"
|
||||
format_down = "no IPv6"
|
||||
}
|
||||
ethernet _first_ {
|
||||
format_up = "%ip [%speed]"
|
||||
format_down = "IPv4: down"
|
||||
}
|
||||
|
||||
battery all {
|
||||
format = "%percentage"
|
||||
}
|
||||
|
||||
disk "/" {
|
||||
format = "%avail"
|
||||
}
|
||||
|
||||
cpu_usage {
|
||||
format = "CPU: %usage"
|
||||
}
|
||||
|
||||
memory {
|
||||
format = "%used | %available"
|
||||
threshold_degraded = "1G"
|
||||
format_degraded = "MEMORY < %available"
|
||||
}
|
||||
|
||||
tztime local {
|
||||
format = "%m-%d-%Y %H:%M:%S"
|
||||
}
|
||||
BIN
themes/Graphite-Dark-hdpi/xfwm4/bottom-active.png
Normal file
|
After Width: | Height: | Size: 137 B |
BIN
themes/Graphite-Dark-hdpi/xfwm4/bottom-inactive.png
Normal file
|
After Width: | Height: | Size: 137 B |
BIN
themes/Graphite-Dark-hdpi/xfwm4/bottom-left-active.png
Normal file
|
After Width: | Height: | Size: 176 B |
BIN
themes/Graphite-Dark-hdpi/xfwm4/bottom-left-inactive.png
Normal file
|
After Width: | Height: | Size: 176 B |
BIN
themes/Graphite-Dark-hdpi/xfwm4/bottom-right-active.png
Normal file
|
After Width: | Height: | Size: 170 B |
BIN
themes/Graphite-Dark-hdpi/xfwm4/bottom-right-inactive.png
Normal file
|
After Width: | Height: | Size: 170 B |
BIN
themes/Graphite-Dark-hdpi/xfwm4/close-active.png
Normal file
|
After Width: | Height: | Size: 280 B |
BIN
themes/Graphite-Dark-hdpi/xfwm4/close-inactive.png
Normal file
|
After Width: | Height: | Size: 273 B |
BIN
themes/Graphite-Dark-hdpi/xfwm4/close-prelight.png
Normal file
|
After Width: | Height: | Size: 519 B |
BIN
themes/Graphite-Dark-hdpi/xfwm4/close-pressed.png
Normal file
|
After Width: | Height: | Size: 519 B |
BIN
themes/Graphite-Dark-hdpi/xfwm4/hide-active.png
Normal file
|
After Width: | Height: | Size: 168 B |
BIN
themes/Graphite-Dark-hdpi/xfwm4/hide-inactive.png
Normal file
|
After Width: | Height: | Size: 168 B |
BIN
themes/Graphite-Dark-hdpi/xfwm4/hide-prelight.png
Normal file
|
After Width: | Height: | Size: 346 B |
BIN
themes/Graphite-Dark-hdpi/xfwm4/hide-pressed.png
Normal file
|
After Width: | Height: | Size: 380 B |
BIN
themes/Graphite-Dark-hdpi/xfwm4/left-active.png
Normal file
|
After Width: | Height: | Size: 138 B |
BIN
themes/Graphite-Dark-hdpi/xfwm4/left-inactive.png
Normal file
|
After Width: | Height: | Size: 138 B |
BIN
themes/Graphite-Dark-hdpi/xfwm4/maximize-active.png
Normal file
|
After Width: | Height: | Size: 203 B |
BIN
themes/Graphite-Dark-hdpi/xfwm4/maximize-inactive.png
Normal file
|
After Width: | Height: | Size: 203 B |
BIN
themes/Graphite-Dark-hdpi/xfwm4/maximize-prelight.png
Normal file
|
After Width: | Height: | Size: 367 B |
BIN
themes/Graphite-Dark-hdpi/xfwm4/maximize-pressed.png
Normal file
|
After Width: | Height: | Size: 400 B |
BIN
themes/Graphite-Dark-hdpi/xfwm4/maximize-toggled-active.png
Normal file
|
After Width: | Height: | Size: 169 B |
BIN
themes/Graphite-Dark-hdpi/xfwm4/maximize-toggled-inactive.png
Normal file
|
After Width: | Height: | Size: 169 B |
BIN
themes/Graphite-Dark-hdpi/xfwm4/maximize-toggled-prelight.png
Normal file
|
After Width: | Height: | Size: 348 B |
BIN
themes/Graphite-Dark-hdpi/xfwm4/maximize-toggled-pressed.png
Normal file
|
After Width: | Height: | Size: 378 B |
BIN
themes/Graphite-Dark-hdpi/xfwm4/menu-active.png
Normal file
|
After Width: | Height: | Size: 200 B |
BIN
themes/Graphite-Dark-hdpi/xfwm4/menu-inactive.png
Normal file
|
After Width: | Height: | Size: 200 B |
BIN
themes/Graphite-Dark-hdpi/xfwm4/menu-prelight.png
Normal file
|
After Width: | Height: | Size: 365 B |
BIN
themes/Graphite-Dark-hdpi/xfwm4/menu-pressed.png
Normal file
|
After Width: | Height: | Size: 400 B |
BIN
themes/Graphite-Dark-hdpi/xfwm4/right-active.png
Normal file
|
After Width: | Height: | Size: 138 B |
BIN
themes/Graphite-Dark-hdpi/xfwm4/right-inactive.png
Normal file
|
After Width: | Height: | Size: 138 B |
BIN
themes/Graphite-Dark-hdpi/xfwm4/shade-active.png
Normal file
|
After Width: | Height: | Size: 241 B |
BIN
themes/Graphite-Dark-hdpi/xfwm4/shade-inactive.png
Normal file
|
After Width: | Height: | Size: 272 B |
BIN
themes/Graphite-Dark-hdpi/xfwm4/shade-prelight.png
Normal file
|
After Width: | Height: | Size: 429 B |
BIN
themes/Graphite-Dark-hdpi/xfwm4/shade-pressed.png
Normal file
|
After Width: | Height: | Size: 456 B |
BIN
themes/Graphite-Dark-hdpi/xfwm4/shade-toggled-active.png
Normal file
|
After Width: | Height: | Size: 249 B |
BIN
themes/Graphite-Dark-hdpi/xfwm4/shade-toggled-inactive.png
Normal file
|
After Width: | Height: | Size: 274 B |
BIN
themes/Graphite-Dark-hdpi/xfwm4/shade-toggled-prelight.png
Normal file
|
After Width: | Height: | Size: 1.0 KiB |
BIN
themes/Graphite-Dark-hdpi/xfwm4/shade-toggled-pressed.png
Normal file
|
After Width: | Height: | Size: 1.1 KiB |
BIN
themes/Graphite-Dark-hdpi/xfwm4/stick-active.png
Normal file
|
After Width: | Height: | Size: 330 B |
BIN
themes/Graphite-Dark-hdpi/xfwm4/stick-inactive.png
Normal file
|
After Width: | Height: | Size: 308 B |
BIN
themes/Graphite-Dark-hdpi/xfwm4/stick-prelight.png
Normal file
|
After Width: | Height: | Size: 523 B |
BIN
themes/Graphite-Dark-hdpi/xfwm4/stick-pressed.png
Normal file
|
After Width: | Height: | Size: 542 B |
BIN
themes/Graphite-Dark-hdpi/xfwm4/stick-toggled-active.png
Normal file
|
After Width: | Height: | Size: 347 B |
BIN
themes/Graphite-Dark-hdpi/xfwm4/stick-toggled-inactive.png
Normal file
|
After Width: | Height: | Size: 322 B |
BIN
themes/Graphite-Dark-hdpi/xfwm4/stick-toggled-prelight.png
Normal file
|
After Width: | Height: | Size: 542 B |
BIN
themes/Graphite-Dark-hdpi/xfwm4/stick-toggled-pressed.png
Normal file
|
After Width: | Height: | Size: 563 B |
23
themes/Graphite-Dark-hdpi/xfwm4/themerc
Normal file
@@ -0,0 +1,23 @@
|
||||
button_offset=10
|
||||
button_spacing=0
|
||||
|
||||
show_app_icon=false
|
||||
|
||||
full_width_title=true
|
||||
|
||||
title_shadow_active=false
|
||||
title_shadow_inactive=false
|
||||
|
||||
title_horizontal_offset=3
|
||||
|
||||
active_text_color=#afafaf
|
||||
active_text_shadow_color=#252525
|
||||
|
||||
inactive_text_color=#808080
|
||||
inactive_text_shadow_color=#252525
|
||||
|
||||
shadow_delta_height=2
|
||||
shadow_delta_width=0
|
||||
shadow_delta_x=0
|
||||
shadow_delta_y=-5
|
||||
shadow_opacity=40
|
||||
BIN
themes/Graphite-Dark-hdpi/xfwm4/title-1-active.png
Normal file
|
After Width: | Height: | Size: 149 B |
BIN
themes/Graphite-Dark-hdpi/xfwm4/title-1-inactive.png
Normal file
|
After Width: | Height: | Size: 149 B |
BIN
themes/Graphite-Dark-hdpi/xfwm4/title-2-active.png
Normal file
|
After Width: | Height: | Size: 149 B |
BIN
themes/Graphite-Dark-hdpi/xfwm4/title-2-inactive.png
Normal file
|
After Width: | Height: | Size: 149 B |
BIN
themes/Graphite-Dark-hdpi/xfwm4/title-3-active.png
Normal file
|
After Width: | Height: | Size: 149 B |
BIN
themes/Graphite-Dark-hdpi/xfwm4/title-3-inactive.png
Normal file
|
After Width: | Height: | Size: 149 B |
BIN
themes/Graphite-Dark-hdpi/xfwm4/title-4-active.png
Normal file
|
After Width: | Height: | Size: 149 B |