Compare commits
16 Commits
| Author | SHA1 | Date |
|---|---|---|
|
|
78f7f84ef5 | |
|
|
d0cd3783cf | |
|
|
4ed2e0831b | |
|
|
4411c5f9a6 | |
|
|
d76e8aebf7 | |
|
|
2236d67d6e | |
|
|
e5a13840a7 | |
|
|
021fcbff61 | |
|
|
86ec8ee471 | |
|
|
f4bcd89714 | |
|
|
aecbf02a04 | |
|
|
beead9be21 | |
|
|
95263cc8d6 | |
|
|
33f82903e4 | |
|
|
cc54ff0749 | |
|
|
bbd793cc82 |
|
|
@ -14,11 +14,15 @@ bind -m vi-insert 'Control-l: clear-screen'
|
||||||
PS1='\[\e[32m\]\u@\h\[\e[0m\]:\[\e[34m\]\w\[\e[0m\] \$ '
|
PS1='\[\e[32m\]\u@\h\[\e[0m\]:\[\e[34m\]\w\[\e[0m\] \$ '
|
||||||
|
|
||||||
# Source this file from git that expands PS1 stuff
|
# Source this file from git that expands PS1 stuff
|
||||||
GIT_PS1_SHOWUPSTREAM=git
|
GIT_PS1_SHOWUPSTREAM='verbose name'
|
||||||
GIT_PS1_SHOWDIRTYSTATE=true
|
GIT_PS1_SHOWDIRTYSTATE=true
|
||||||
GIT_PS1_SHOWUNTRACKEDFILES=true
|
GIT_PS1_SHOWUNTRACKEDFILES=true
|
||||||
|
#GIT_PS1_SHOWCOLORHINTS=true
|
||||||
|
GIT_PS1_DESCRIBE_STYLE=branch
|
||||||
source /etc/bash_completion.d/git-prompt.sh
|
source /etc/bash_completion.d/git-prompt.sh
|
||||||
PS1='\[\e[01;32m\]\u@\h\[\e[0m\]:\[\e[01;34m\]\w\[\e[0m\]$(__git_ps1 " (%s)")\[\e[0m\]\$ '
|
PS1='\[\e[01;32m\]\u@\h\[\e[0m\]:\[\e[01;34m\]\w\[\e[0m\]$(__git_ps1 "(%s)")\[\e[0m\]\$ '
|
||||||
|
[[ $PS1 && -f /usr/share/bash-completion/bash_completion ]] && \
|
||||||
|
. /usr/share/bash-completion/bash_completion
|
||||||
|
|
||||||
# History settings: no duplicates, decent size
|
# History settings: no duplicates, decent size
|
||||||
HISTSIZE=10000
|
HISTSIZE=10000
|
||||||
|
|
@ -32,16 +36,22 @@ alias np='nano -w PKGBUILD'
|
||||||
alias more="less"
|
alias more="less"
|
||||||
alias rofi='rofi -m 1'
|
alias rofi='rofi -m 1'
|
||||||
alias weather="curl wttr.in"
|
alias weather="curl wttr.in"
|
||||||
alias ls="exa -lhg --group-directories-first"
|
alias ls="eza -lhg --group-directories-first"
|
||||||
alias ll="exa -lhga --group-directories-first"
|
alias ll="eza -lhga --group-directories-first"
|
||||||
alias vim="nvim"
|
alias vim="nvim"
|
||||||
alias docs="python ~/scripts/stock_price.py -s docs"
|
alias docs="python ~/scripts/stock_price.py -s docs"
|
||||||
alias stock="python ~/scripts/stock_price.py -s "
|
alias stock="python ~/scripts/stock_price.py -s "
|
||||||
alias r="ranger"
|
alias r="ranger"
|
||||||
alias grep='grep --colour=auto'
|
alias grep='grep --colour=auto'
|
||||||
|
alias cdd='. ~/scripts/project_picker.sh'
|
||||||
|
alias configedit='. ~/scripts/config_edit.sh'
|
||||||
|
alias clip='cliphist list | fzf --no-sort | cliphist decode | wl-copy'
|
||||||
|
alias vp='source ~/scripts/venv_picker.sh'
|
||||||
|
|
||||||
# expand path
|
# expand path
|
||||||
PATH=$PATH:/usr/local/bin
|
PATH=/usr/local/bin:/usr/bin/:/usr/sbin
|
||||||
|
PATH=$PATH:~/.local/share
|
||||||
|
PATH=$PATH:/home/clint/flutter/bin
|
||||||
|
|
||||||
# exports
|
# exports
|
||||||
export EDITOR=/usr/bin/nvim
|
export EDITOR=/usr/bin/nvim
|
||||||
|
|
@ -60,3 +70,6 @@ bind '"\C-t": "fzf --preview \"cat {}\" < <(find . -type f) | xargs $EDITOR\n"'
|
||||||
|
|
||||||
# kinda annoying tbh
|
# kinda annoying tbh
|
||||||
# pfetch || neofetch || fastfetch
|
# pfetch || neofetch || fastfetch
|
||||||
|
|
||||||
|
# Created by `pipx` on 2025-05-04 00:05:20
|
||||||
|
export PATH="$PATH:/home/clint/.local/bin"
|
||||||
|
|
|
||||||
|
|
@ -13,7 +13,8 @@ monitor = DP-2,1920x1080, 1920x0, 1
|
||||||
# See https://wiki.hyprland.org/Configuring/Keywords/
|
# See https://wiki.hyprland.org/Configuring/Keywords/
|
||||||
$terminal = alacritty
|
$terminal = alacritty
|
||||||
$fileManager = dolphin
|
$fileManager = dolphin
|
||||||
$menu = wofi --show drun
|
# $menu = wofi --show drun
|
||||||
|
$menu = rofi -theme /home/clint/.config/wofi/test3.rasi -show drun
|
||||||
|
|
||||||
#################
|
#################
|
||||||
### AUTOSTART ###
|
### AUTOSTART ###
|
||||||
|
|
@ -22,6 +23,7 @@ $menu = wofi --show drun
|
||||||
# Autostart necessary processes (like notifications daemons, status bars, etc.)
|
# Autostart necessary processes (like notifications daemons, status bars, etc.)
|
||||||
# Or execute your favorite apps at launch like this:
|
# Or execute your favorite apps at launch like this:
|
||||||
exec-once = waybar & hyprpaper
|
exec-once = waybar & hyprpaper
|
||||||
|
exec-once = wl-paste --watch cliphist store
|
||||||
|
|
||||||
#############################
|
#############################
|
||||||
### ENVIRONMENT VARIABLES ###
|
### ENVIRONMENT VARIABLES ###
|
||||||
|
|
@ -65,10 +67,12 @@ decoration {
|
||||||
active_opacity = 1.0
|
active_opacity = 1.0
|
||||||
inactive_opacity = 1.0
|
inactive_opacity = 1.0
|
||||||
|
|
||||||
drop_shadow = true
|
shadow {
|
||||||
shadow_range = 4
|
enabled = true
|
||||||
shadow_render_power = 3
|
range = 4
|
||||||
col.shadow = rgba(1a1a1aee)
|
render_power = 3
|
||||||
|
color = rgba(1a1a1aee)
|
||||||
|
}
|
||||||
|
|
||||||
# https://wiki.hyprland.org/Configuring/Variables/#blur
|
# https://wiki.hyprland.org/Configuring/Variables/#blur
|
||||||
blur {
|
blur {
|
||||||
|
|
@ -152,19 +156,25 @@ device {
|
||||||
# See https://wiki.hyprland.org/Configuring/Keywords/
|
# See https://wiki.hyprland.org/Configuring/Keywords/
|
||||||
$mainMod = SUPER # Sets "Windows" key as main modifier
|
$mainMod = SUPER # Sets "Windows" key as main modifier
|
||||||
|
|
||||||
|
# F-key shenanigans
|
||||||
|
bind = , code:68, exec, pactl set-sink-volume 0 -10% # F2
|
||||||
|
bind = , code:69, exec, pactl set-sink-volume 0 +10% # F3
|
||||||
|
bind = , code:70, exec, pactl set-sink-mute 0 toggle # F4
|
||||||
|
|
||||||
# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
|
# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
|
||||||
bind = $mainMod, Return, exec, $terminal
|
bind = $mainMod, Return, exec, $terminal
|
||||||
bind = $mainMod, Q, killactive,
|
bind = $mainMod, Q, killactive,
|
||||||
bind = $mainMod, M, exit,
|
# bind = $mainMod, M, exit,
|
||||||
bind = $mainMod SHIFT, Space, togglefloating,
|
bind = $mainMod SHIFT, Space, togglefloating,
|
||||||
bind = $mainMod, D, exec, $menu
|
bind = $mainMod, D, exec, $menu
|
||||||
bind = $mainMod SHIFT, P, pseudo, # dwindle
|
bind = $mainMod SHIFT, P, pseudo, # dwindle
|
||||||
bind = $mainMod, J, togglesplit, # dwindle
|
bind = $mainMod, J, togglesplit, # dwindle
|
||||||
bind = $mainMod SHIFT, W, exec, firefox
|
bind = $mainMod SHIFT, W, exec, flatpak run one.ablaze.floorp
|
||||||
bind = $mainMod, P, exec, ~/scripts/hypr_change_wallpaper.sh
|
bind = $mainMod, P, exec, ~/scripts/hypr_change_wallpaper.sh
|
||||||
bind = $mainMod, L, exec, hyprlock
|
bind = $mainMod, L, exec, hyprlock
|
||||||
bind = $mainMod, F, fullscreen
|
bind = $mainMod, F, fullscreen
|
||||||
bind = $mainMod, X, exec, ~/scripts/hypr_shutdown.sh
|
bind = $mainMod, X, exec, ~/scripts/hypr_shutdown.sh
|
||||||
|
bind = $mainMod, H, exec, cliphist list | rofi -theme /home/clint/.config/wofi/test3.rasi -dmenu | cliphist decode | wl-copy
|
||||||
|
|
||||||
# Move focus with mainMod + arrow keys
|
# Move focus with mainMod + arrow keys
|
||||||
bind = $mainMod, left, movefocus, l
|
bind = $mainMod, left, movefocus, l
|
||||||
|
|
@ -191,16 +201,16 @@ bind = $mainMod, 9, workspace, 9
|
||||||
bind = $mainMod, 0, workspace, 10
|
bind = $mainMod, 0, workspace, 10
|
||||||
|
|
||||||
# Move active window to a workspace with mainMod + SHIFT + [0-9]
|
# Move active window to a workspace with mainMod + SHIFT + [0-9]
|
||||||
bind = $mainMod SHIFT, 1, movetoworkspace, 1
|
bind = $mainMod SHIFT, 1, movetoworkspacesilent, 1
|
||||||
bind = $mainMod SHIFT, 2, movetoworkspace, 2
|
bind = $mainMod SHIFT, 2, movetoworkspacesilent, 2
|
||||||
bind = $mainMod SHIFT, 3, movetoworkspace, 3
|
bind = $mainMod SHIFT, 3, movetoworkspacesilent, 3
|
||||||
bind = $mainMod SHIFT, 4, movetoworkspace, 4
|
bind = $mainMod SHIFT, 4, movetoworkspacesilent, 4
|
||||||
bind = $mainMod SHIFT, 5, movetoworkspace, 5
|
bind = $mainMod SHIFT, 5, movetoworkspacesilent, 5
|
||||||
bind = $mainMod SHIFT, 6, movetoworkspace, 6
|
bind = $mainMod SHIFT, 6, movetoworkspacesilent, 6
|
||||||
bind = $mainMod SHIFT, 7, movetoworkspace, 7
|
bind = $mainMod SHIFT, 7, movetoworkspacesilent, 7
|
||||||
bind = $mainMod SHIFT, 8, movetoworkspace, 8
|
bind = $mainMod SHIFT, 8, movetoworkspacesilent, 8
|
||||||
bind = $mainMod SHIFT, 9, movetoworkspace, 9
|
bind = $mainMod SHIFT, 9, movetoworkspacesilent, 9
|
||||||
bind = $mainMod SHIFT, 0, movetoworkspace, 10
|
bind = $mainMod SHIFT, 0, movetoworkspacesilent, 10
|
||||||
|
|
||||||
# idk fixing workspace locations
|
# idk fixing workspace locations
|
||||||
workspace = 1,monitor:HDMI-A-1
|
workspace = 1,monitor:HDMI-A-1
|
||||||
|
|
@ -215,7 +225,7 @@ workspace = 8,monitor:DP-2
|
||||||
|
|
||||||
# Example special workspace (scratchpad)
|
# Example special workspace (scratchpad)
|
||||||
bind = $mainMod, S, togglespecialworkspace, magic
|
bind = $mainMod, S, togglespecialworkspace, magic
|
||||||
bind = $mainMod SHIFT, S, movetoworkspace, special:magic
|
bind = $mainMod SHIFT, S, movetoworkspacesilent, special:magic
|
||||||
|
|
||||||
# Scroll through existing workspaces with mainMod + scroll
|
# Scroll through existing workspaces with mainMod + scroll
|
||||||
bind = $mainMod, mouse_down, workspace, e+1
|
bind = $mainMod, mouse_down, workspace, e+1
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
# BACKGROUND
|
# BACKGROUND
|
||||||
background {
|
background {
|
||||||
monitor =
|
monitor =
|
||||||
path = /home/clint/Pictures/wallpapers/castle2.jpg
|
path = /home/clint/Pictures/wallpapers/mountains2.jpg
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
preload = /home/clint/Pictures/wallpapers/castle_view.jpg
|
preload =
|
||||||
wallpaper = HDMI-A-1, /home/clint/Pictures/wallpapers/castle_view.jpg
|
wallpaper = HDMI-A-1, /home/clint/Pictures/wallpapers/abstract_red_blue.png
|
||||||
wallpaper = DP-2, /home/clint/Pictures/wallpapers/castle_view.jpg
|
wallpaper = DP-2, /home/clint/Pictures/wallpapers/abstract_red_blue.png
|
||||||
|
|
||||||
#enable splash text rendering over the wallpaper
|
#enable splash text rendering over the wallpaper
|
||||||
splash = false
|
splash = false
|
||||||
|
|
|
||||||
|
|
@ -9,3 +9,47 @@ require("lazy").setup(
|
||||||
) -- loads each lua/plugin/*
|
) -- loads each lua/plugin/*
|
||||||
vim.cmd 'hi Normal guibg=NONE ctermbg=NONE'
|
vim.cmd 'hi Normal guibg=NONE ctermbg=NONE'
|
||||||
require("clint") -- loads lua/clint/init.lua
|
require("clint") -- loads lua/clint/init.lua
|
||||||
|
|
||||||
|
-- Mason setup
|
||||||
|
require('mason').setup()
|
||||||
|
require('mason-lspconfig').setup {
|
||||||
|
ensure_installed = { 'basedpyright' }, -- Install Pyright automatically
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
-- LSP setup
|
||||||
|
local lspconfig = require('lspconfig')
|
||||||
|
lspconfig.basedpyright.setup {
|
||||||
|
on_attach = function(client, bufnr)
|
||||||
|
-- Optional: Add keymaps for LSP actions
|
||||||
|
local opts = { buffer = bufnr, noremap = true, silent = true }
|
||||||
|
vim.keymap.set('n', 'gd', vim.lsp.buf.definition, opts)
|
||||||
|
vim.keymap.set('n', 'K', vim.lsp.buf.hover, opts)
|
||||||
|
vim.keymap.set('n', '<leader>rn', vim.lsp.buf.rename, opts)
|
||||||
|
vim.keymap.set('n', '<leader>ca', vim.lsp.buf.code_action, opts)
|
||||||
|
end,
|
||||||
|
capabilities = require('cmp_nvim_lsp').default_capabilities(),
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
-- nvim-cmp config
|
||||||
|
local cmp = require('cmp')
|
||||||
|
cmp.setup {
|
||||||
|
snippet = {
|
||||||
|
expand = function(args)
|
||||||
|
require('luasnip').lsp_expand(args.body)
|
||||||
|
end,
|
||||||
|
},
|
||||||
|
mapping = cmp.mapping.preset.insert({
|
||||||
|
['<Tab>'] = cmp.mapping.select_next_item(),
|
||||||
|
['<S-Tab>'] = cmp.mapping.select_prev_item(),
|
||||||
|
['<CR>'] = cmp.mapping.confirm({ select = true }),
|
||||||
|
['<C-Space>'] = cmp.mapping.complete(),
|
||||||
|
}),
|
||||||
|
sources = cmp.config.sources({
|
||||||
|
{ name = 'nvim_lsp' },
|
||||||
|
{ name = 'luasnip' },
|
||||||
|
{ name = 'buffer' },
|
||||||
|
{ name = 'path' },
|
||||||
|
}),
|
||||||
|
}
|
||||||
|
|
|
||||||
|
|
@ -3,56 +3,40 @@
|
||||||
|
|
||||||
local wk = require("which-key")
|
local wk = require("which-key")
|
||||||
|
|
||||||
wk.register({
|
wk.add({
|
||||||
["<leader>"] = {
|
{ "<leader><F1>", desc = "Open IPython" },
|
||||||
-- File related stuff
|
{ "<leader><F2>", desc = "Execute py file" },
|
||||||
f = {
|
{ "<leader><F5>", desc = "Debug: Continue" },
|
||||||
name = "+file",
|
{ "<leader>B", desc = "Set Breakpoint" },
|
||||||
f = "Find File",
|
{ "<leader>D", desc = "Debug UI" },
|
||||||
s = "Live Search",
|
{ "<leader>K", desc = "Hover" },
|
||||||
b = "File Browser (delete this?)",
|
{ "<leader>R", desc = "Rename Object" },
|
||||||
r = "Recent Files",
|
{ "<leader>Y", desc = "Yank to system clipboard" },
|
||||||
},
|
{ "<leader>b", desc = "Buffers" },
|
||||||
-- Git related stuff
|
{ "<leader>c", desc = "Change Color Scheme" },
|
||||||
g = {
|
{ "<leader>d", desc = "Diagnostics" },
|
||||||
name = "+git",
|
{ "<leader>e", desc = "File Explorer" },
|
||||||
g = "LazyGit",
|
{ "<leader>f", group = "file" },
|
||||||
f = "Git Files",
|
{ "<leader>fb", desc = "File Browser (delete this?)" },
|
||||||
b = "Git Blame (show)",
|
{ "<leader>ff", desc = "Find File" },
|
||||||
n = "Next hunk",
|
{ "<leader>fo", desc = "Format Current File" },
|
||||||
N = "Prev hunk",
|
{ "<leader>fr", desc = "Recent Files" },
|
||||||
|
{ "<leader>fs", desc = "Live Search" },
|
||||||
},
|
{ "<leader>g", group = "git" },
|
||||||
r = {
|
{ "<leader>gN", desc = "Prev hunk" },
|
||||||
name = "+repl",
|
{ "<leader>gb", desc = "Git Blame (show)" },
|
||||||
p = "Run Python"
|
{ "<leader>gd", desc = "Go to definition" },
|
||||||
},
|
{ "<leader>gf", desc = "Git Files" },
|
||||||
t = {
|
{ "<leader>gg", desc = "LazyGit" },
|
||||||
name = "+timestamps",
|
{ "<leader>gn", desc = "Next hunk" },
|
||||||
t = "Print time",
|
{ "<leader>h", desc = "Registers" },
|
||||||
d = "Print date+time"
|
{ "<leader>o", desc = "Object Explorer" },
|
||||||
},
|
{ "<leader>r", group = "repl" },
|
||||||
-- Misc
|
{ "<leader>rp", desc = "Run Python" },
|
||||||
c = "Change Color Scheme",
|
{ "<leader>s", desc = "Find and Replace" },
|
||||||
y = "Yank to system clipboard",
|
{ "<leader>t", group = "timestamps" },
|
||||||
Y = "Yank to system clipboard",
|
{ "<leader>td", desc = "Print date+time" },
|
||||||
d = "Diagnostics",
|
{ "<leader>tt", desc = "Print time" },
|
||||||
e = "File Explorer",
|
{ "<leader>x", desc = "Execute selected code" },
|
||||||
s = "Find and Replace",
|
{ "<leader>y", desc = "Yank to system clipboard" },
|
||||||
b = "Buffers",
|
|
||||||
h = "Registers",
|
|
||||||
o = "Object Explorer",
|
|
||||||
fo = "Format Current File",
|
|
||||||
-- LSP related stuff
|
|
||||||
R = "Rename Object",
|
|
||||||
K = "Hover",
|
|
||||||
gd = "Go to definition",
|
|
||||||
-- Debugging
|
|
||||||
D = "Debug UI",
|
|
||||||
B = "Set Breakpoint",
|
|
||||||
["<F1>"] = "Open IPython",
|
|
||||||
x = "Execute selected code",
|
|
||||||
["<F2>"] = "Execute py file",
|
|
||||||
["<F5>"] = "Debug: Continue",
|
|
||||||
},
|
|
||||||
})
|
})
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,21 @@
|
||||||
return {
|
return {
|
||||||
|
|
||||||
|
-- -- Linter
|
||||||
|
-- {
|
||||||
|
-- 'jose-elias-alvarez/null-ls.nvim',
|
||||||
|
-- config = function()
|
||||||
|
-- local nls = require("null-ls")
|
||||||
|
-- nls.setup({
|
||||||
|
-- sources = {
|
||||||
|
-- nls.builtins.formatting.black,
|
||||||
|
-- },
|
||||||
|
-- })
|
||||||
|
-- end,
|
||||||
|
-- },
|
||||||
|
|
||||||
-- Linter
|
-- Linter
|
||||||
{
|
{
|
||||||
'jose-elias-alvarez/null-ls.nvim',
|
'nvimtools/none-ls.nvim',
|
||||||
config = function()
|
config = function()
|
||||||
local nls = require("null-ls")
|
local nls = require("null-ls")
|
||||||
nls.setup({
|
nls.setup({
|
||||||
|
|
|
||||||
|
|
@ -113,7 +113,7 @@ set preview_images true
|
||||||
# Preview images in full color with the external command "ueberzug".
|
# Preview images in full color with the external command "ueberzug".
|
||||||
# Images are shown by using a child window.
|
# Images are shown by using a child window.
|
||||||
# Only for users who run X11 in GNU/Linux.
|
# Only for users who run X11 in GNU/Linux.
|
||||||
set preview_images_method w3m
|
set preview_images_method kitty
|
||||||
|
|
||||||
# Delay in seconds before displaying an image with the w3m method.
|
# Delay in seconds before displaying an image with the w3m method.
|
||||||
# Increase it in case of experiencing display corruption.
|
# Increase it in case of experiencing display corruption.
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,7 @@ set-window-option -g status-left-length 30
|
||||||
|
|
||||||
# right status
|
# right status
|
||||||
set-window-option -g status-right-length 300
|
set-window-option -g status-right-length 300
|
||||||
set-window-option -g status-right "#[bg=white fg=black bold][`F]#[bg=black fg=white] Search #[bg=white fg=black bold][`C-r]#[bg=black fg=white] Restore #[bg=white fg=black bold][`C-s]#[bg=black fg=white] Save#[fg=brightred bg=black] #[fg=white bg=black] #{weather} #[fg=brightred bg=black] #[fg=colour179 bg=black]🖥 CPU:#{cpu_percentage} MEM:#{ram_percentage} #[fg=brightred bg=black] #[fg=white bg=black]📅%Y-%m-%d 🕗%I:%m%p"
|
set-window-option -g status-right "#[bg=white fg=black bold][`F]#[bg=black fg=white] Search #[bg=white fg=black bold][`C-r]#[bg=black fg=white] Restore #[bg=white fg=black bold][`C-s]#[bg=black fg=white] Save#[fg=brightred bg=black] #[fg=white bg=black] #{weather} #[fg=brightred bg=black] #[fg=colour179 bg=black]🖥 CPU:#{cpu_percentage} MEM:#{ram_percentage} #[fg=brightred bg=black] #[fg=white bg=black]📅%Y-%m-%d 🕗%I:%M%p"
|
||||||
set-window-option -g status-right-style "fg=white bg=black"
|
set-window-option -g status-right-style "fg=white bg=black"
|
||||||
# set-option -g status-right
|
# set-option -g status-right
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -3,22 +3,27 @@
|
||||||
"output": ["HDMI-A-1"],
|
"output": ["HDMI-A-1"],
|
||||||
"layer": "top", // Waybar at top layer
|
"layer": "top", // Waybar at top layer
|
||||||
"position": "top", // Waybar position (top|bottom|left|right)
|
"position": "top", // Waybar position (top|bottom|left|right)
|
||||||
"height": 30, // Waybar height (to be removed for auto height)
|
"height": 20, // Waybar height (to be removed for auto height)
|
||||||
// "width": 1280, // Waybar width
|
// "width": 1280, // Waybar width
|
||||||
"spacing": 10, // Gaps between modules (4px)
|
"spacing": 10, // Gaps between modules (4px)
|
||||||
// Choose the order of the modules
|
// Choose the order of the modules
|
||||||
"modules-left": [
|
"modules-left": [
|
||||||
"hyprland/workspaces",
|
"hyprland/workspaces",
|
||||||
|
"user",
|
||||||
],
|
],
|
||||||
"modules-center": [
|
// "modules-center": [
|
||||||
"hyprland/window",
|
// "hyprland/window",
|
||||||
],
|
// ],
|
||||||
"modules-right": [
|
"modules-right": [
|
||||||
|
"custom/caspar",
|
||||||
|
"custom/cas01",
|
||||||
|
// "custom/cas02",
|
||||||
"custom/packages",
|
"custom/packages",
|
||||||
"network",
|
// "network",
|
||||||
"cpu",
|
// "cpu",
|
||||||
"memory",
|
// "memory",
|
||||||
"temperature",
|
// "temperature",
|
||||||
|
"custom/weather",
|
||||||
"clock"
|
"clock"
|
||||||
],
|
],
|
||||||
|
|
||||||
|
|
@ -29,22 +34,21 @@
|
||||||
"all-outputs": true,
|
"all-outputs": true,
|
||||||
"format": "{icon}",
|
"format": "{icon}",
|
||||||
"format-icons": {
|
"format-icons": {
|
||||||
"1": "一",
|
"1": "I",
|
||||||
"2": "二",
|
"2": "II",
|
||||||
"3": "三",
|
"3": "III",
|
||||||
"4": "四",
|
"4": "IV",
|
||||||
"5": "五",
|
"5": "V",
|
||||||
"6": "六",
|
"6": "VI",
|
||||||
"7": "七",
|
"7": "VII",
|
||||||
"8": "八",
|
"8": "VIII",
|
||||||
"9": "九",
|
"9": "IX",
|
||||||
"10": "十",
|
"10": "X",
|
||||||
}},
|
}},
|
||||||
|
|
||||||
"hyprland/window": {
|
"hyprland/window": {
|
||||||
"max-length": 20,
|
"max-length": 20,
|
||||||
"min-length": 10
|
"min-length": 10
|
||||||
|
|
||||||
},
|
},
|
||||||
|
|
||||||
"tray": {
|
"tray": {
|
||||||
|
|
@ -55,7 +59,7 @@
|
||||||
"clock": {
|
"clock": {
|
||||||
"interval": 60,
|
"interval": 60,
|
||||||
"timezone": "America/Chicago",
|
"timezone": "America/Chicago",
|
||||||
"format": "{:%I:%M}",
|
"format": "{:%I:%M%p}",
|
||||||
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
|
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
|
||||||
"format-alt": "{:%Y-%m-%d}"
|
"format-alt": "{:%Y-%m-%d}"
|
||||||
},
|
},
|
||||||
|
|
@ -101,8 +105,39 @@
|
||||||
|
|
||||||
|
|
||||||
"custom/packages": {
|
"custom/packages": {
|
||||||
"format": "{} 🗁",
|
"format": "{} 📦",
|
||||||
"interval": 30,
|
"interval": 30,
|
||||||
"exec": "dnf check-update -q | grep updates | wc -l 2> /dev/null"
|
"exec": "dnf check-update -q | grep updates | wc -l 2> /dev/null"
|
||||||
},
|
},
|
||||||
|
|
||||||
|
"custom/weather": {
|
||||||
|
"format": "{}",
|
||||||
|
"interval": 30,
|
||||||
|
"exec": "~/scripts/hypr_weather.sh"
|
||||||
|
},
|
||||||
|
"custom/caspar": {
|
||||||
|
"format": "{} 🖥",
|
||||||
|
"interval": 30,
|
||||||
|
"exec": "~/scripts/check_server_status.sh caspar",
|
||||||
|
"return-type": "json"
|
||||||
|
},
|
||||||
|
"custom/cas01": {
|
||||||
|
"format": "{} 🖥",
|
||||||
|
"interval": 30,
|
||||||
|
"exec": "~/scripts/check_server_status.sh cas01",
|
||||||
|
"return-type": "json"
|
||||||
|
},
|
||||||
|
"custom/cas02": {
|
||||||
|
"format": "{} 🖥",
|
||||||
|
"interval": 30,
|
||||||
|
"exec": "~/scripts/check_server_status.sh cas02",
|
||||||
|
"return-type": "json"
|
||||||
|
},
|
||||||
|
"user": {
|
||||||
|
"format": "{user} (up {work_d} days ↑)",
|
||||||
|
"interval": 60,
|
||||||
|
"height": 30,
|
||||||
|
"width": 30,
|
||||||
|
"icon": true,
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,129 @@
|
||||||
|
// -*- mode: jsonc -*-
|
||||||
|
{
|
||||||
|
"output": ["HDMI-A-1"],
|
||||||
|
"layer": "top", // Waybar at top layer
|
||||||
|
"position": "top", // Waybar position (top|bottom|left|right)
|
||||||
|
"height": 30, // Waybar height (to be removed for auto height)
|
||||||
|
// "width": 1280, // Waybar width
|
||||||
|
"spacing": 10, // Gaps between modules (4px)
|
||||||
|
// Choose the order of the modules
|
||||||
|
"modules-left": [
|
||||||
|
"hyprland/workspaces",
|
||||||
|
],
|
||||||
|
"modules-center": [
|
||||||
|
"hyprland/window",
|
||||||
|
],
|
||||||
|
"modules-right": [
|
||||||
|
"custom/caspar",
|
||||||
|
"custom/cas01",
|
||||||
|
"custom/cas02",
|
||||||
|
"custom/packages",
|
||||||
|
"network",
|
||||||
|
"cpu",
|
||||||
|
"memory",
|
||||||
|
"temperature",
|
||||||
|
"clock"
|
||||||
|
],
|
||||||
|
|
||||||
|
|
||||||
|
// Modules configuration
|
||||||
|
"hyprland/workspaces": {
|
||||||
|
"active-only": false,
|
||||||
|
"all-outputs": true,
|
||||||
|
"format": "{icon}",
|
||||||
|
"format-icons": {
|
||||||
|
"1": "一",
|
||||||
|
"2": "二",
|
||||||
|
"3": "三",
|
||||||
|
"4": "四",
|
||||||
|
"5": "五",
|
||||||
|
"6": "六",
|
||||||
|
"7": "七",
|
||||||
|
"8": "八",
|
||||||
|
"9": "九",
|
||||||
|
"10": "十",
|
||||||
|
}},
|
||||||
|
|
||||||
|
"hyprland/window": {
|
||||||
|
"max-length": 20,
|
||||||
|
"min-length": 10
|
||||||
|
},
|
||||||
|
|
||||||
|
"tray": {
|
||||||
|
// "icon-size": 21,
|
||||||
|
"spacing": 10
|
||||||
|
},
|
||||||
|
|
||||||
|
"clock": {
|
||||||
|
"interval": 60,
|
||||||
|
"timezone": "America/Chicago",
|
||||||
|
"format": "{:%I:%M}",
|
||||||
|
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
|
||||||
|
"format-alt": "{:%Y-%m-%d}"
|
||||||
|
},
|
||||||
|
|
||||||
|
"cpu": {
|
||||||
|
"format": "{usage}% ",
|
||||||
|
"tooltip": false
|
||||||
|
},
|
||||||
|
|
||||||
|
"memory": {
|
||||||
|
"format": "{}% "
|
||||||
|
},
|
||||||
|
|
||||||
|
"network": {
|
||||||
|
// "interface": "wlp2*", // (Optional) To force the use of this interface
|
||||||
|
"format-wifi": "{essid} ({signalStrength}%) ",
|
||||||
|
"format-ethernet": "{ipaddr}/{cidr} 🖧",
|
||||||
|
"tooltip-format": "{ifname} via {gwaddr} ",
|
||||||
|
"format-linked": "{ifname} (No IP) ",
|
||||||
|
"format-disconnected": "Disconnected ⚠",
|
||||||
|
"format-alt": "{ifname}: {ipaddr}/{cidr}"
|
||||||
|
},
|
||||||
|
|
||||||
|
"pulseaudio": {
|
||||||
|
// "scroll-step": 1, // %, can be a float
|
||||||
|
"format": "{volume}% {icon} {format_source}",
|
||||||
|
"format-bluetooth": "{volume}% {icon} {format_source}",
|
||||||
|
"format-bluetooth-muted": " {icon} {format_source}",
|
||||||
|
"format-muted": " {format_source}",
|
||||||
|
"format-source": "{volume}% ",
|
||||||
|
"format-source-muted": "",
|
||||||
|
"format-icons": {
|
||||||
|
"headphone": "",
|
||||||
|
"hands-free": "",
|
||||||
|
"headset": "",
|
||||||
|
"phone": "",
|
||||||
|
"portable": "",
|
||||||
|
"car": "",
|
||||||
|
"default": ["", "", ""]
|
||||||
|
},
|
||||||
|
"on-click": "pavucontrol"
|
||||||
|
},
|
||||||
|
|
||||||
|
|
||||||
|
"custom/packages": {
|
||||||
|
"format": "{} 🗁",
|
||||||
|
"interval": 30,
|
||||||
|
"exec": "dnf check-update -q | grep updates | wc -l 2> /dev/null"
|
||||||
|
},
|
||||||
|
|
||||||
|
"custom/caspar": {
|
||||||
|
"format": "{} 🗁",
|
||||||
|
"interval": 30,
|
||||||
|
"exec": "~/scripts/check_server_status.sh caspar",
|
||||||
|
"return-type": "json"
|
||||||
|
},
|
||||||
|
"custom/cas01": {
|
||||||
|
"format": "{} 🗁",
|
||||||
|
"interval": 30,
|
||||||
|
"exec": "~/scripts/check_server_status.sh cas01",
|
||||||
|
"return-type": "json"
|
||||||
|
},
|
||||||
|
"custom/cas02": {
|
||||||
|
"format": "{} 🗁",
|
||||||
|
"interval": 30,
|
||||||
|
"exec": "~/scripts/check_server_status.sh cas02",
|
||||||
|
"return-type": "json"
|
||||||
|
},
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,129 @@
|
||||||
|
// -*- mode: jsonc -*-
|
||||||
|
{
|
||||||
|
"output": ["HDMI-A-1"],
|
||||||
|
"layer": "top", // Waybar at top layer
|
||||||
|
"position": "top", // Waybar position (top|bottom|left|right)
|
||||||
|
"height": 20, // Waybar height (to be removed for auto height)
|
||||||
|
// "width": 1280, // Waybar width
|
||||||
|
"spacing": 10, // Gaps between modules (4px)
|
||||||
|
// Choose the order of the modules
|
||||||
|
"modules-left": [
|
||||||
|
"hyprland/workspaces",
|
||||||
|
],
|
||||||
|
// "modules-center": [
|
||||||
|
// "hyprland/window",
|
||||||
|
// ],
|
||||||
|
"modules-right": [
|
||||||
|
"custom/caspar",
|
||||||
|
"custom/cas01",
|
||||||
|
// "custom/cas02",
|
||||||
|
"custom/packages",
|
||||||
|
"network",
|
||||||
|
"cpu",
|
||||||
|
"memory",
|
||||||
|
"temperature",
|
||||||
|
"clock"
|
||||||
|
],
|
||||||
|
|
||||||
|
|
||||||
|
// Modules configuration
|
||||||
|
"hyprland/workspaces": {
|
||||||
|
"active-only": false,
|
||||||
|
"all-outputs": true,
|
||||||
|
"format": "{icon}",
|
||||||
|
"format-icons": {
|
||||||
|
"1": "I",
|
||||||
|
"2": "II",
|
||||||
|
"3": "III",
|
||||||
|
"4": "IV",
|
||||||
|
"5": "V",
|
||||||
|
"6": "VI",
|
||||||
|
"7": "VII",
|
||||||
|
"8": "VIII",
|
||||||
|
"9": "IX",
|
||||||
|
"10": "X",
|
||||||
|
}},
|
||||||
|
|
||||||
|
"hyprland/window": {
|
||||||
|
"max-length": 20,
|
||||||
|
"min-length": 10
|
||||||
|
},
|
||||||
|
|
||||||
|
"tray": {
|
||||||
|
// "icon-size": 21,
|
||||||
|
"spacing": 10
|
||||||
|
},
|
||||||
|
|
||||||
|
"clock": {
|
||||||
|
"interval": 60,
|
||||||
|
"timezone": "America/Chicago",
|
||||||
|
"format": "{:%I:%M}",
|
||||||
|
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
|
||||||
|
"format-alt": "{:%Y-%m-%d}"
|
||||||
|
},
|
||||||
|
|
||||||
|
"cpu": {
|
||||||
|
"format": "{usage}% ",
|
||||||
|
"tooltip": false
|
||||||
|
},
|
||||||
|
|
||||||
|
"memory": {
|
||||||
|
"format": "{}% "
|
||||||
|
},
|
||||||
|
|
||||||
|
"network": {
|
||||||
|
// "interface": "wlp2*", // (Optional) To force the use of this interface
|
||||||
|
"format-wifi": "{essid} ({signalStrength}%) ",
|
||||||
|
"format-ethernet": "{ipaddr}/{cidr} 🖧",
|
||||||
|
"tooltip-format": "{ifname} via {gwaddr} ",
|
||||||
|
"format-linked": "{ifname} (No IP) ",
|
||||||
|
"format-disconnected": "Disconnected ⚠",
|
||||||
|
"format-alt": "{ifname}: {ipaddr}/{cidr}"
|
||||||
|
},
|
||||||
|
|
||||||
|
"pulseaudio": {
|
||||||
|
// "scroll-step": 1, // %, can be a float
|
||||||
|
"format": "{volume}% {icon} {format_source}",
|
||||||
|
"format-bluetooth": "{volume}% {icon} {format_source}",
|
||||||
|
"format-bluetooth-muted": " {icon} {format_source}",
|
||||||
|
"format-muted": " {format_source}",
|
||||||
|
"format-source": "{volume}% ",
|
||||||
|
"format-source-muted": "",
|
||||||
|
"format-icons": {
|
||||||
|
"headphone": "",
|
||||||
|
"hands-free": "",
|
||||||
|
"headset": "",
|
||||||
|
"phone": "",
|
||||||
|
"portable": "",
|
||||||
|
"car": "",
|
||||||
|
"default": ["", "", ""]
|
||||||
|
},
|
||||||
|
"on-click": "pavucontrol"
|
||||||
|
},
|
||||||
|
|
||||||
|
|
||||||
|
"custom/packages": {
|
||||||
|
"format": "{} 📦",
|
||||||
|
"interval": 30,
|
||||||
|
"exec": "dnf check-update -q | grep updates | wc -l 2> /dev/null"
|
||||||
|
},
|
||||||
|
|
||||||
|
"custom/caspar": {
|
||||||
|
"format": "{} 🖥",
|
||||||
|
"interval": 30,
|
||||||
|
"exec": "~/scripts/check_server_status.sh caspar",
|
||||||
|
"return-type": "json"
|
||||||
|
},
|
||||||
|
"custom/cas01": {
|
||||||
|
"format": "{} 🖥",
|
||||||
|
"interval": 30,
|
||||||
|
"exec": "~/scripts/check_server_status.sh cas01",
|
||||||
|
"return-type": "json"
|
||||||
|
},
|
||||||
|
"custom/cas02": {
|
||||||
|
"format": "{} 🖥",
|
||||||
|
"interval": 30,
|
||||||
|
"exec": "~/scripts/check_server_status.sh cas02",
|
||||||
|
"return-type": "json"
|
||||||
|
},
|
||||||
|
}
|
||||||
|
|
@ -1,11 +1,13 @@
|
||||||
* {
|
* {
|
||||||
/* `otf-font-awesome` is required to be installed for icons */
|
/* `otf-font-awesome` is required to be installed for icons */
|
||||||
font-family: Courier, FontAwesome;
|
font-family: Courier;
|
||||||
font-size: 17px;
|
font-size: 17px;
|
||||||
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
window#waybar {
|
window#waybar {
|
||||||
background: transparent;
|
background: #ccc;
|
||||||
|
border: 1px solid #1d1e21;
|
||||||
}
|
}
|
||||||
|
|
||||||
window#waybar.hidden {
|
window#waybar.hidden {
|
||||||
|
|
@ -13,6 +15,7 @@ window#waybar.hidden {
|
||||||
}
|
}
|
||||||
|
|
||||||
#workspaces,
|
#workspaces,
|
||||||
|
#user,
|
||||||
#window,
|
#window,
|
||||||
#pulseaudio,
|
#pulseaudio,
|
||||||
#network,
|
#network,
|
||||||
|
|
@ -20,28 +23,40 @@ window#waybar.hidden {
|
||||||
#memory,
|
#memory,
|
||||||
#temperature,
|
#temperature,
|
||||||
#clock,
|
#clock,
|
||||||
#custom-packages
|
#custom-caspar,
|
||||||
|
#custom-cas01,
|
||||||
|
#custom-cas02,
|
||||||
|
#custom-packages,
|
||||||
|
#custom-weather
|
||||||
{
|
{
|
||||||
margin-top: 2px;
|
margin-top: 4px;
|
||||||
|
margin-bottom: 4px;
|
||||||
margin-left: 0px;
|
margin-left: 0px;
|
||||||
margin-right: 0px;
|
margin-right: 0px;
|
||||||
margin-bottom: 0px;
|
|
||||||
|
|
||||||
padding-top: 0px;
|
padding-top: 0px;
|
||||||
padding-bottom: 0px;
|
padding-bottom: 0px;
|
||||||
padding-left: 20px;
|
padding-left: 10px;
|
||||||
padding-right: 20px;
|
padding-right: 10px;
|
||||||
|
|
||||||
border-radius: 26px;
|
border-radius: 5px;
|
||||||
transition: none;
|
transition: none;
|
||||||
color: #f8f8f2;
|
color: #1d1e21;
|
||||||
background: rgba(255, 255, 255, 0.2);
|
background: rgba(255, 255, 255, 0.2);
|
||||||
|
border: 2px solid black;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#clock{
|
||||||
|
margin-right: 7px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#workspaces{
|
||||||
|
margin-left: 7px;
|
||||||
|
}
|
||||||
|
|
||||||
#workspaces button {
|
#workspaces button {
|
||||||
transition: none;
|
transition: none;
|
||||||
color: #f8f8f2;
|
color: #1d1e21;
|
||||||
background: transparent;
|
background: transparent;
|
||||||
font-size: 10px;
|
font-size: 10px;
|
||||||
}
|
}
|
||||||
|
|
@ -53,7 +68,14 @@ window#waybar.hidden {
|
||||||
|
|
||||||
#workspaces button.active {
|
#workspaces button.active {
|
||||||
transition: none;
|
transition: none;
|
||||||
color: #020202;
|
color: #ccc;
|
||||||
background: rgba(255, 255, 255, 0.6);
|
/* background: rgba(255, 255, 255, 0.6); */
|
||||||
border-radius: 26px;
|
background: #1d1e21;
|
||||||
|
border-radius: 0px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#custom-caspar.offline,
|
||||||
|
#custom-cas01.offline,
|
||||||
|
#custom-cas02.offline {
|
||||||
|
background: red;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,68 @@
|
||||||
|
* {
|
||||||
|
/* `otf-font-awesome` is required to be installed for icons */
|
||||||
|
font-family: Courier, FontAwesome;
|
||||||
|
font-size: 17px;
|
||||||
|
}
|
||||||
|
|
||||||
|
window#waybar {
|
||||||
|
background: transparent;
|
||||||
|
}
|
||||||
|
|
||||||
|
window#waybar.hidden {
|
||||||
|
opacity: 0.2;
|
||||||
|
}
|
||||||
|
|
||||||
|
#workspaces,
|
||||||
|
#window,
|
||||||
|
#pulseaudio,
|
||||||
|
#network,
|
||||||
|
#cpu,
|
||||||
|
#memory,
|
||||||
|
#temperature,
|
||||||
|
#clock,
|
||||||
|
#custom-caspar,
|
||||||
|
#custom-cas01,
|
||||||
|
#custom-cas02,
|
||||||
|
#custom-packages
|
||||||
|
{
|
||||||
|
margin-top: 2px;
|
||||||
|
margin-left: 0px;
|
||||||
|
margin-right: 0px;
|
||||||
|
margin-bottom: 0px;
|
||||||
|
|
||||||
|
padding-top: 0px;
|
||||||
|
padding-bottom: 0px;
|
||||||
|
padding-left: 20px;
|
||||||
|
padding-right: 20px;
|
||||||
|
|
||||||
|
border-radius: 26px;
|
||||||
|
transition: none;
|
||||||
|
color: #f8f8f2;
|
||||||
|
background: rgba(255, 255, 255, 0.2);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
#workspaces button {
|
||||||
|
transition: none;
|
||||||
|
color: #f8f8f2;
|
||||||
|
background: transparent;
|
||||||
|
font-size: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#workspaces button.focused {
|
||||||
|
color: #9aedfe;
|
||||||
|
background: red;
|
||||||
|
}
|
||||||
|
|
||||||
|
#workspaces button.active {
|
||||||
|
transition: none;
|
||||||
|
color: #020202;
|
||||||
|
background: rgba(255, 255, 255, 0.6);
|
||||||
|
border-radius: 26px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#custom-caspar.offline,
|
||||||
|
#custom-cas01.offline,
|
||||||
|
#custom-cas02.offline {
|
||||||
|
color: red;
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,69 @@
|
||||||
|
* {
|
||||||
|
/* `otf-font-awesome` is required to be installed for icons */
|
||||||
|
font-family: Courier, FontAwesome;
|
||||||
|
font-size: 17px;
|
||||||
|
}
|
||||||
|
|
||||||
|
window#waybar {
|
||||||
|
background: #1d1e21;
|
||||||
|
/* border: 1px solid red; */
|
||||||
|
}
|
||||||
|
|
||||||
|
window#waybar.hidden {
|
||||||
|
opacity: 0.2;
|
||||||
|
}
|
||||||
|
|
||||||
|
#workspaces,
|
||||||
|
#window,
|
||||||
|
#pulseaudio,
|
||||||
|
#network,
|
||||||
|
#cpu,
|
||||||
|
#memory,
|
||||||
|
#temperature,
|
||||||
|
#clock,
|
||||||
|
#custom-caspar,
|
||||||
|
#custom-cas01,
|
||||||
|
#custom-cas02,
|
||||||
|
#custom-packages
|
||||||
|
{
|
||||||
|
margin-top: 2px;
|
||||||
|
margin-left: 0px;
|
||||||
|
margin-right: 0px;
|
||||||
|
margin-bottom: 4px;
|
||||||
|
|
||||||
|
padding-top: 0px;
|
||||||
|
padding-bottom: 0px;
|
||||||
|
padding-left: 10px;
|
||||||
|
padding-right: 20px;
|
||||||
|
|
||||||
|
/* border-radius: 26px; */
|
||||||
|
transition: none;
|
||||||
|
color: #f8f8f2;
|
||||||
|
background: rgba(255, 255, 255, 0.2);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
#workspaces button {
|
||||||
|
transition: none;
|
||||||
|
color: #f8f8f2;
|
||||||
|
background: transparent;
|
||||||
|
font-size: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#workspaces button.focused {
|
||||||
|
color: #9aedfe;
|
||||||
|
background: red;
|
||||||
|
}
|
||||||
|
|
||||||
|
#workspaces button.active {
|
||||||
|
transition: none;
|
||||||
|
color: #020202;
|
||||||
|
background: rgba(255, 255, 255, 0.6);
|
||||||
|
border-radius: 0px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#custom-caspar.offline,
|
||||||
|
#custom-cas01.offline,
|
||||||
|
#custom-cas02.offline {
|
||||||
|
color: red;
|
||||||
|
}
|
||||||
34
zsh/.zshrc
34
zsh/.zshrc
|
|
@ -1,15 +1,5 @@
|
||||||
# Enable Powerlevel10k instant prompt. Should stay close to the top of ~/.zshrc.
|
# prompt
|
||||||
# Initialization code that may require console input (password prompts, [y/n]
|
export PS1="%{%F{226}%}%n%{%F{220}%}@%{%F{214}%}%m %{%F{33}%}%1~ %{%f%}$ "
|
||||||
# confirmations, etc.) must go above this block; everything else may go below.
|
|
||||||
if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then
|
|
||||||
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# import keys
|
|
||||||
if [ -f ~/.keys ]; then
|
|
||||||
. ~/.keys
|
|
||||||
echo "keys loaded"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# aliases
|
# aliases
|
||||||
# alias python="/Library/Frameworks/Python.framework/Versions/3.10/bin/python3"
|
# alias python="/Library/Frameworks/Python.framework/Versions/3.10/bin/python3"
|
||||||
|
|
@ -52,12 +42,6 @@ compinit
|
||||||
_comp_options+=(globdots)
|
_comp_options+=(globdots)
|
||||||
zstyle ':completion:*' menu select
|
zstyle ':completion:*' menu select
|
||||||
|
|
||||||
# start power theme
|
|
||||||
source ~/powerlevel10k/powerlevel10k.zsh-theme
|
|
||||||
|
|
||||||
# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh.
|
|
||||||
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh
|
|
||||||
|
|
||||||
# auto cd
|
# auto cd
|
||||||
setopt auto_cd
|
setopt auto_cd
|
||||||
|
|
||||||
|
|
@ -71,4 +55,16 @@ eval "$(pyenv init --path)"
|
||||||
eval "$(pyenv init -)"
|
eval "$(pyenv init -)"
|
||||||
# eval "$(pyenv virtualenv-init -)"
|
# eval "$(pyenv virtualenv-init -)"
|
||||||
|
|
||||||
source ~/powerlevel10k/powerlevel10k.zsh-theme
|
|
||||||
|
# fzf
|
||||||
|
export FZF_DEFAULT_OPTS='--layout=reverse --height=50% --preview-window=right:50%:border-sharp --border-label=" command preview " --border=double'
|
||||||
|
|
||||||
|
# Set up fzf key bindings and fuzzy completion
|
||||||
|
# Ctrl+R override for bash history
|
||||||
|
# Alt-C overried to cd into selected directory
|
||||||
|
eval "$(fzf --zsh)"
|
||||||
|
|
||||||
|
# Quick file finder with preview and open with vim (Ctrl+T override)
|
||||||
|
# bind '"\C-t": "fzf --preview \"cat {}\" < <(find . -type f) | xargs $EDITOR\n"'
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue