diff --git a/.bashrc b/.bashrc index 9fe85bc..2bcb3cc 100644 --- a/.bashrc +++ b/.bashrc @@ -22,6 +22,7 @@ alias m='neomutt' alias shutdown='sudo shutdown -h now' alias v='vim' alias r='ranger' +alias ts='sudo timeshift --list' # SCRIPTS alias gr='python ~/dotfiles/scripts/growthrate.py' diff --git a/qtile/__pycache__/config.cpython-310.pyc b/qtile/__pycache__/config.cpython-310.pyc index 5e34cb3..a9ecd55 100644 Binary files a/qtile/__pycache__/config.cpython-310.pyc and b/qtile/__pycache__/config.cpython-310.pyc differ diff --git a/qtile/config.py b/qtile/config.py index 7adf8be..57203fc 100644 --- a/qtile/config.py +++ b/qtile/config.py @@ -152,8 +152,8 @@ layouts = [ ] widget_defaults = dict( - font="sans", - fontsize=12, + font="Fira Sans SemiBold", + fontsize=14, padding=3, ) extension_defaults = widget_defaults.copy() @@ -171,83 +171,56 @@ screens = [ foreground='ffffff', rounded=False, this_current_screen_border=ColorC, - fontsize=14, active='ffffff' ), widget.TextBox( text='  ', foreground=ColorC, - fontsize=14 ), widget.WindowName( - fontsize=14 ), widget.Systray(), -# widget.TextBox( -# text='SPT', -# desc='Spotify', -# mouse_callbacks={"Button1": lambda: qtile.cmd_spawn(terminal + ' -e spt')}, -# fontsize=14 -# ), widget.TextBox( text=' ', foreground=ColorC, desc='Notes', mouse_callbacks={"Button1": lambda: qtile.cmd_spawn(terminal + ' -e vim /home/raabe/notes.txt')}, - fontsize=14 ), widget.TextBox( text='|', foreground=ColorC, - fontsize=14 ), widget.CPU( - fontsize=14 ), widget.DF( visible_on_warn=False, mouse_callbacks={"Button1": lambda: qtile.cmd_spawn(terminal + ' -e htop')}, - fontsize=14 ), widget.TextBox( text='|', foreground=ColorC, - fontsize=14 ), widget.Volume( fmt='Vol: {}', - fontsize=14 ), widget.TextBox( text='|', foreground=ColorC, - fontsize=14 - ), - widget.CheckUpdates( - fontsize=14, - distro="Arch", - no_update_string="No updates", - update_interval=600, - mouse_callbacks={"Button1": lambda: qtile.cmd_spawn(terminal + ' -e yay')} ), widget.TextBox( text='|', foreground=ColorC, - fontsize=14 ), widget.Clock( format="%Y-%m-%d %a %I:%M %p", - fontsize=14 ), widget.TextBox( text='|', foreground=ColorC, - fontsize=14 ), widget.QuickExit( default_text=" ", countdown_start=3, - fontsize=14 ), ], 24, diff --git a/scripts/fontsearch.sh b/scripts/fontsearch.sh new file mode 100755 index 0000000..61eee27 --- /dev/null +++ b/scripts/fontsearch.sh @@ -0,0 +1,8 @@ +#!/bin/sh + +fc-list \ + | grep -ioE ": [^:]*$1[^:]+:" \ + | sed -E 's/(^: |:)//g' \ + | tr , \\n \ + | sort \ + | uniq diff --git a/scripts/install.sh b/scripts/install.sh deleted file mode 100644 index 3d0f3f3..0000000 --- a/scripts/install.sh +++ /dev/null @@ -1,51 +0,0 @@ -#!/bin/bash - -ln -sf /usr/share/zoneinfo/Berlin/ /etc/localtime -hwclock --systohc -sed -i '178s/.//' /etc/locale.gen -locale-gen -echo "LANG=en_US.UTF-8" >> /etc/locale.conf -echo "KEYMAP=de_latin1" >> /etc/vconsole.conf -echo "arch" >> /etc/hostname -echo "127.0.0.1 localhost" >> /etc/hosts -echo "::1 localhost" >> /etc/hosts -echo "127.0.1.1 arch.localdomain arch" >> /etc/hosts -echo root:sancho | chpasswd - -# You can add xorg to the installation packages, I usually add it at the DE or WM install script -# You can remove the tlp package if you are installing on a desktop or vm - -ipacman -S xorg xorg-xinit grub efibootmgr networkmanager network-manager-applet dialog wpa_supplicant mtools dosfstools base-devel linux-headers avahi xdg-user-dirs xdg-utils gvfs gvfs-smb nfs-utils inetutils dnsutils bluez bluez-utils cups hplip alsa-utils pipewire pipewire-alsa pipewire-pulse pipewire-jack bash-completion openssh rsync reflector acpi acpi_call tlp virt-manager qemu qemu-arch-extra edk2-ovmf bridge-utils dnsmasq vde2 openbsd-netcat iptables-nft ipset firewalld flatpak sof-firmware nss-mdns acpid os-prober ntfs-3g terminus-font pip exa bat htop ranger - -pacman -S --noconfirm xf86-video-amdgpu -# pacman -S --noconfirm nvidia nvidia-utils nvidia-settings - -grub-install --target=x86_64-efi --efi-directory=/boot --bootloader-id=GRUB #change the directory to /boot/efi is you mounted the EFI partition at /boot/efi - -grub-mkconfig -o /boot/grub/grub.cfg - -systemctl enable NetworkManager -systemctl enable bluetooth -systemctl enable cups.service -systemctl enable sshd -systemctl enable avahi-daemon -systemctl enable tlp # You can comment this command out if you didn't install tlp, see above -systemctl enable reflector.timer -systemctl enable fstrim.timer -systemctl enable libvirtd -systemctl enable firewalld -systemctl enable acpid - -useradd -m ermanno -echo ermanno:password | chpasswd -usermod -aG libvirt ermanno - -echo "ermanno ALL=(ALL) ALL" >> /etc/sudoers.d/ermanno - - -printf "\e[1;32mDone! Type exit, umount -a and reboot.\e[0m" - - - - - diff --git a/starship/starship.toml b/starship/starship.toml index e69de29..bf65919 100644 --- a/starship/starship.toml +++ b/starship/starship.toml @@ -0,0 +1,187 @@ +[character] +success_symbol = "[>](bold green)" +error_symbol = "[x](bold red)" +vimcmd_symbol = "[<](bold green)" + +[git_commit] +tag_symbol = " tag " + +[git_status] +ahead = ">" +behind = "<" +diverged = "<>" +renamed = "r" +deleted = "x" + +[aws] +symbol = "aws " + +[bun] +symbol = "bun " + +[c] +symbol = "C " + +[cobol] +symbol = "cobol " + +[conda] +symbol = "conda " + +[crystal] +symbol = "cr " + +[cmake] +symbol = "cmake " + +[daml] +symbol = "daml " + +[dart] +symbol = "dart " + +[deno] +symbol = "deno " + +[dotnet] +symbol = ".NET " + +[directory] +read_only = " ro" + +[docker_context] +symbol = "docker " + +[elixir] +symbol = "exs " + +[elm] +symbol = "elm " + +[git_branch] +symbol = "git " + +[golang] +symbol = "go " + +[guix_shell] +symbol = "guix " + +[hg_branch] +symbol = "hg " + +[java] +symbol = "java " + +[julia] +symbol = "jl " + +[kotlin] +symbol = "kt " + +[lua] +symbol = "lua " + +[nodejs] +symbol = "nodejs " + +[memory_usage] +symbol = "memory " + +[meson] +symbol = "meson " + +[nim] +symbol = "nim " + +[nix_shell] +symbol = "nix " + +[ocaml] +symbol = "ml " + +[opa] +symbol = "opa " + +[os.symbols] +Alpine = "alp " +Amazon = "amz " +Android = "andr " +Arch = "rch " +CentOS = "cent " +Debian = "deb " +DragonFly = "dfbsd " +Emscripten = "emsc " +EndeavourOS = "ndev " +Fedora = "fed " +FreeBSD = "fbsd " +Garuda = "garu " +Gentoo = "gent " +HardenedBSD = "hbsd " +Illumos = "lum " +Linux = "lnx " +Macos = "mac " +Manjaro = "mjo " +Mariner = "mrn " +MidnightBSD = "mid " +Mint = "mint " +NetBSD = "nbsd " +NixOS = "nix " +OpenBSD = "obsd " +openSUSE = "osuse " +OracleLinux = "orac " +Pop = "pop " +Raspbian = "rasp " +Redhat = "rhl " +RedHatEnterprise = "rhel " +Redox = "redox " +Solus = "sol " +SUSE = "suse " +Ubuntu = "ubnt " +Unknown = "unk " +Windows = "win " + +[package] +symbol = "pkg " + +[perl] +symbol = "pl " + +[php] +symbol = "php " + +[pulumi] +symbol = "pulumi " + +[purescript] +symbol = "purs " + +[python] +symbol = "py " + +[raku] +symbol = "raku " + +[ruby] +symbol = "rb " + +[rust] +symbol = "rs " + +[scala] +symbol = "scala " + +[spack] +symbol = "spack " + +[sudo] +symbol = "sudo " + +[swift] +symbol = "swift " + +[terraform] +symbol = "terraform " + +[zig] +symbol = "zig "