1
0
Fork 0

feat: revamp

This commit is contained in:
cătălin 2023-04-24 12:47:11 +02:00
commit f56d076f52
Signed by: catalin
GPG key ID: 0178DF42F43E5FD2
32 changed files with 127 additions and 831 deletions

View file

@ -1,13 +1,7 @@
[default.files] [default.files]
fish = "~/.config/fish/" fish = "~/.config/fish/"
bspwm = "~/.config/bspwm/"
sxhkd = "~/.config/sxhkd/"
rofi = "~/.config/rofi/"
dunst = "~/.config/dunst/"
kermit = "~/.config/kermit.conf" kermit = "~/.config/kermit.conf"
polybar = "~/.config/polybar" utils = "~/.local/bin/dotutils/"
walls = "~/Pictures/walls"
utils = "~/.local/bin/185504a9-utils/"
ideavim = "~/.ideavimrc" ideavim = "~/.ideavimrc"
qutebrowser = "~/.config/qutebrowser" astrovim = "~/.config/nvim/lua/user/"
chaakoo = "~/.config/chaakoo/" vimrc = "~/.vimrc"

72
astrovim/init.lua Normal file
View file

@ -0,0 +1,72 @@
return {
updater = {
remote = "origin", -- remote to use
channel = "stable", -- "stable" or "nightly"
version = "latest", -- "latest", tag name, or regex search like "v1.*" to only do updates before v2 (STABLE ONLY)
branch = "nightly", -- branch name (NIGHTLY ONLY)
commit = nil, -- commit hash (NIGHTLY ONLY)
pin_plugins = nil, -- nil, true, false (nil will pin plugins on stable only)
skip_prompts = false, -- skip prompts about breaking changes
show_changelog = true, -- show the changelog after performing an update
auto_quit = false, -- automatically quit the current session after a successful update
remotes = { -- easily add new remotes to track
-- ["remote_name"] = "https://remote_url.come/repo.git", -- full remote url
-- ["remote2"] = "github_user/repo", -- GitHub user/repo shortcut,
-- ["remote3"] = "github_user", -- GitHub user assume AstroNvim fork
},
},
colorscheme = "catppuccin",
diagnostics = {
virtual_text = true,
underline = true,
},
lsp = {
formatting = {
format_on_save = {
enabled = true,
},
timeout_ms = 1000,
},
servers = {
"pyright"
},
},
lazy = {
defaults = { lazy = true },
},
plugins = {
{
"catppuccin/nvim",
as = "catppuccin",
config = function()
require("catppuccin").setup {}
end,
},
},
options = {
opt = {
conceallevel = 2,
relativenumber = true,
list = true,
listchars = { tab = "│→", extends = "", precedes = "", trail = "·", nbsp = "" },
showbreak = "",
showtabline = 1,
wrap = true,
},
g = {
icons_enabled = false,
mapleader = " ",
autoformat_enabled = true,
cmp_enabled = true,
autopairs_enabled = true,
diagnostics_enabled = true,
status_diagnostics_enabled = true,
},
}
}

View file

@ -1,4 +1,4 @@
#! /bin/sh #!/bin/sh
#### ####
#### misc tools #### misc tools
@ -22,7 +22,7 @@ bspc monitor -d HDMI-2 5 6 7 8 9
#### bspwm #### bspwm
#### ####
#~/.builds/bin/set-monitors.sh set-monitors.sh
bspc config border_width 5 bspc config border_width 5
bspc config window_gap 8 bspc config window_gap 8

View file

@ -1,26 +0,0 @@
name: sls-offline
windows:
- grid: |
term term
sls-start docs-serve
name: window1
commands:
- pane: term
command: |
source .venv/bin/activate.fish
source ../.env-prod.fish
set -x AWS_DEFAULT_REGION "eu-west-1"
clear
workdir: /home/catalin/dev/ceco/valexa
- pane: sls-start
command: |
source ../.env-prod.fish
make sls-stop
make sls-start
make sls-flog
workdir: /home/catalin/dev/ceco/valexa
- pane: docs-serve
command: |
source .venv/bin/activate.fish
make docs-serve
workdir: /home/catalin/dev/ceco/valexa

View file

@ -1,54 +0,0 @@
[global]
monitor = 0
follow = mouse
geometry = "300x60-20+48"
indicate_hidden = yes
shrink = no
separator_height = 0
padding = 32
horizontal_padding = 32
frame_width = 2
sort = no
idle_threshold = 120
font = rissole 8
line_height = 4
markup = full
format = %s\n%b
alignment = left
show_age_threshold = 60
word_wrap = yes
ignore_newline = no
stack_duplicates = false
hide_duplicate_count = yes
show_indicators = no
icon_position = off
sticky_history = yes
history_length = 20
browser = /usr/bin/firefox -new-tab
always_run_script = true
title = Dunst
class = Dunst
[shortcuts]
close = ctrl+space
close_all = ctrl+shift+space
history = ctrl+grave
context = ctrl+shift+period
[urgency_low]
timeout = 4
background = "#141c21"
foreground = "#93a1a1"
frame_color = "#8bc34a"
[urgency_normal]
timeout = 8
background = "#141c21"
foreground = "#93a1a1"
frame_color = "#ba68c8"
[urgency_critical]
timeout = 0
background = "#141c21"
foreground = "#93a1a1"
frame_color = "#ff7043"

View file

@ -1,4 +1,7 @@
alias ls 'exa -alh' alias ls 'exa -alh'
alias cat 'batcat'
alias g 'git' alias g 'git'
alias copy 'xclip -selection clipboard'
alias cat 'bat'
alias k 'kubectl'
alias rm 'trash' alias rm 'trash'
alias future-commit 'git commit --date (echo (date -d +7hours))'

View file

@ -1,2 +1,4 @@
set -gx EDITOR vim set -gx EDITOR nvim
set -gx BAT_THEME "Catppuccin-frappe"
pyenv init - | source

View file

@ -0,0 +1,7 @@
function envsource
for line in (cat $argv | grep -v '^#')
set item (string split -m 1 '=' $line)
set -gx $item[1] $item[2]
echo "Exported key $item[1]"
end
end

View file

@ -1,8 +1,7 @@
set -gx PATH ~/.local/bin $PATH set -gx PATH ~/.local/bin $PATH
set -gx PATH ~/.local/bin/185504a9-utils/ $PATH set -gx PATH ~/.local/bin/dotutils/ $PATH
set -gx PATH "$HOME/.cargo/bin" $PATH;
set -gx PATH $ANDROID_HOME/emulator $PATH set -gx PATH $ANDROID_HOME/emulator $PATH
set -gx PATH $ANDROID_HOME/tools $PATH set -gx PATH $ANDROID_HOME/tools $PATH
set -gx PATH $ANDROID_HOME/tools/bin $PATH set -gx PATH $ANDROID_HOME/tools/bin $PATH
set -gx PATH $ANDROID_HOME/platform-tools $PATH set -gx PATH $ANDROID_HOME/platform-tools $PATH

View file

@ -1 +0,0 @@
set -gx PATH "$HOME/.cargo/bin" $PATH;

View file

@ -1,5 +1,5 @@
[greenclip] [greenclip]
history_file = "/home/erebe/.cache/greenclip.history" history_file = "~/.cache/greenclip.history"
max_history_length = 50 max_history_length = 50
max_selection_size_bytes = 0 max_selection_size_bytes = 0
trim_space_from_selection = true trim_space_from_selection = true

View file

