From b6049ab2add41bcc6ebc8fec0d50328c24480a5b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jozef=20Steinh=C3=BCbl?= Date: Fri, 29 Mar 2024 20:07:10 +0100 Subject: [PATCH] packages, starship, openbox --- .bashrc | 11 + .config/openbox/openbox/autostart | 2 + .config/openbox/openbox/menu.xml | 79 +++ .config/openbox/openbox/rc.xml | 789 ++++++++++++++++++++++++++++++ .config/starship.toml | 167 +++++++ .xbindkeysrc | 15 + packages.txt | 7 + 7 files changed, 1070 insertions(+) create mode 100644 .bashrc create mode 100644 .config/openbox/openbox/autostart create mode 100644 .config/openbox/openbox/menu.xml create mode 100644 .config/openbox/openbox/rc.xml create mode 100644 .config/starship.toml create mode 100644 .xbindkeysrc diff --git a/.bashrc b/.bashrc new file mode 100644 index 0000000..706a56e --- /dev/null +++ b/.bashrc @@ -0,0 +1,11 @@ +# .bashrc + +# If not running interactively, don't do anything +[[ $- != *i* ]] && return + +alias ls='ls --color=auto' +PS1='[\u@\h \W]\$ ' + +xbindkeys + +eval "$(starship init bash)" diff --git a/.config/openbox/openbox/autostart b/.config/openbox/openbox/autostart new file mode 100644 index 0000000..ecd1370 --- /dev/null +++ b/.config/openbox/openbox/autostart @@ -0,0 +1,2 @@ +tint2 & +nitrogen --restore diff --git a/.config/openbox/openbox/menu.xml b/.config/openbox/openbox/menu.xml new file mode 100644 index 0000000..ccda468 --- /dev/null +++ b/.config/openbox/openbox/menu.xml @@ -0,0 +1,79 @@ + + + + + + + + nvim + + yes + nvim + + + + + + + + pollymc + + + + + + kitty + + + + + + + google-chrome-stable + + yes + Chrome + + + + + + vesktop + + yes + Discord + + + + + + + + + obconf + yes + + + + + + + + + + + + + + + + + + + + yes + + + + + diff --git a/.config/openbox/openbox/rc.xml b/.config/openbox/openbox/rc.xml new file mode 100644 index 0000000..41afbf7 --- /dev/null +++ b/.config/openbox/openbox/rc.xml @@ -0,0 +1,789 @@ + + + + + 10 + 20 + + + yes + + no + + yes + + no + + 200 + + no + + + + Smart + +
yes
+ + Primary + + 1 + +
+ + Prismatic-Night + NLIMC + + yes + yes + + sans + 8 + + bold + + normal + + + + sans + 8 + + bold + + normal + + + + sans + 9 + + normal + + normal + + + + sans + 9 + + normal + + normal + + + + sans + 9 + + bold + + normal + + + + sans + 9 + + bold + + normal + + + + + + 4 + 1 + + + + 875 + + + + yes + Nonpixel + + Center + + + + 10 + + 10 + + + + + + 0 + 0 + 0 + 0 + + + TopLeft + + 0 + 0 + no + Above + + Vertical + + no + 300 + + 300 + + Middle + + + + C-g + + + + left + no + + + + + right + no + + + + + up + no + + + + + down + no + + + + + left + no + + + + + right + no + + + + + up + no + + + + + down + no + + + + + 1 + + + + + 2 + + + + + 3 + + + + + 4 + + + + + + + + + + + + + + + + + client-menu + + + + + + + + + + + + + + + + + + + + + + + + yes + yes + + + + + + + + + + + right + + + + + left + + + + + up + + + + + down + + + + + scrot '/tmp/%F_%T_$wx$h.png' -e 'xclip -selection clipboard -target image/png -i $f' + + + + + + + true + Konqueror + + kfmclient openProfile filemanagement + + + + + 1 + + 500 + + 400 + + false + + + + + + + + + + + + + + + + + + + + + + + + + + + + previous + + + + + next + + + + + previous + + + + + next + + + + + previous + + + + + next + + + + + + + + + + + + + no + + + + + + + + + + + yes + + + + + + + + + + + + + + + + + + + + + + + client-menu + + + + + + + top + + + + + + + left + + + + + + + right + + + + + + + bottom + + + + + + + client-menu + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + client-menu + + + + + + + client-menu + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + vertical + + + + + horizontal + + + + + + + + + + + + + + + + + previous + + + + + next + + + + + previous + + + + + next + + + + + previous + + + + + next + + + + + + + + + + + + + + + + client-list-combined-menu + + + + + root-menu + + + + + + + previous + + + + + next + + + + + previous + + + + + next + + + + + + + + menu.xml + 200 + + no + + 100 + + 400 + + yes + + yes + + + + + +
diff --git a/.config/starship.toml b/.config/starship.toml new file mode 100644 index 0000000..aee6704 --- /dev/null +++ b/.config/starship.toml @@ -0,0 +1,167 @@ +"$schema" = 'https://starship.rs/config-schema.json' + +format = """ +[](color_orange)\ +$os\ +$username\ +[](bg:color_yellow fg:color_orange)\ +$directory\ +[](fg:color_yellow bg:color_aqua)\ +$git_branch\ +$git_status\ +[](fg:color_aqua bg:color_blue)\ +$c\ +$rust\ +$golang\ +$nodejs\ +$php\ +$java\ +$kotlin\ +$haskell\ +$python\ +[](fg:color_blue bg:color_bg3)\ +$docker_context\ +$conda\ +[](fg:color_bg3 bg:color_bg1)\ +$time\ +[ ](fg:color_bg1)\ +$line_break$character""" + +palette = 'gruvbox_dark' + +[palettes.gruvbox_dark] +color_fg0 = '#fbf1c7' +color_bg1 = '#3c3836' +color_bg3 = '#665c54' +color_blue = '#458588' +color_aqua = '#689d6a' +color_green = '#98971a' +color_orange = '#d65d0e' +color_purple = '#b16286' +color_red = '#cc241d' +color_yellow = '#d79921' + +[os] +disabled = false +style = "bg:color_orange fg:color_fg0" + +[os.symbols] +Windows = "󰍲" +Ubuntu = "󰕈" +SUSE = "" +Raspbian = "󰐿" +Mint = "󰣭" +Macos = "󰀵" +Manjaro = "" +Linux = "󰌽" +Gentoo = "󰣨" +Fedora = "󰣛" +Alpine = "" +Amazon = "" +Android = "" +Arch = "󰣇" +Artix = "󰣇" +CentOS = "" +Debian = "󰣚" +Redhat = "󱄛" +RedHatEnterprise = "󱄛" + +[username] +show_always = true +style_user = "bg:color_orange fg:color_fg0" +style_root = "bg:color_orange fg:color_fg0" +format = '[ $user ]($style)' + +[directory] +style = "fg:color_fg0 bg:color_yellow" +format = "[ $path ]($style)" +truncation_length = 3 +truncation_symbol = "…/" + +[directory.substitutions] +"Documents" = "󰈙 " +"Downloads" = " " +"Music" = "󰝚 " +"Pictures" = " " +"Developer" = "󰲋 " + +[git_branch] +symbol = "" +style = "bg:color_aqua" +format = '[[ $symbol $branch ](fg:color_fg0 bg:color_aqua)]($style)' + +[git_status] +style = "bg:color_aqua" +format = '[[($all_status$ahead_behind )](fg:color_fg0 bg:color_aqua)]($style)' + +[nodejs] +symbol = "" +style = "bg:color_blue" +format = '[[ $symbol( $version) ](fg:color_fg0 bg:color_blue)]($style)' + +[c] +symbol = " " +style = "bg:color_blue" +format = '[[ $symbol( $version) ](fg:color_fg0 bg:color_blue)]($style)' + +[rust] +symbol = "" +style = "bg:color_blue" +format = '[[ $symbol( $version) ](fg:color_fg0 bg:color_blue)]($style)' + +[golang] +symbol = "" +style = "bg:color_blue" +format = '[[ $symbol( $version) ](fg:color_fg0 bg:color_blue)]($style)' + +[php] +symbol = "" +style = "bg:color_blue" +format = '[[ $symbol( $version) ](fg:color_fg0 bg:color_blue)]($style)' + +[java] +symbol = " " +style = "bg:color_blue" +format = '[[ $symbol( $version) ](fg:color_fg0 bg:color_blue)]($style)' + +[kotlin] +symbol = "" +style = "bg:color_blue" +format = '[[ $symbol( $version) ](fg:color_fg0 bg:color_blue)]($style)' + +[haskell] +symbol = "" +style = "bg:color_blue" +format = '[[ $symbol( $version) ](fg:color_fg0 bg:color_blue)]($style)' + +[python] +symbol = "" +style = "bg:color_blue" +format = '[[ $symbol( $version) ](fg:color_fg0 bg:color_blue)]($style)' + +[docker_context] +symbol = "" +style = "bg:color_bg3" +format = '[[ $symbol( $context) ](fg:#83a598 bg:color_bg3)]($style)' + +[conda] +style = "bg:color_bg3" +format = '[[ $symbol( $environment) ](fg:#83a598 bg:color_bg3)]($style)' + +[time] +disabled = false +time_format = "%R" +style = "bg:color_bg1" +format = '[[  $time ](fg:color_fg0 bg:color_bg1)]($style)' + +[line_break] +disabled = false + +[character] +disabled = false +success_symbol = '[](bold fg:color_green)' +error_symbol = '[](bold fg:color_red)' +vimcmd_symbol = '[](bold fg:color_green)' +vimcmd_replace_one_symbol = '[](bold fg:color_purple)' +vimcmd_replace_symbol = '[](bold fg:color_purple)' +vimcmd_visual_symbol = '[](bold fg:color_yellow)' diff --git a/.xbindkeysrc b/.xbindkeysrc new file mode 100644 index 0000000..096fdf9 --- /dev/null +++ b/.xbindkeysrc @@ -0,0 +1,15 @@ +# Increase volume +"pactl set-sink-volume @DEFAULT_SINK@ +1000" + XF86AudioRaiseVolume + +# Decrease volume +"pactl set-sink-volume @DEFAULT_SINK@ -1000" + XF86AudioLowerVolume + +# Mute volume +"pactl set-sink-mute @DEFAULT_SINK@ toggle" + XF86AudioMute + +# Mute microphone +"pactl set-source-mute @DEFAULT_SOURCE@ toggle" + XF86AudioMicMute diff --git a/packages.txt b/packages.txt index 8924f11..9fc0c16 100644 --- a/packages.txt +++ b/packages.txt @@ -453,6 +453,10 @@ ii ncurses-base-6.4_2 System V Release 4.0 curses emulati ii ncurses-libs-6.4_2 System V Release 4.0 curses emulation library -- shared libraries ii neofetch-7.1.0_2 Simple system information script ii neovim-0.9.5_1 Fork of Vim aiming to improve user experience, plugins and GUIs +ii nerd-fonts-3.1.1_1 Iconic font aggregator, collection and patcher +ii nerd-fonts-otf-3.1.1_1 Iconic font aggregator, collection and patcher - OTF fonts +ii nerd-fonts-symbols-ttf-3.1.1_1 Iconic font aggregator, collection and patcher - TTF symbols-only font +ii nerd-fonts-ttf-3.1.1_1 Iconic font aggregator, collection and patcher - TTF fonts ii nettle-3.9.1_1 Low-level cryptographic library ii network-manager-applet-1.36.0_1 NetworkManager panel applet for GNOME ii newt-0.52.21_7 Library for color text mode, widget based user interfaces @@ -544,6 +548,7 @@ ii runit-2.1.2_15 UNIX init scheme with service super ii runit-void-20231124_1 Void Linux runit scripts ii samba-libs-4.14.12_5 SMB/CIFS file, print, and login server for Unix - core libraries ii sbc-2.0_1 Bluetooth Subband Codec (SBC) library +ii scrot-1.10_1 Simple command-line screenshot utility for X ii sed-4.9_1 The GNU stream editor ii setxkbmap-1.3.4_1 Set the keyboard map using the X Keyboard Extension ii shadow-4.8.1_3 Shadow password file utilities @@ -557,6 +562,7 @@ ii speech-dispatcher-0.11.5_1 High-level device independent layer ii speexdsp-1.2.1_1 Free codec for free speech - DSP ii sqlite-3.44.2_2 SQL Database Engine in a C Library ii sratom-0.6.16_1 Library for serialising LV2 atoms to/from RDF (Turtle syntax) +ii starship-1.18.0_1 Minimal, fast and customizable cross-shell prompt ii startup-notification-0.12_11 Library for tracking application startup ii sudo-1.9.15p4_1 Allow others to run commands as root ii taglib-1.13.1_1 Library for accessing ID tags in various media files @@ -605,6 +611,7 @@ ii xcb-util-image-0.4.1_1 Utility libraries for XCB - XImage ii xcb-util-keysyms-0.4.1_1 Utility libraries for XCB - key constants and keycode conversion ii xcb-util-renderutil-0.3.10_1 Utility libraries for XCB - Render extension convenience functions ii xcb-util-wm-0.4.2_1 Utility libraries for XC Binding - window-manager helpers for ICCCM +ii xclip-0.13_2 Command line interface to the X11 clipboard ii xdg-utils-1.1.3_5 Tools to assist applications with various desktop integration tasks ii xf86-input-evdev-2.10.6_2 Xorg event device input driver ii xf86-input-libinput-1.4.0_1 Generic input driver for the X.Org server based on libinput