add base nix conf
|
|
@ -1,31 +0,0 @@
|
|||
#! /bin/sh
|
||||
|
||||
####
|
||||
#### misc tools
|
||||
####
|
||||
|
||||
sxhkd &
|
||||
wal -i ~/Pictures/walls/odin-dark.jpg
|
||||
. "${HOME}/.cache/wal/colors.sh"
|
||||
compton &
|
||||
~/.config/polybar/launch.sh
|
||||
pidof dunst && killall dunst && dunst &-c ~/.config/dunst/dunstrc > /dev/null 2>&1 &
|
||||
xsetroot -cursor_name left_ptr &
|
||||
wmname LG3D &
|
||||
|
||||
bspc monitor -d eDP-1 1 2 3 4
|
||||
bspc monitor -d HDMI-1 5 6 7 8 9
|
||||
|
||||
####
|
||||
#### bspwm
|
||||
####
|
||||
|
||||
~/.builds/bin/set-monitors.sh
|
||||
|
||||
bspc config border_width 5
|
||||
bspc config window_gap 8
|
||||
|
||||
bspc config split_ratio 0.52
|
||||
bspc config borderless_monocle true
|
||||
bspc config gapless_monocle true
|
||||
|
||||
|
|
@ -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
|
||||
|
|
@ -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"
|
||||
|
|
@ -1,3 +0,0 @@
|
|||
alias ls 'exa -alh'
|
||||
alias cat 'batcat'
|
||||
alias cva 'chaakoo -c $HOME/.config/chaakoo/sls_offline.yml 2> /dev/null ; tmux a -t sls-offline'
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
set -gx EDITOR vim
|
||||
|
||||
|
|
@ -1,8 +0,0 @@
|
|||
set -gx PATH ~/.local/bin $PATH
|
||||
set -gx PATH ~/.local/bin/185504a9-utils/ $PATH
|
||||
set -gx PATH $ANDROID_HOME/emulator $PATH
|
||||
set -gx PATH $ANDROID_HOME/tools $PATH
|
||||
set -gx PATH $ANDROID_HOME/tools/bin $PATH
|
||||
set -gx PATH $ANDROID_HOME/platform-tools $PATH
|
||||
|
||||
|
||||
|
|
@ -1 +0,0 @@
|
|||
set -gx PATH "$HOME/.cargo/bin" $PATH;
|
||||
29
ideavim
|
|
@ -1,29 +0,0 @@
|
|||
"" Source your .vimrc
|
||||
"source ~/.vimrc
|
||||
set clipboard+=unnamed
|
||||
|
||||
"" -- Suggested options --
|
||||
" Show a few lines of context around the cursor. Note that this makes the
|
||||
" text scroll if you mouse-click near the start or end of the window.
|
||||
set scrolloff=5
|
||||
|
||||
" Do incremental searching.
|
||||
set incsearch
|
||||
|
||||
" Don't use Ex mode, use Q for formatting.
|
||||
map Q gq
|
||||
|
||||
|
||||
"" -- Map IDE actions to IdeaVim -- https://jb.gg/abva4t
|
||||
"" Map \r to the Reformat Code action
|
||||
"map \r <Action>(ReformatCode)
|
||||
|
||||
"" Map <leader>d to start debug
|
||||
"map <leader>d <Action>(Debug)
|
||||
|
||||
"" Map \b to toggle the breakpoint on the current line
|
||||
"map \b <Action>(ToggleLineBreakpoint)
|
||||
|
||||
|
||||
" Find more examples here: https://jb.gg/share-ideavimrc
|
||||
set ideajoin
|
||||
327
jupiter/configuration.nix
Normal file
|
|
@ -0,0 +1,327 @@
|
|||
{ config, pkgs, ... }:
|
||||
let
|
||||
home-manager = builtins.fetchTarball "https://github.com/nix-community/home-manager/archive/master.tar.gz";
|
||||
in
|
||||
let
|
||||
unstableTarball =
|
||||
fetchTarball
|
||||
https://github.com/NixOS/nixpkgs/archive/nixos-unstable.tar.gz;
|
||||
in
|
||||
{
|
||||
imports =
|
||||
[
|
||||
./hardware-configuration.nix
|
||||
(import "${home-manager}/nixos")
|
||||
];
|
||||
|
||||
# Bootloader.
|
||||
boot = {
|
||||
loader = {
|
||||
grub = {
|
||||
enable = true;
|
||||
device = "/dev/sda";
|
||||
useOSProber = true;
|
||||
enableCryptodisk=true;
|
||||
};
|
||||
};
|
||||
initrd = {
|
||||
kernelModules = [ "amdgpu" ];
|
||||
luks.devices."luks-1e776713-4d94-401d-b9bf-60e70f1a8b3e".keyFile = "/crypto_keyfile.bin";
|
||||
# Setup keyfile
|
||||
secrets = {
|
||||
"/crypto_keyfile.bin" = null;
|
||||
};
|
||||
};
|
||||
|
||||
};
|
||||
networking.hostName = "jupiter"; # Define your hostname.
|
||||
|
||||
|
||||
networking.networkmanager.enable = true;
|
||||
|
||||
time.timeZone = "Europe/Madrid";
|
||||
i18n.defaultLocale = "en_US.utf8";
|
||||
i18n.extraLocaleSettings = {
|
||||
LC_ADDRESS = "es_US.utf8";
|
||||
LC_IDENTIFICATION = "es_ES.utf8";
|
||||
LC_MEASUREMENT = "es_ES.utf8";
|
||||
LC_MONETARY = "es_ES.utf8";
|
||||
LC_NAME = "es_ES.utf8";
|
||||
LC_NUMERIC = "es_ES.utf8";
|
||||
LC_PAPER = "es_ES.utf8";
|
||||
LC_TELEPHONE = "es_ES.utf8";
|
||||
LC_TIME = "es_ES.utf8";
|
||||
};
|
||||
|
||||
sound.enable = true;
|
||||
hardware = {
|
||||
pulseaudio.enable = false;
|
||||
opengl = {
|
||||
driSupport32Bit = true;
|
||||
driSupport = true;
|
||||
|
||||
extraPackages = with pkgs; [
|
||||
amdvlk
|
||||
];
|
||||
extraPackages32 = with pkgs; [
|
||||
driversi686Linux.amdvlk
|
||||
];
|
||||
};
|
||||
};
|
||||
security.rtkit.enable = true;
|
||||
|
||||
users = {
|
||||
mutableUsers = false;
|
||||
users.europa = {
|
||||
uid = 1000;
|
||||
shell = pkgs.fish;
|
||||
hashedPassword = "$6$QV9sH1LG6jxHdly3$g5rM6cH1HHKHaXHOxNONFPMRW7ZFJCuGgI20KzA/OYiZbc.0JbIsWiYB4vDubIZXSF8od6EBKQoq9wwCeKNzR0";
|
||||
isNormalUser = true;
|
||||
description = "europa";
|
||||
extraGroups = [ "networkmanager" "wheel" ];
|
||||
};
|
||||
};
|
||||
|
||||
home-manager.users.europa = {
|
||||
home.packages = with pkgs; [
|
||||
lutris
|
||||
rofi-rbw
|
||||
rofi
|
||||
bspwm
|
||||
kermit-terminal
|
||||
steam-tui
|
||||
gnome3.adwaita-icon-theme
|
||||
];
|
||||
programs = {
|
||||
git = {
|
||||
enable = true;
|
||||
aliases = {
|
||||
c = "commit";
|
||||
ch = "checkout";
|
||||
d = "diff";
|
||||
r = "rebase";
|
||||
s = "status";
|
||||
st = "stash";
|
||||
sw = "switch";
|
||||
};
|
||||
delta.enable = true;
|
||||
userEmail = "catalin@roboces.dev";
|
||||
userName = "185504a9";
|
||||
signing = {
|
||||
key = null;
|
||||
signByDefault = true;
|
||||
};
|
||||
};
|
||||
ssh = {
|
||||
enable = true;
|
||||
extraConfig = "
|
||||
|
||||
Host fuku.lilith
|
||||
HostName lilith.fuku
|
||||
User catalin
|
||||
IdentityFile ~/.ssh/id_ed25519_robo
|
||||
IdentitiesOnly yes
|
||||
|
||||
Host fuku.ramiel
|
||||
HostName ramiel.fuku
|
||||
User catalin
|
||||
IdentityFile ~/.ssh/id_ed25519_robo
|
||||
IdentitiesOnly yes
|
||||
|
||||
Host ceco.mars
|
||||
HostName 192.168.2.130
|
||||
User catalin
|
||||
IdentityFile ~/.ssh/id_ed25519_robo
|
||||
IdentitiesOnly yes
|
||||
|
||||
Host fuku.iramiel
|
||||
HostName ramiel.fukurokuju.dev
|
||||
User catalin
|
||||
Port 23209
|
||||
IdentityFile ~/.ssh/id_ed25519_robo
|
||||
IdentitiesOnly yes
|
||||
|
||||
Host fuku.ililith
|
||||
HostName ramiel.fukurokuju.dev
|
||||
User catalin
|
||||
Port 22209
|
||||
IdentityFile ~/.ssh/id_ed25519_robo
|
||||
IdentitiesOnly yes
|
||||
|
||||
Host fuku.containers
|
||||
HostName containers.fuku
|
||||
User bullseye
|
||||
IdentityFile ~/.ssh/id_ed25519_robo
|
||||
|
||||
Host fuku.sandalphon
|
||||
HostName sandalphon.fuku
|
||||
User pi
|
||||
IdentityFile ~/.ssh/id_ed25519_robo
|
||||
IdentitiesOnly yes
|
||||
|
||||
Host fuku.zeruel
|
||||
HostName zeruel.fuku
|
||||
User pi
|
||||
IdentityFile ~/.ssh/id_ed25519_robo IdentitiesOnly yes
|
||||
|
||||
Host fuku.dns
|
||||
HostName dns.fuku
|
||||
User root
|
||||
IdentityFile ~/.ssh/id_ed25519_robo
|
||||
IdentitiesOnly yes
|
||||
|
||||
Host fuku.cloud
|
||||
HostName cloud.fuku
|
||||
User root
|
||||
IdentityFile ~/.ssh/id_ed25519_robo
|
||||
IdentitiesOnly yes
|
||||
|
||||
Host fuku.postgres
|
||||
HostName postgres.fuku
|
||||
User root
|
||||
|
||||
Host fuku.postgres13
|
||||
HostName postgres13.fuku
|
||||
IdentityFile ~/.ssh/id_ed25519_robo
|
||||
IdentitiesOnly yes
|
||||
User root
|
||||
|
||||
Host fuku.smough
|
||||
HostName smough.fuku
|
||||
User root
|
||||
|
||||
Host fuku.gitea
|
||||
HostName gitea.fuku
|
||||
User root
|
||||
|
||||
Host fuku.nginx
|
||||
HostName nginx.fuku
|
||||
User root
|
||||
|
||||
Host fuku.redis
|
||||
HostName redis.fuku
|
||||
User root
|
||||
|
||||
Host fuku.mail
|
||||
HostName mail.fukurokuju.dev
|
||||
User root
|
||||
|
||||
Host gitlab.com
|
||||
HostName gitlab.com
|
||||
IdentityFile ~/.ssh/id_ed25519_ceco
|
||||
IdentitiesOnly yes
|
||||
|
||||
Host gitlab.gitops
|
||||
HostName gitlab.com
|
||||
User git
|
||||
AddKeysToAgent yes
|
||||
IdentitiesOnly yes
|
||||
IdentityFile ~/.ssh/id_ed25519.pub
|
||||
";
|
||||
};
|
||||
fish = {
|
||||
enable = true;
|
||||
plugins = [{
|
||||
name = "z";
|
||||
src = pkgs.fetchFromGitHub {
|
||||
owner = "jethrokuan";
|
||||
repo = "z";
|
||||
rev = "85f863f20f24faf675827fb00f3a4e15c7838d76";
|
||||
sha256 = "sha256-+FUBM7CodtZrYKqU542fQD+ZDGrd2438trKM0tIESs0=";
|
||||
};
|
||||
}];
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
nixpkgs = {
|
||||
overlays = [
|
||||
(import (builtins.fetchTarball "https://github.com/oxalica/rust-overlay/archive/master.tar.gz"))
|
||||
(self: super: {
|
||||
neovim = super.neovim.override {
|
||||
viAlias = true;
|
||||
vimAlias = true;
|
||||
};
|
||||
})
|
||||
];
|
||||
config = {
|
||||
allowUnfree = true;
|
||||
packageOverrides = pkgs: {
|
||||
unstable = import unstableTarball {
|
||||
config = config.nixpkgs.config;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
environment = {
|
||||
variables = {
|
||||
EDITOR = "nvim";
|
||||
};
|
||||
systemPackages = with pkgs; [
|
||||
yank
|
||||
gcc
|
||||
git
|
||||
fd
|
||||
procs
|
||||
tealdeer
|
||||
ripgrep
|
||||
bottom
|
||||
du-dust
|
||||
hyperfine
|
||||
bandwhich
|
||||
delta
|
||||
gnumake
|
||||
cargo
|
||||
rustc
|
||||
neovim
|
||||
wget
|
||||
curl
|
||||
firefox
|
||||
tmux
|
||||
];
|
||||
};
|
||||
|
||||
programs = {
|
||||
neovim = {
|
||||
enable = true;
|
||||
viAlias = true;
|
||||
};
|
||||
fish.enable = true;
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
services = {
|
||||
printing.enable = true;
|
||||
flatpak.enable = true;
|
||||
|
||||
xserver = {
|
||||
enable = true;
|
||||
displayManager.gdm.enable = true;
|
||||
desktopManager.gnome.enable = true;
|
||||
layout = "us";
|
||||
xkbVariant = "";
|
||||
windowManager.bspwm.enable = true;
|
||||
videoDrivers = [ "amdgpu" ];
|
||||
};
|
||||
|
||||
pipewire = {
|
||||
enable = true;
|
||||
alsa.enable = true;
|
||||
alsa.support32Bit = true;
|
||||
pulse.enable = true;
|
||||
};
|
||||
|
||||
openssh = {
|
||||
enable = true;
|
||||
passwordAuthentication = true;
|
||||
permitRootLogin = "no";
|
||||
};
|
||||
|
||||
};
|
||||
system.stateVersion = "22.05";
|
||||
}
|
||||
|
||||
|
||||
33
jupiter/hardware-configuration.nix
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
# Do not modify this file! It was generated by ‘nixos-generate-config’
|
||||
# and may be overwritten by future invocations. Please make changes
|
||||
# to /etc/nixos/configuration.nix instead.
|
||||
{ config, lib, pkgs, modulesPath, ... }:
|
||||
|
||||
{
|
||||
imports =
|
||||
[ (modulesPath + "/profiles/qemu-guest.nix")
|
||||
];
|
||||
|
||||
boot.initrd.availableKernelModules = [ "ata_piix" "uhci_hcd" "ehci_pci" "sd_mod" "sr_mod" ];
|
||||
boot.initrd.kernelModules = [ ];
|
||||
boot.kernelModules = [ "kvm-amd" ];
|
||||
boot.extraModulePackages = [ ];
|
||||
|
||||
fileSystems."/" =
|
||||
{ device = "/dev/disk/by-uuid/bc2bc233-2c0b-4649-8cc1-c5853c1ce2e9";
|
||||
fsType = "ext4";
|
||||
};
|
||||
|
||||
boot.initrd.luks.devices."luks-1e776713-4d94-401d-b9bf-60e70f1a8b3e".device = "/dev/disk/by-uuid/1e776713-4d94-401d-b9bf-60e70f1a8b3e";
|
||||
|
||||
swapDevices = [ ];
|
||||
|
||||
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
|
||||
# (the default) this is the recommended approach. When using systemd-networkd it's
|
||||
# still possible to use this option, but it's recommended to use it in conjunction
|
||||
# with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`.
|
||||
networking.useDHCP = lib.mkDefault true;
|
||||
# networking.interfaces.ens3.useDHCP = lib.mkDefault true;
|
||||
|
||||
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||||
}
|
||||
73
kermit
|
|
@ -1,73 +0,0 @@
|
|||
# kermit ~ terminal configuration file
|
||||
|
||||
# Locale (numeric)
|
||||
locale en_US.UTF-8
|
||||
|
||||
# Word char exceptions
|
||||
char "-./?%&#_=+@~"
|
||||
|
||||
# Action key binding (alt/shift)
|
||||
key shift
|
||||
|
||||
# Cursor shape (block/ibeam/underline)
|
||||
cursor_shape block
|
||||
|
||||
# Custom command key bindings
|
||||
# bind/bindx [KEY]~"[COMMAND]"
|
||||
# bindx f~"df -h"
|
||||
|
||||
# Tab position (top/bottom)
|
||||
tab bottom
|
||||
|
||||
# Terminal font
|
||||
font monospace 16
|
||||
|
||||
# Terminal transparency
|
||||
opacity 0.75
|
||||
|
||||
# Foreground color
|
||||
foreground 0xbfd6d1
|
||||
foreground_bold 0xffffff
|
||||
|
||||
# Cursor color
|
||||
cursor 0x00cc00
|
||||
cursor_foreground 0xefecf4
|
||||
|
||||
# Background color
|
||||
background 0x030C0E
|
||||
|
||||
# Color palette (16)
|
||||
#color0 0x3f3f3f
|
||||
#color1 0xcf0000
|
||||
#color2 0xa8ff60
|
||||
#color3 0xf3f828
|
||||
#color4 0x3c70a4
|
||||
#color5 0xcc00ff
|
||||
#color6 0x3c70a4
|
||||
#color7 0xdcdccc
|
||||
#color8 0x808080
|
||||
#color9 0xcf0000
|
||||
#color10 0xa8ff60
|
||||
#color11 0x6b6b6b
|
||||
#color12 0x3c70a4
|
||||
#color13 0xcc00ff
|
||||
#color14 0x3c70a4
|
||||
#color15 0xdcdccc
|
||||
|
||||
color0 0x030C0E
|
||||
color1 0x28504C
|
||||
color2 0x1E6B61
|
||||
color3 0x496F6F
|
||||
color4 0x278E72
|
||||
color5 0x427788
|
||||
color6 0x4CBFA4
|
||||
color7 0xbfd6d1
|
||||
color8 0x859592
|
||||
color9 0x28504C
|
||||
color10 0x1E6B61
|
||||
color11 0x496F6F
|
||||
color12 0x278E72
|
||||
color13 0x427788
|
||||
color14 0x4CBFA4
|
||||
color15 0xbfd6d1
|
||||
|
||||
200
polybar/config
|
|
@ -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
|
||||
|
||||
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
#!/bin/sh
|
||||
# depends on `jq'
|
||||
i3-msg -t get_workspaces \
|
||||
| jq '.[] | select(.focused==true).name' \
|
||||
| cut -d"\"" -f2
|
||||
|
|
@ -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..."
|
||||
|
Before Width: | Height: | Size: 792 KiB |
|
Before Width: | Height: | Size: 2.6 MiB |
13
quickmarks
|
|
@ -1,13 +0,0 @@
|
|||
cecochat https://chat.cecotec.cloud/home
|
||||
cecogoogle https://mail.google.com/mail/u/0/#inbox
|
||||
cecobitrix https://cecotecinn.bitrix24.es/stream/
|
||||
cecofichaje https://ingress.cecotec.cloud/login
|
||||
cecogitlab https://gitlab.com/dashboard/merge_requests?assignee_username=airimitoaie
|
||||
consoleaws https://eu-west-1.console.aws.amazon.com/console/home?region=eu-west-1#
|
||||
ask https://developer.amazon.com/alexa/console/ask
|
||||
awsapps-api https://eu-west-1.console.aws.amazon.com/apigateway/main/apis?region=eu-west-1
|
||||
awsapps-watch https://eu-west-1.console.aws.amazon.com/cloudwatch/home?region=eu-west-1#
|
||||
awsapps-lambda https://eu-west-1.console.aws.amazon.com/lambda/home?region=eu-west-1#/functions
|
||||
valexa-pipelines https://gitlab.com/cecotec/producto/va/AlexaIntegration/-/pipelines
|
||||
chalice makefile https://github.com/aws/chalice/blob/master/Makefile
|
||||
smarthome https://gitlab.com/cecotec/producto/CecoSmartHome_Backend
|
||||
2
qute
|
|
@ -1,2 +0,0 @@
|
|||
config.load_autoconfig(True)
|
||||
config.source('qutewal.py')
|
||||
|
|
@ -1 +0,0 @@
|
|||
@import "~/.cache/wal/colors-rofi-dark"
|
||||
140
sxhkd/sxhkdrc
|
|
@ -1,140 +0,0 @@
|
|||
#
|
||||
# wm independent hotkeys
|
||||
#
|
||||
|
||||
#prtscr
|
||||
Print
|
||||
flameshot gui
|
||||
|
||||
# terminal emulator
|
||||
ctrl + alt + t
|
||||
kermit -c "$HOME/.config/kermit.conf" -e "ufetch && $SHELL"
|
||||
|
||||
ctrl + shift + alt + l
|
||||
i3lock-fancy -p
|
||||
|
||||
# program launcher
|
||||
super + d
|
||||
rofi -show run
|
||||
|
||||
super + alt + p
|
||||
bwmenu
|
||||
|
||||
super + alt + a
|
||||
asciify.sh
|
||||
|
||||
# make sxhkd reload its configuration files:
|
||||
super + Escape
|
||||
pkill -USR1 -x sxhkd
|
||||
|
||||
ctrl + alt + b
|
||||
firefox
|
||||
|
||||
ctrl + super + space
|
||||
~/.builds/bin/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}
|
||||
|
|
@ -1,4 +0,0 @@
|
|||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
ROOT=$(dirname "$(readlink -f "$0")")
|
||||
tail +3 $ROOT/asciify.txt | rofi -eh 2 -dmenu | cut -f1 -d'|' | xargs | xclip -selection clipboard
|
||||
|
|
@ -1,31 +0,0 @@
|
|||
EMOTE| TAG
|
||||
===============================
|
||||
¯\\_(ツ)_/¯| shrug
|
||||
( ͡° ͜ʖ ͡°) | lemmyface
|
||||
ಠ_ಠ| angry
|
||||
(╯°□°)╯| more angry
|
||||
༼ つ ◕_◕ ༽つ| gib
|
||||
ᕕ( ᐛ )ᕗ | walk
|
||||
(◉-◉)| nerd
|
||||
(⌐⊙_⊙)| nerd2
|
||||
(ᄒ︹ᄒ)| sad
|
||||
(῏Ṵ῏) | serious
|
||||
(⌐■_■)| coolguy
|
||||
( ႎ _ ႎ | sigh
|
||||
( ၜ 𝄩 ၜ | kewl
|
||||
ဨ(ၜ ͜ ၜ)| im listenin
|
||||
(⨪_⨪)| meh
|
||||
(⨪ˬ⨪)| :v
|
||||
(𐨨𐭃𐨨)| hmpf
|
||||
(৲ဓ―ဓ)৲| surething
|
||||
(☞゚ヮ゚)☞| mahman
|
||||
ԅ(≖‿≖ԅ)| creepy look
|
||||
[̲̅$̲̅(̲̅ ͡° ͜ʖ ͡°̲̅)̲̅$̲̅]| skrilla
|
||||
[̲̅$̲̅(̲̅ιο̲̅̅)̲̅$̲̅]| dollar
|
||||
ಥ_ಥ| cryin
|
||||
(⊙_☉)| derp
|
||||
ლ(ಠ_ಠლ)| why
|
||||
(ง •̀_•́)ง| fite me
|
||||
(👁 ͜ʖ👁)| im looking, respectfully
|
||||
†| cross
|
||||
|
||||
|
|
@ -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,
|
||||
}
|
||||
|
|
@ -1,4 +0,0 @@
|
|||
#!/usr/bin/env bash
|
||||
set -eou pipefail
|
||||
|
||||
curl -L $1 | tar xvzf -
|
||||
|
|
@ -1,14 +0,0 @@
|
|||
#!/usr/bin/env bash
|
||||
set -eou pipefail
|
||||
base_command="xrandr -q | grep connected"
|
||||
monitors=$(bash -c "$base_command")
|
||||
monitors_len=$(bash -c "$base_command" | grep -w 'connected' | wc -l)
|
||||
if [[ "$monitors_len" -eq 2 ]];
|
||||
then
|
||||
xrandr --auto --output eDP-1 --mode 1920x1080 --right-of HDMI-1
|
||||
bspc monitor eDP-1 -d I II III IV V
|
||||
bspc monitor HDMI-1 -d VI VII VIII IX X
|
||||
|
||||
else
|
||||
bspc monitor eDP-1 -d I II III IV V VI VII VIII IX X
|
||||
fi
|
||||
|
|
@ -1,7 +0,0 @@
|
|||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
(setxkbmap -query | grep -q "layout:\s\+us") && setxkbmap es || setxkbmap us
|
||||
notify-send "layout: $(setxkbmap -query | tail -1 | awk '{print $2}')"
|
||||
|
||||
|
||||
|
||||
BIN
walls/00-80s.jpg
|
Before Width: | Height: | Size: 91 KiB |
BIN
walls/653118.jpg
|
Before Width: | Height: | Size: 771 KiB |
BIN
walls/vapor1.png
|
Before Width: | Height: | Size: 1.7 MiB |
BIN
walls/vapor2.png
|
Before Width: | Height: | Size: 1.4 MiB |
BIN
walls/vapor3.png
|
Before Width: | Height: | Size: 959 KiB |
BIN
walls/vapor4.jpg
|
Before Width: | Height: | Size: 235 KiB |
|
Before Width: | Height: | Size: 74 KiB |