mirror of
https://github.com/starr-dusT/dotfiles.git
synced 2025-02-19 19:27:31 -08:00
before arch again ;)
This commit is contained in:
parent
3ba0f3c1fa
commit
1d9aa04f82
@ -29,3 +29,18 @@
|
|||||||
type = "git-repo"
|
type = "git-repo"
|
||||||
url = "https://github.com/zsh-users/zsh-syntax-highlighting.git"
|
url = "https://github.com/zsh-users/zsh-syntax-highlighting.git"
|
||||||
refreshPeriod = "168h"
|
refreshPeriod = "168h"
|
||||||
|
|
||||||
|
[".config/xmonad/xmonad"]
|
||||||
|
type = "git-repo"
|
||||||
|
url = "https://github.com/xmonad/xmonad"
|
||||||
|
refreshPeriod = "168h"
|
||||||
|
|
||||||
|
[".config/xmonad/xmonad-contrib"]
|
||||||
|
type = "git-repo"
|
||||||
|
url = "https://github.com/xmonad/xmonad-contrib"
|
||||||
|
refreshPeriod = "168h"
|
||||||
|
|
||||||
|
[".config/xmonad/xmobar"]
|
||||||
|
type = "git-repo"
|
||||||
|
url = "https://codeberg.org/xmobar/xmobar"
|
||||||
|
refreshPeriod = "168h"
|
||||||
|
1
home/dot_Xclients
Normal file
1
home/dot_Xclients
Normal file
@ -0,0 +1 @@
|
|||||||
|
exec dbus-run-session xmonad
|
@ -17,37 +17,37 @@ env:
|
|||||||
font:
|
font:
|
||||||
# Normal (roman) font face
|
# Normal (roman) font face
|
||||||
normal:
|
normal:
|
||||||
family: JetBrainsMono Nerd Font
|
family: Jet Brains Mono
|
||||||
# The `style` can be specified to pick a specific face.
|
# The `style` can be specified to pick a specific face.
|
||||||
style: Regular
|
style: Regular
|
||||||
|
|
||||||
# Bold font face
|
# Bold font face
|
||||||
bold:
|
bold:
|
||||||
family: JetBrainsMono Nerd Font
|
family: Jet Brains Mono
|
||||||
# The `style` can be specified to pick a specific face.
|
# The `style` can be specified to pick a specific face.
|
||||||
style: Bold
|
style: Bold
|
||||||
|
|
||||||
# Italic font face
|
# Italic font face
|
||||||
italic:
|
italic:
|
||||||
family: JetBrainsMono Nerd Font
|
family: Jet Brains Mono
|
||||||
# The `style` can be specified to pick a specific face.
|
# The `style` can be specified to pick a specific face.
|
||||||
style: Italic
|
style: Italic
|
||||||
|
|
||||||
# Point size of the font
|
# Point size of the font
|
||||||
size: 11.0
|
size: 12.0
|
||||||
|
|
||||||
# Offset is the extra space around each character. `offset.y` can be thought of
|
# Offset is the extra space around each character. `offset.y` can be thought of
|
||||||
# as modifying the line spacing, and `offset.x` as modifying the letter spacing.
|
# as modifying the line spacing, and `offset.x` as modifying the letter spacing.
|
||||||
offset:
|
offset:
|
||||||
x: 0
|
x: 0
|
||||||
y: 0
|
y: 1
|
||||||
|
|
||||||
# Glyph offset determines the locations of the glyphs within their cells with
|
# Glyph offset determines the locations of the glyphs within their cells with
|
||||||
# the default being at the bottom. Increasing `x` moves the glyph to the right,
|
# the default being at the bottom. Increasing `x` moves the glyph to the right,
|
||||||
# increasing `y` moves the glyph upwards.
|
# increasing `y` moves the glyph upwards.
|
||||||
glyph_offset:
|
glyph_offset:
|
||||||
x: 0
|
x: 0
|
||||||
y: 0
|
y: 1
|
||||||
|
|
||||||
import:
|
import:
|
||||||
- ~/.config/alacritty/dracula.yml
|
- ~/.config/alacritty/dracula.yml
|
||||||
|
@ -1,2 +1,2 @@
|
|||||||
vim.o.termguicolors = true
|
vim.o.termguicolors = true
|
||||||
vim.cmd[[colorscheme dracula]]
|
vim.cmd[[colorscheme monokai-pro]]
|
||||||
|
@ -2,6 +2,8 @@ local Remap = require("tstarr.keymap")
|
|||||||
local nnoremap = Remap.nnoremap
|
local nnoremap = Remap.nnoremap
|
||||||
local inoremap = Remap.inoremap
|
local inoremap = Remap.inoremap
|
||||||
local cmp = require('cmp')
|
local cmp = require('cmp')
|
||||||
|
local lspconfig = require('lspconfig')
|
||||||
|
local configs = require('lspconfig/configs')
|
||||||
|
|
||||||
cmp.setup({
|
cmp.setup({
|
||||||
snippet = {
|
snippet = {
|
||||||
@ -103,5 +105,49 @@ local function config(_config)
|
|||||||
}, _config or {})
|
}, _config or {})
|
||||||
end
|
end
|
||||||
|
|
||||||
require("lspconfig").tsserver.setup(config())
|
-- Python
|
||||||
require'lspconfig'.pyright.setup(config())
|
lspconfig.tsserver.setup(config())
|
||||||
|
lspconfig.pyright.setup(config())
|
||||||
|
|
||||||
|
-- zk
|
||||||
|
configs.zk = {
|
||||||
|
default_config = {
|
||||||
|
cmd = {'zk', 'lsp'},
|
||||||
|
filetypes = {'markdown'},
|
||||||
|
root_dir = function()
|
||||||
|
return vim.loop.cwd()
|
||||||
|
end,
|
||||||
|
settings = {}
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
|
lspconfig.zk.setup({ on_attach = function(client, buffer)
|
||||||
|
-- Add keybindings here, see https://github.com/neovim/nvim-lspconfig#keybindings-and-completion
|
||||||
|
end })
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -5,7 +5,7 @@ return require('packer').startup(function(use)
|
|||||||
use 'wbthomason/packer.nvim'
|
use 'wbthomason/packer.nvim'
|
||||||
|
|
||||||
-- Colors
|
-- Colors
|
||||||
use ('dracula/vim')
|
--use ('dracula/vim')
|
||||||
|
|
||||||
-- IDE
|
-- IDE
|
||||||
use('nvim-lua/plenary.nvim')
|
use('nvim-lua/plenary.nvim')
|
||||||
@ -41,4 +41,10 @@ return require('packer').startup(function(use)
|
|||||||
use("mickael-menu/zk-nvim")
|
use("mickael-menu/zk-nvim")
|
||||||
require("zk").setup()
|
require("zk").setup()
|
||||||
|
|
||||||
|
use('norcalli/nvim-colorizer.lua')
|
||||||
|
require("colorizer").setup()
|
||||||
|
|
||||||
|
use('loctvl842/monokai-pro.nvim')
|
||||||
|
require("monokai-pro").setup()
|
||||||
|
|
||||||
end)
|
end)
|
||||||
|
@ -2,5 +2,5 @@ from os.path import expanduser
|
|||||||
from yaml import safe_load
|
from yaml import safe_load
|
||||||
|
|
||||||
# Get color config from pywal
|
# Get color config from pywal
|
||||||
wal_loc = expanduser("~/.config/qtile/themes/dracula.yml")
|
wal_loc = expanduser("~/.config/qtile/themes/monokai.yml")
|
||||||
wal = safe_load(open(wal_loc))
|
wal = safe_load(open(wal_loc))
|
||||||
|
@ -5,8 +5,8 @@ spacer_len = 3
|
|||||||
wal_color = wal["colors"]
|
wal_color = wal["colors"]
|
||||||
|
|
||||||
widget_defaults = dict(
|
widget_defaults = dict(
|
||||||
font="JetBrains Mono Nerd Font",
|
font="Jet Brains Mono",
|
||||||
fontsize=10,
|
fontsize=14,
|
||||||
padding=3,
|
padding=3,
|
||||||
background=wal_color["color0"],
|
background=wal_color["color0"],
|
||||||
)
|
)
|
||||||
@ -26,7 +26,7 @@ primary_widgets = [
|
|||||||
visible_groups=["1", "2", "3", "4", "5"],
|
visible_groups=["1", "2", "3", "4", "5"],
|
||||||
),
|
),
|
||||||
widget.TextBox(
|
widget.TextBox(
|
||||||
text="\uE0B0",
|
text=" ",
|
||||||
fontsize=17,
|
fontsize=17,
|
||||||
padding=0,
|
padding=0,
|
||||||
background=wal_color["color2"],
|
background=wal_color["color2"],
|
||||||
|
41
home/dot_config/qtile/themes/monokai.yml
Normal file
41
home/dot_config/qtile/themes/monokai.yml
Normal file
@ -0,0 +1,41 @@
|
|||||||
|
wallpaper: ""
|
||||||
|
|
||||||
|
special:
|
||||||
|
background: "#221e2d"
|
||||||
|
foreground: "#d1d1d1"
|
||||||
|
cursor: "#d1d1d1"
|
||||||
|
|
||||||
|
colors:
|
||||||
|
color0: "#272822"
|
||||||
|
color8: "#75715e"
|
||||||
|
color1: "#f92672"
|
||||||
|
color9: "#f92672"
|
||||||
|
color2: "#a6e22e"
|
||||||
|
color10: "#a6e22e"
|
||||||
|
color3: "#f4bf75"
|
||||||
|
color11: "#f4bf75"
|
||||||
|
color4: "#66d9ef"
|
||||||
|
color12: "#66d9ef"
|
||||||
|
color5: "#ae81ff"
|
||||||
|
color13: "#ae81ff"
|
||||||
|
color6: "#a1efe4"
|
||||||
|
color14: "#a1efe4"
|
||||||
|
color7: "#f8f8f2"
|
||||||
|
color15: "#f9f8f5"
|
||||||
|
|
||||||
|
|
||||||
|
# dark2 = "#19181a",
|
||||||
|
# dark1 = "#221f22",
|
||||||
|
# background = "#2d2a2e",
|
||||||
|
# text = "#fcfcfa",
|
||||||
|
# accent1 = "#ff6188",
|
||||||
|
# accent2 = "#fc9867",
|
||||||
|
# accent3 = "#ffd866",
|
||||||
|
# accent4 = "#a9dc76",
|
||||||
|
# accent5 = "#78dce8",
|
||||||
|
# accent6 = "#ab9df2",
|
||||||
|
# dimmed1 = "#c1c0c0",
|
||||||
|
# dimmed2 = "#939293", -- border
|
||||||
|
# dimmed3 = "#727072",
|
||||||
|
# dimmed4 = "#5b595c",
|
||||||
|
# dimmed5 = "#403e41",
|
@ -15,7 +15,7 @@ import XMonad.Hooks.ManageDocks
|
|||||||
import XMonad.Hooks.ManageHelpers
|
import XMonad.Hooks.ManageHelpers
|
||||||
import XMonad.Hooks.WorkspaceHistory
|
import XMonad.Hooks.WorkspaceHistory
|
||||||
import XMonad.Hooks.DynamicLog (dynamicLogWithPP, wrap, xmobarPP, xmobarColor, shorten, PP(..))
|
import XMonad.Hooks.DynamicLog (dynamicLogWithPP, wrap, xmobarPP, xmobarColor, shorten, PP(..))
|
||||||
import XMonad.Hooks.DynamicProperty
|
import XMonad.Hooks.OnPropertyChange
|
||||||
|
|
||||||
-- Layouts
|
-- Layouts
|
||||||
import XMonad.Layout.NoBorders
|
import XMonad.Layout.NoBorders
|
||||||
@ -29,7 +29,7 @@ import XMonad.Layout.TwoPane
|
|||||||
import XMonad.Layout.TwoPanePersistent
|
import XMonad.Layout.TwoPanePersistent
|
||||||
import XMonad.Layout.Combo
|
import XMonad.Layout.Combo
|
||||||
import XMonad.Layout.Master
|
import XMonad.Layout.Master
|
||||||
import XMonad.Layout.StateFull (focusTracking)
|
import XMonad.Layout.FocusTracking (focusTracking)
|
||||||
import XMonad.Layout.Renamed
|
import XMonad.Layout.Renamed
|
||||||
|
|
||||||
--Utilities
|
--Utilities
|
||||||
@ -59,7 +59,7 @@ import qualified XMonad.Util.ExtensibleState as XS
|
|||||||
|
|
||||||
-- Font to use
|
-- Font to use
|
||||||
myFont :: String
|
myFont :: String
|
||||||
myFont = "xft:Mononoki Nerd Font:pixelsize=12:antialias=true:hinting=true"
|
myFont = "xft:Jet Brains Mono:pixelsize=12:antialias=true:hinting=true"
|
||||||
|
|
||||||
-- Terminal to use
|
-- Terminal to use
|
||||||
myTerminal :: String
|
myTerminal :: String
|
||||||
@ -162,7 +162,7 @@ myScratchPads = [ NS "terminal" spawnTerm findTerm manageTerm
|
|||||||
t = 0.95 -h
|
t = 0.95 -h
|
||||||
l = 0.95 -w
|
l = 0.95 -w
|
||||||
-- Discord
|
-- Discord
|
||||||
spawnDiscord = "discord"
|
spawnDiscord = "flatpak run com.discordapp.Discord"
|
||||||
findDiscord = appName =? "discord"
|
findDiscord = appName =? "discord"
|
||||||
manageDiscord = customFloating $ W.RationalRect l t w h
|
manageDiscord = customFloating $ W.RationalRect l t w h
|
||||||
where
|
where
|
||||||
@ -228,7 +228,7 @@ myManageHook = composeAll . concat $
|
|||||||
|
|
||||||
-- Set dynamic display modes
|
-- Set dynamic display modes
|
||||||
myEventHook :: Event -> X All
|
myEventHook :: Event -> X All
|
||||||
myEventHook = dynamicPropertyChange "WM_NAME" (title =? "scratch-emacs" --> floating)
|
myEventHook = onXPropertyChange "WM_NAME" (title =? "scratch-emacs" --> floating)
|
||||||
where floating = customFloating $ W.RationalRect (1/6) 0.05 (2/3) 0.9
|
where floating = customFloating $ W.RationalRect (1/6) 0.05 (2/3) 0.9
|
||||||
-- Log hook
|
-- Log hook
|
||||||
myLogHook = historyHook <+> updatePointer (0.5, 0.5) (0, 0)
|
myLogHook = historyHook <+> updatePointer (0.5, 0.5) (0, 0)
|
||||||
|
@ -1,2 +0,0 @@
|
|||||||
[[ -f ~/.Xresources ]] && xrdb -merge ~/.Xresources
|
|
||||||
exec dbus-run-session i3
|
|
@ -163,24 +163,26 @@ I use a windows virtual machine with gpu passthrough of the few games that
|
|||||||
won't work on linux, Zwift, and Fusion360. [This](https://github.com/ilayna/Single-GPU-passthrough-amd-nvidia)
|
won't work on linux, Zwift, and Fusion360. [This](https://github.com/ilayna/Single-GPU-passthrough-amd-nvidia)
|
||||||
has scripts that make that process relatively easy and [this wiki](https://gitlab.com/risingprismtv/single-gpu-passthrough/-/wikis/home)
|
has scripts that make that process relatively easy and [this wiki](https://gitlab.com/risingprismtv/single-gpu-passthrough/-/wikis/home)
|
||||||
provides good information on setting up the virtual machine in virt-manager.
|
provides good information on setting up the virtual machine in virt-manager.
|
||||||
The virt-manager setup should usually be avoided by transfering the VM between
|
The `patch.rom` required for my GPU is included in my repo. The virt-manager
|
||||||
machines. The `patch.rom` required for my GPU is included in my repo.
|
setup should usually be avoided by transfering the VM between machines:
|
||||||
|
|
||||||
|
1. Copy the VM's disks from `/var/lib/libvirt/images` on src host to the same dir on destination host
|
||||||
|
2. On the source host run `virsh dumpxml VMNAME > domxml.xml` and copy this xml to the destination host
|
||||||
|
3. On the destination host run `virsh define domxml.xml`
|
||||||
|
|
||||||
## Google earth pro
|
## Google earth pro
|
||||||
|
|
||||||
[Google earth](https://www.google.com/earth/versions/) is nice for visualizing
|
[Google earth](https://www.google.com/earth/versions/) is nice for visualizing
|
||||||
my hikes and checking out snow levels. Download the RPM and install with yum.
|
my hikes and checking out snow levels. Download the RPM and install with yum.
|
||||||
|
|
||||||
## Rofi for wayland
|
## Emacs
|
||||||
|
|
||||||
Rofi doesn't work by default on wayland.
|
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
sudo pacman -S meson
|
git clone git://git.sv.gnu.org/emacs.git
|
||||||
# Use wayland branch
|
sudo dnf install autoconf texinfo gtk3-devel libgccjit-devel gnutls-devel ncurses-devel jansson jansson-devel
|
||||||
git clone https://github.com/lbonn/rofi.git
|
cd emacs
|
||||||
cd rofi
|
./autogen.sh
|
||||||
meson setup build -Dxcb=disabled
|
./configure --with-native-compilation --with-json --with-pgtk
|
||||||
ninja -C build
|
make -j16
|
||||||
sudo ninja -C build install
|
sudo make install
|
||||||
```
|
```
|
||||||
|
@ -8,17 +8,21 @@
|
|||||||
- nvidia-utils
|
- nvidia-utils
|
||||||
- lib32-nvidia-utils
|
- lib32-nvidia-utils
|
||||||
- firefox # Mozilla Firefox web browser
|
- firefox # Mozilla Firefox web browser
|
||||||
- sway
|
|
||||||
- swayidle
|
|
||||||
- swaylock
|
|
||||||
- waybar
|
|
||||||
- ttf-jetbrains-mono-nerd
|
- ttf-jetbrains-mono-nerd
|
||||||
- ydotool
|
|
||||||
- wl-clipboard
|
|
||||||
- udiskie
|
- udiskie
|
||||||
- network-manager-applet
|
- network-manager-applet
|
||||||
- blueman
|
- blueman
|
||||||
- flameshot
|
- flameshot
|
||||||
|
- libx11
|
||||||
|
- libxft
|
||||||
|
- libxinerama
|
||||||
|
- libxrandr
|
||||||
|
- libxss
|
||||||
|
- pkgconf
|
||||||
|
- stack
|
||||||
|
- rofi
|
||||||
|
- xorg
|
||||||
|
- xorg-xinit
|
||||||
state: present
|
state: present
|
||||||
become: true
|
become: true
|
||||||
|
|
||||||
@ -30,5 +34,6 @@
|
|||||||
- org.inkscape.Inkscape # Vector Graphics Editor
|
- org.inkscape.Inkscape # Vector Graphics Editor
|
||||||
- com.github.tchx84.Flatseal # Manage Flatpak permissions
|
- com.github.tchx84.Flatseal # Manage Flatpak permissions
|
||||||
- org.kde.kdenlive
|
- org.kde.kdenlive
|
||||||
|
- com.bitwarden.desktop
|
||||||
state: present
|
state: present
|
||||||
become: true
|
become: true
|
||||||
|
@ -23,6 +23,7 @@
|
|||||||
ansible.builtin.pip:
|
ansible.builtin.pip:
|
||||||
name:
|
name:
|
||||||
- ansible-lint # Command-line tool for linting playbooks, roles and collections
|
- ansible-lint # Command-line tool for linting playbooks, roles and collections
|
||||||
|
- pyright
|
||||||
|
|
||||||
- name: Install development flatpaks
|
- name: Install development flatpaks
|
||||||
flatpak:
|
flatpak:
|
||||||
|
@ -3,5 +3,6 @@
|
|||||||
name:
|
name:
|
||||||
- freecad # General purpose 3D CAD modeler
|
- freecad # General purpose 3D CAD modeler
|
||||||
- superslicer
|
- superslicer
|
||||||
|
- gqrx
|
||||||
state: present
|
state: present
|
||||||
become: true
|
become: true
|
||||||
|
@ -8,8 +8,6 @@
|
|||||||
- wireguard-tools # Fast, modern, secure vpn tunnel
|
- wireguard-tools # Fast, modern, secure vpn tunnel
|
||||||
- libfreeaptx # PipeWire Bluetooth aptX codec plugin
|
- libfreeaptx # PipeWire Bluetooth aptX codec plugin
|
||||||
- ansible # Simple deployment, configuration management and execution framework
|
- ansible # Simple deployment, configuration management and execution framework
|
||||||
#- '@Development tools' # Development tools for Fedora
|
|
||||||
#- '@virtualization' # Virtualization tools for Fedora
|
|
||||||
- trash-cli # Command line interface to the freedesktop.org trashcan
|
- trash-cli # Command line interface to the freedesktop.org trashcan
|
||||||
- android-tools # Android platform tools(adb, fastboot)
|
- android-tools # Android platform tools(adb, fastboot)
|
||||||
- snapper
|
- snapper
|
||||||
|
@ -16,6 +16,7 @@
|
|||||||
- khard # Command-line addressbook built around CardDAV
|
- khard # Command-line addressbook built around CardDAV
|
||||||
- vdirsyncer # Synchronize calendars and addressbooks
|
- vdirsyncer # Synchronize calendars and addressbooks
|
||||||
- neofetch # Simple system information script
|
- neofetch # Simple system information script
|
||||||
|
- zk
|
||||||
state: present
|
state: present
|
||||||
become: true
|
become: true
|
||||||
|
|
||||||
|
@ -38,6 +38,7 @@ echo "{
|
|||||||
\"disp_sec\": \"HDMI-0\"
|
\"disp_sec\": \"HDMI-0\"
|
||||||
}" > "$CHEZDIR/home/.gen/i3.json"
|
}" > "$CHEZDIR/home/.gen/i3.json"
|
||||||
|
|
||||||
|
# Wait in-case there is an error
|
||||||
read lel
|
read lel
|
||||||
|
|
||||||
# initialize chezmoi
|
# initialize chezmoi
|
||||||
|
@ -8,6 +8,17 @@
|
|||||||
#- nerd-fonts # Iconic font aggregator, collection and patcher
|
#- nerd-fonts # Iconic font aggregator, collection and patcher
|
||||||
- gnome-tweaks
|
- gnome-tweaks
|
||||||
- evolution
|
- evolution
|
||||||
|
- "@base-x"
|
||||||
|
- alacritty
|
||||||
|
- rofi
|
||||||
|
- nitrogen
|
||||||
|
- libX11-devel
|
||||||
|
- libXft-devel
|
||||||
|
- libXinerama-devel
|
||||||
|
- libXrandr-devel
|
||||||
|
- libXScrnSaver-devel
|
||||||
|
- stack
|
||||||
|
- xorg-x11-xinit-session
|
||||||
state: present
|
state: present
|
||||||
become: true
|
become: true
|
||||||
|
|
||||||
|
@ -44,6 +44,7 @@
|
|||||||
- cargo
|
- cargo
|
||||||
- iosevka-fonts
|
- iosevka-fonts
|
||||||
- borgbackup
|
- borgbackup
|
||||||
|
- fzf
|
||||||
state: present
|
state: present
|
||||||
become: true
|
become: true
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user