@ -1,200 +0,0 @@
[colors]
background = ${xrdb:color0:#222}
color1 = ${xrdb:color2}
color2 = ${xrdb:color4}
color3 = ${xrdb:color6}
; _
; | |__ __ _ _ __ ___
; | '_ \ / _` | '__/ __|
; | |_) | (_| | | \__ \
; |_.__/ \__,_|_| |___/
[bar/base]
enable-ipc = true
font-0=cherry:size=14;3
font-1=FontAwesome5Free:style=Regular:pixelsize=8:antialias=true;2
font-2=FontAwesome5Free:style=Solid:pixelsize=8:antialias=true;2
font-3=IPAGothic:style=Regular:size=11:antialias=true;3
bottom = true
border-size = 0
border-color = ${self.foreground}
height = 50
background = ${colors.background}
override-redirect=false
offset-y = 10
wm-restack = bspwm
[bar/ws]
inherit = bar/base
width = 36%
bottom = true
foreground = ${colors.color1}
offset-x = 10
; bspwm
modules-left = bspwm xwindow
scroll-up = bspwm-desknext
scroll-down = bspwm-deskprev
[bar/music]
inherit = bar/base
enable-ipc = true
width = 32%
foreground = ${colors.color2}
offset-x = 50.7%
modules-left = battery
modules-right= network
padding = 10
[bar/tray]
inherit = bar/base
width = 16.2%
offset-x = 83.3%
foreground = ${colors.color3}
;tray-position = right
modules-left = pulseaudio time power
[bar/dummy]
height = 60
background = #0000
modules-center = dummy-module
override-redirect = false
bottom = true
; _ _
; _ __ ___ ___ __| |_ _| | ___ ___
; | '_ ` _ \ / _ \ / _` | | | | |/ _ \/ __|
; | | | | | | (_) | (_| | |_| | | __/\__ \
; |_| |_| |_|\___/ \__,_|\__,_|_|\___||___/
[module/wsnumber]
type = custom/script
exec = ~/.config/polybar/get_workspace
tail = true
interval = 0
format-padding = 0
format = "<label> "
format-foreground = ${colors.background}
format-background = ${colors.color1}
scroll-up = i3 workspace next
scroll-down = i3 workspace prev
[module/dummy-module]
type = custom/text
content = " "
[module/xwindow]
type = internal/xwindow
label = %title:0:40:...%
label-foreground = ${colors.color1}
label-background = ${colors.background}
label-padding = 5
[module/bspwm]
type = internal/bspwm
format = <label-state>
format-padding = 5
format-background = ${colors.color1}
format-foreground = ${colors.background}
enable-click = true
enable-scroll = true
reverse-scroll = false
label-focused = a
label-focused-font = 5
label-focused-foreground = ${colors.background}
label-focused-padding = 1
label-empty =
label-occupied = s
label-occupied-font = 2
label-occupied-padding = 1
label-occupied-foreground = ${colors.background}
label-urgent = 
label-urgent-font = 1
label-urgent-padding = 1
label-urgent-foreground = ${colors.background}
ws-icon-0 = 1;
ws-icon-1 = 2;
ws-icon-2 = 3;
ws-icon-9 = 10;
ws-icon-default = 
[module/power]
type = custom/text
content = 
content-foreground = ${colors.color3}
click-left = powermenu
content-margin = 0
[module/time]
type = internal/date
interval = 10
format-margin = 5
time = "%H:%M"
date = "%d %b"
label = %date%, %time%
label-foreground = ${colors.color3}
label-background = ${colors.background}
[module/pulseaudio]
type = internal/pulseaudio
format-volume-padding = 5
format-volume = <ramp-volume> <label-volume>
label-volume = %percentage:3:3%%
format-volume-background = ${colors.color3}
format-volume-foreground = ${colors.background}
use-ui-max = false
interval = 5
ramp-volume-0 = ""
ramp-volume-1 = ""
ramp-volume-2 = ""
label-muted = " muted"
label-muted-background = ${colors.background}
label-muted-foreground = ${colors.color3}
label-muted-padding = 4
[module/network]
type = internal/network
interface = wlp0s20f3
interval = 3.0
ping-interval = 3.0
[module/battery]
type = internal/battery
full-at = 99
battery = BAT0
adapter = ADP1
poll-interval = 5
[settings]
screenchange-reload = true
[global/wm]
margin-top = 0
margin-bottom = 0

View file

@ -1,5 +0,0 @@
#!/bin/sh
# depends on `jq'
i3-msg -t get_workspaces \
| jq '.[] | select(.focused==true).name' \
| cut -d"\"" -f2

View file

@ -1,14 +0,0 @@
#!/bin/bash
# Terminate already running bar instances
killall -q polybar
# Wait until the processes have been shut down
while pgrep -u $UID -x polybar >/dev/null; do sleep 1; done
polybar -rq music &
polybar -rq tray &
polybar -rq ws &
echo "Polybar launched..."

Binary file not shown.

Before

Width:  |  Height:  |  Size: 792 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.6 MiB

View file

@ -1,4 +0,0 @@
config.load_autoconfig(True)
config.source('qutewal.py')
c.auto_save.session = False

View file

@ -1,5 +0,0 @@
dezzai/mail outlook.office.com
dezzai/teams teams.microsoft.com
dezzai/git/202 github.com/medlabmg/202-backend
dezzai/jira medlabmg.atlassian.net/jira/your-work
dezzai/zeplin app.zeplin.io/project/62aaee2dc5a0842ffc925a3a

View file

@ -1,350 +0,0 @@
import json
import os
qutewal_dynamic_loading = False
home = os.getenv('HOME')
colors_relative = '.cache/wal/colors.json'
daemon_relative = '.config/qutebrowser/qutewald.py'
colors_absolute = os.path.join(home, colors_relative)
daemon_absolute = os.path.join(home, daemon_relative)
if os.path.isfile(colors_absolute):
with open(colors_absolute) as colorfile:
colors = json.load(colorfile)
cursor = colors['special']['cursor']
background = colors['special']['background']
foreground = colors['special']['foreground']
black = colors['colors']['color0']
white = colors['colors']['color7']
gray = colors['colors']['color8']
red = colors['colors']['color1']
green = colors['colors']['color2']
yellow = colors['colors']['color3']
blue = colors['colors']['color4']
magenta = colors['colors']['color5']
cyan = colors['colors']['color6']
# Background color of the completion widget category headers.
# Type: QssColor
c.colors.completion.category.bg = background
# Bottom border color of the completion widget category headers.
# Type: QssColor
c.colors.completion.category.border.bottom = background
# Top border color of the completion widget category headers.
# Type: QssColor
c.colors.completion.category.border.top = background
# Foreground color of completion widget category headers.
# Type: QtColor
c.colors.completion.category.fg = foreground
# Background color of the completion widget for even rows.
# Type: QssColor
c.colors.completion.even.bg = background
# Background color of the completion widget for odd rows.
# Type: QssColor
c.colors.completion.odd.bg = background
# Text color of the completion widget.
# Type: QtColor
c.colors.completion.fg = foreground
# Background color of the selected completion item.
# Type: QssColor
c.colors.completion.item.selected.bg = gray
# Bottom border color of the selected completion item.
# Type: QssColor
c.colors.completion.item.selected.border.bottom = background
# Top border color of the completion widget category headers.
# Type: QssColor
c.colors.completion.item.selected.border.top = background
# Foreground color of the selected completion item.
# Type: QtColor
c.colors.completion.item.selected.fg = foreground
# Foreground color of the matched text in the completion.
# Type: QssColor
c.colors.completion.match.fg = yellow
# Color of the scrollbar in completion view
# Type: QssColor
c.colors.completion.scrollbar.bg = background
# Color of the scrollbar handle in completion view.
# Type: QssColor
c.colors.completion.scrollbar.fg = gray
# Background color for the download bar.
# Type: QssColor
c.colors.downloads.bar.bg = background
# Background color for downloads with errors.
# Type: QtColor
c.colors.downloads.error.bg = red
# Foreground color for downloads with errors.
# Type: QtColor
c.colors.downloads.error.fg = foreground
# Color gradient stop for download backgrounds.
# Type: QtColor
c.colors.downloads.stop.bg = cyan
# Color gradient interpolation system for download backgrounds.
# Type: ColorSystem
# Valid values:
# - rgb: Interpolate in the RGB color system.
# - hsv: Interpolate in the HSV color system.
# - hsl: Interpolate in the HSL color system.
# - none: Don't show a gradient.
c.colors.downloads.system.bg = 'none'
# Background color for hints. Note that you can use a `rgba(...)` value
# for transparency.
# Type: QssColor
c.colors.hints.bg = yellow
# Font color for hints.
# Type: QssColor
c.colors.hints.fg = background
# Font color for the matched part of hints.
# Type: QssColor
c.colors.hints.match.fg = blue
# Background color of the keyhint widget.
# Type: QssColor
c.colors.keyhint.bg = background
# Text color for the keyhint widget.
# Type: QssColor
c.colors.keyhint.fg = foreground
# Highlight color for keys to complete the current keychain.
# Type: QssColor
c.colors.keyhint.suffix.fg = yellow
# Background color of an error message.
# Type: QssColor
c.colors.messages.error.bg = red
# Border color of an error message.
# Type: QssColor
c.colors.messages.error.border = red
# Foreground color of an error message.
# Type: QssColor
c.colors.messages.error.fg = foreground
# Background color of an info message.
# Type: QssColor
c.colors.messages.info.bg = blue
# Border color of an info message.
# Type: QssColor
c.colors.messages.info.border = blue
# Foreground color an info message.
# Type: QssColor
c.colors.messages.info.fg = foreground
# Background color of a warning message.
# Type: QssColor
c.colors.messages.warning.bg = red
# Border color of a warning message.
# Type: QssColor
c.colors.messages.warning.border = red
# Foreground color a warning message.
# Type: QssColor
c.colors.messages.warning.fg = foreground
# Background color for prompts.
# Type: QssColor
c.colors.prompts.bg = background
# # Border used around UI elements in prompts.
# # Type: String
c.colors.prompts.border = '1px solid ' + background
# Foreground color for prompts.
# Type: QssColor
c.colors.prompts.fg = foreground
# Background color for the selected item in filename prompts.
# Type: QssColor
c.colors.prompts.selected.bg = magenta
# Background color of the statusbar in caret mode.
# Type: QssColor
c.colors.statusbar.caret.bg = cyan
# Foreground color of the statusbar in caret mode.
# Type: QssColor
c.colors.statusbar.caret.fg = cursor
# Background color of the statusbar in caret mode with a selection.
# Type: QssColor
c.colors.statusbar.caret.selection.bg = cyan
# Foreground color of the statusbar in caret mode with a selection.
# Type: QssColor
c.colors.statusbar.caret.selection.fg = foreground
# Background color of the statusbar in command mode.
# Type: QssColor
c.colors.statusbar.command.bg = background
# Foreground color of the statusbar in command mode.
# Type: QssColor
c.colors.statusbar.command.fg = foreground
# Background color of the statusbar in private browsing + command mode.
# Type: QssColor
c.colors.statusbar.command.private.bg = background
# Foreground color of the statusbar in private browsing + command mode.
# Type: QssColor
c.colors.statusbar.command.private.fg = foreground
# Background color of the statusbar in insert mode.
# Type: QssColor
c.colors.statusbar.insert.bg = green
# Foreground color of the statusbar in insert mode.
# Type: QssColor
c.colors.statusbar.insert.fg = background
# Background color of the statusbar.
# Type: QssColor
c.colors.statusbar.normal.bg = background
# Foreground color of the statusbar.
# Type: QssColor
c.colors.statusbar.normal.fg = foreground
# Background color of the statusbar in passthrough mode.
# Type: QssColor
c.colors.statusbar.passthrough.bg = blue
# Foreground color of the statusbar in passthrough mode.
# Type: QssColor
c.colors.statusbar.passthrough.fg = foreground
# Background color of the statusbar in private browsing mode.
# Type: QssColor
c.colors.statusbar.private.bg = background
# Foreground color of the statusbar in private browsing mode.
# Type: QssColor
c.colors.statusbar.private.fg = foreground
# Background color of the progress bar.
# Type: QssColor
c.colors.statusbar.progress.bg = foreground
# Foreground color of the URL in the statusbar on error.
# Type: QssColor
c.colors.statusbar.url.error.fg = red
# Default foreground color of the URL in the statusbar.
# Type: QssColor
c.colors.statusbar.url.fg = foreground
# Foreground color of the URL in the statusbar for hovered links.
# Type: QssColor
c.colors.statusbar.url.hover.fg = blue
# Foreground color of the URL in the statusbar on successful load
# (http).
# Type: QssColor
c.colors.statusbar.url.success.http.fg = foreground
# Foreground color of the URL in the statusbar on successful load
# (https).
# Type: QssColor
c.colors.statusbar.url.success.https.fg = gray
# Foreground color of the URL in the statusbar when there's a warning.
# Type: QssColor
c.colors.statusbar.url.warn.fg = red
# Background color of the tab bar.
# Type: QtColor
c.colors.tabs.bar.bg = background
# Background color of unselected even tabs.
# Type: QtColor
c.colors.tabs.even.bg = background
# Foreground color of unselected even tabs.
# Type: QtColor
c.colors.tabs.even.fg = foreground
# Color for the tab indicator on errors.
# Type: QtColor
c.colors.tabs.indicator.error = red
# Color gradient start for the tab indicator.
# Type: QtColor
# c.colors.tabs.indicator.start = magenta
# Color gradient end for the tab indicator.
# Type: QtColor
# c.colors.tabs.indicator.stop = red
# Color gradient interpolation system for the tab indicator.
# Type: ColorSystem
# Valid values:
# - rgb: Interpolate in the RGB color system.
# - hsv: Interpolate in the HSV color system.
# - hsl: Interpolate in the HSL color system.
# - none: Don't show a gradient.
c.colors.tabs.indicator.system = 'none'
# Background color of unselected odd tabs.
# Type: QtColor
c.colors.tabs.odd.bg = background
# Foreground color of unselected odd tabs.
# Type: QtColor
c.colors.tabs.odd.fg = foreground
# Background color of selected even tabs.
# Type: QtColor
c.colors.tabs.selected.even.bg = blue
# Foreground color of selected even tabs.
# Type: QtColor
c.colors.tabs.selected.even.fg = foreground
# Background color of selected odd tabs.
# Type: QtColor
c.colors.tabs.selected.odd.bg = blue
# Foreground color of selected odd tabs.
# Type: QtColor
c.colors.tabs.selected.odd.fg = foreground
# Background color for webpages if unset (or empty to use the theme's
# color)
# Type: QtColor
c.colors.webpage.bg = foreground
if qutewal_dynamic_loading or bool(os.getenv('QUTEWAL_DYNAMIC_LOADING')):
import signal
import subprocess
import prctl
# start iqutefy to refresh colors on the fly
qutewald = subprocess.Popen(
[daemon_absolute, colors_absolute],
preexec_fn=lambda: prctl.set_pdeathsig(signal.SIGTERM))

View file

@ -1 +0,0 @@
@import "~/.cache/wal/colors-rofi-dark"

View file

@ -1,142 +0,0 @@
#
# wm independent hotkeys
#
#prtscr
Print
flameshot gui
# terminal emulator
ctrl + alt + t
kermit -c "$HOME/.config/kermit.conf"
ctrl + shift + alt + l
i3lock-fancy -p
# program launcher
super + d
rofi -show run
super + alt + c
rofi -modi "clipboard:greenclip print" -show clipboard -run-command '{cmd}'
super + alt + e
rofi -modi emoji -show emoji
super + alt + p
bwmenu
super + alt + a
asciify.sh
# make sxhkd reload its configuration files:
super + Escape
pkill -USR1 -x sxhkd
ctrl + alt + b
qutebrowser
ctrl + super + space
~/.local/bin/185504a9-utils/toggle-keyboard-layout.sh
#
# bspwm hotkeys
#
# quit/restart bspwm
super + alt + {q,r}
bspc {quit,wm -r}
# close and kill
super + {_,shift + }w
bspc node -{c,k}
# alternate between the tiled and monocle layout
super + m
bspc desktop -l next
# send the newest marked node to the newest preselected node
super + y
bspc node newest.marked.local -n newest.!automatic.local
# swap the current node and the biggest window
super + g
bspc node -s biggest.window
#
# state/flags
#
# set the window state
super + {t,shift + t,s,f}
bspc node -t {tiled,pseudo_tiled,floating,fullscreen}
# set the node flags
super + ctrl + {m,x,y,z}
bspc node -g {marked,locked,sticky,private}
#
# focus/swap
#
# focus the node in the given direction
super + {_,shift + }{h,j,k,l}
bspc node -{f,s} {west,south,north,east}
# focus the node for the given path jump
super + {p,b,comma,period}
bspc node -f @{parent,brother,first,second}
# focus the next/previous window in the current desktop
super + {_,shift + }c
bspc node -f {next,prev}.local.!hidden.window
# focus the next/previous desktop in the current monitor
super + bracket{left,right}
bspc desktop -f {prev,next}.local
# focus the last node/desktop
super + {grave,Tab}
bspc {node,desktop} -f last
# focus the older or newer node in the focus history
super + {o,i}
bspc wm -h off; \
bspc node {older,newer} -f; \
bspc wm -h on
# focus or send to the given desktop
super + {_,shift + }{1-9,0}
bspc {desktop -f,node -d} '^{1-9,10}'
#
# preselect
#
# preselect the direction
super + ctrl + {h,j,k,l}
bspc node -p {west,south,north,east}
# preselect the ratio
super + ctrl + {1-9}
bspc node -o 0.{1-9}
# cancel the preselection for the focused node
super + ctrl + space
bspc node -p cancel
# cancel the preselection for the focused desktop
super + ctrl + shift + space
bspc query -N -d | xargs -I id -n 1 bspc node id -p cancel
#
# move/resize
#
# expand a window by moving one of its side outward
super + alt + {h,j,k,l}
bspc node -z {left -20 0,bottom 0 20,top 0 -20,right 20 0}
# contract a window by moving one of its side inward
super + alt + shift + {h,j,k,l}
bspc node -z {right -20 0,top 0 20,bottom 0 -20,left 20 0}
# move a floating window
super + {Left,Down,Up,Right}
bspc node -v {-20 0,0 20,0 -20,20 0}

View file

@ -1,12 +0,0 @@
#!/usr/bin/env python3
repos = {
"https://github.com/str4d/rage": _install_rage,
"https://github.com/vinceliuice/WhiteSur-gtk-theme": _install_whitesur_gtk,
"https://github.com/vinceliuice/WhiteSur-icon-theme": _install_whitesur_icon,
"https://github.com/mattydebie/bitwarden-rofi": _install_bw_rofi,
"https://gitlab.com/jallbrit/cbonsai": _install_cbonsai,
"https://gitlab.com/orhun/kermit": _install_kermit,
"https://gitlab.com/jschx/ufetch.git": _install_ufetch,
"https://github.com/anhsirk0/fetch-master-6000.git": _install_fetch_master,
}

2
utils/copy.sh Executable file
View file

@ -0,0 +1,2 @@
#!/usr/bin/env bash
xclip -selection clipboard

2
utils/gen-secret.sh Executable file
View file

@ -0,0 +1,2 @@
#!/usr/bin/env sh
openssl rand -hex ${1:-64}

29
vimrc Normal file
View file

@ -0,0 +1,29 @@
filetype on
filetype plugin on
filetype indent on
syntax on
set nocompatible
set number
set cursorline
set cursorcolumn
set shiftwidth=4
set tabstop=4
set expandtab
set nobackup
set scrolloff=10
set nowrap
set incsearch
set ignorecase
set smartcase
set showcmd
set showmode
set showmatch
set hlsearch
set history=1000
set wildmenu
set wildmode=list:longest
set wildignore=*.docx,*.jpg,*.png,*.gif,*.pdf,*.pyc,*.exe,*.flv,*.img,*.xlsx
augroup filetype_vim
autocmd!
autocmd FileType vim setlocal foldmethod=marker
augroup END

Binary file not shown.

Before

Width:  |  Height:  |  Size: 91 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 771 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 959 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 235 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 74 KiB