diff options
-rw-r--r-- | .config/emacs/bd-mode-and-themes.el | 3 | ||||
l--------- | .config/guix/current | 1 | ||||
-rw-r--r-- | .librewolf/wh4whddw.default-default/chrome/userChrome.css | 27 | ||||
-rw-r--r-- | src/guix-config/.bash_profile | 8 | ||||
-rw-r--r-- | src/guix-config/.bashrc | 37 | ||||
-rw-r--r-- | src/guix-config/bdunahu-config.scm | 10 | ||||
-rw-r--r-- | src/guix-config/home-configuration.scm | 14 | ||||
-rw-r--r-- | src/guix-config/system-config.scm | 1 |
8 files changed, 63 insertions, 38 deletions
diff --git a/.config/emacs/bd-mode-and-themes.el b/.config/emacs/bd-mode-and-themes.el index 098b733..cf346eb 100644 --- a/.config/emacs/bd-mode-and-themes.el +++ b/.config/emacs/bd-mode-and-themes.el @@ -108,7 +108,8 @@ only in the selected buffer.") (global-hl-line-mode 1) ;;;; true transparency -(add-to-list 'default-frame-alist '(alpha-background . 60)) +;; (add-to-list 'default-frame-alist '(alpha-background . 60)) +(set-frame-parameter (selected-frame) 'alpha '(72 . 72)) (defun set-frame-alpha (value) "Sets the transparency of the frame background. 0=transparent/100=opaque" diff --git a/.config/guix/current b/.config/guix/current deleted file mode 120000 index 4d350ac..0000000 --- a/.config/guix/current +++ /dev/null @@ -1 +0,0 @@ -/var/guix/profiles/per-user/bdunahu/current-guix
\ No newline at end of file diff --git a/.librewolf/wh4whddw.default-default/chrome/userChrome.css b/.librewolf/wh4whddw.default-default/chrome/userChrome.css deleted file mode 100644 index 0be1534..0000000 --- a/.librewolf/wh4whddw.default-default/chrome/userChrome.css +++ /dev/null @@ -1,27 +0,0 @@ -/* Squash tab bar to 1px tall and hide the tabs */ -#TabsToolbar { - height: 1px !important; - min-height: 1px !important; - max-height: 1px !important; -} -#TabsToolbar .tabbrowser-tab { - display: none !important; -} -#tabbrowser-tabs { visibility: collapse !important; } - -/* - * Do not remove the @namespace line -- it's required for correct functioning - */ -/* -@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* set default namespace to XUL */ -*/ -/* - * Hide tab bar, navigation bar and scrollbars - * !important may be added to force override, but not necessary - * #content is not necessary to hide scroll bars - */ -/* -#TabsToolbar {visibility: collapse;} -#navigator-toolbox {visibility: collapse;} -browser {margin-right: -14px; margin-bottom: -14px;} -*/ diff --git a/src/guix-config/.bash_profile b/src/guix-config/.bash_profile new file mode 100644 index 0000000..b99d207 --- /dev/null +++ b/src/guix-config/.bash_profile @@ -0,0 +1,8 @@ +# Set up the system, user profile, and related variables. +# /etc/profile will be sourced by bash automatically +# Set up the home environment profile. +if [ -f ~/.profile ]; then source ~/.profile; fi + +# Honor per-interactive-shell startup file +if [ -f ~/.bashrc ]; then source ~/.bashrc; fi +PS1='\u@\h \w${GUIX_ENVIRONMENT:+ [env]}\$ ' diff --git a/src/guix-config/.bashrc b/src/guix-config/.bashrc index bc38007..984de87 100644 --- a/src/guix-config/.bashrc +++ b/src/guix-config/.bashrc @@ -1,3 +1,39 @@ +alias c="clear" +alias cp="cp -i" +alias grep="grep --color=auto" +alias ll="ls -l" +alias ls="ls -p --color=auto" +alias mkd="mkdir -pv" +alias mv="mv -i" +alias rm="rm -i" +alias vi="vim" +alias ytta="yt-dlp --paths /home/bdunahu/Media/Audio --extract-audio --format bestaudio/best" +alias yttv="yt-dlp --paths /home/bdunahu/Media/Videos -f b" +# Bash initialization for interactive non-login shells and +# for remote shells (info "(bash) Bash Startup Files"). + +# Export 'SHELL' to child processes. Programs such as 'screen' +# honor it and otherwise use /bin/sh. +export SHELL + +if [[ $- != *i* ]] +then + # We are being invoked from a non-interactive shell. If this + # is an SSH session (as in "ssh host command"), source + # /etc/profile so we get PATH and other essential variables. + [[ -n "$SSH_CLIENT" ]] && source /etc/profile + + # Don't do anything else. + return +fi + +# Source the system-wide file. +[ -f /etc/bashrc ] && source /etc/bashrc + +alias ls='ls -p --color=auto' +alias ll='ls -l' +alias grep='grep --color=auto' +alias ip='ip -color=auto' # Export 'SHELL' to child processes. Programs such as 'screen' # honor it and otherwise use /bin/sh. export SHELL @@ -44,3 +80,4 @@ export PATH=$HOME/Personal/scripts/:$PATH # fixes some errors with Anaconda3 and URxvt export TERMINFO=/usr/share/terminfo + diff --git a/src/guix-config/bdunahu-config.scm b/src/guix-config/bdunahu-config.scm index fe49e3a..ddf62bd 100644 --- a/src/guix-config/bdunahu-config.scm +++ b/src/guix-config/bdunahu-config.scm @@ -8,8 +8,8 @@ (gnu packages) (gnu services) (guix gexp) - (gnu home services) (gnu home services shells) + (gnu home services shepherd) (gnu home services ssh)) (home-environment @@ -54,11 +54,13 @@ (service home-openssh-service-type (home-openssh-configuration (hosts - (list (openssh-host (name "ambrosis") + (list (openssh-host (name "desk") (host-name "192.168.1.68") (user "bdunahu")) (openssh-host (name "vali") (host-name "192.168.1.64") (user "bdunahu")))))) - (service home-xdg-configuration-files-service-type - `(("emacs/init.el" ,(local-file "init.el"))))))) + (service home-shepherd-service-type) + ;; (service home-xdg-configuration-files-service-type + ;; `(("emacs/init.el" ,(local-file "init.el")))) + ))) diff --git a/src/guix-config/home-configuration.scm b/src/guix-config/home-configuration.scm index 344df88..d817f36 100644 --- a/src/guix-config/home-configuration.scm +++ b/src/guix-config/home-configuration.scm @@ -13,7 +13,8 @@ (home-environment ;; Below is the list of packages that will show up in your ;; Home profile, under ~/.guix-home/profile. - (packages (specifications->packages (list "xset"))) + (packages (specifications->packages (list "netcat" "password-store" "dmenu" + "xset"))) ;; Below is the list of Home services. To search for available ;; services, run 'guix home search KEYWORD' in a terminal. @@ -22,14 +23,17 @@ (home-bash-configuration (aliases '(("c" . "clear") ("cp" . "cp -i") ("grep" . "grep --color=auto") + ("ip" . "ip -color=auto") ("ll" . "ls -l") ("ls" . "ls -p --color=auto") ("mkd" . "mkdir -pv") ("mv" . "mv -i") ("rm" . "rm -i") - ("vi" . "vim") + ("vi" . "vim") ("ytta" . "yt-dlp --paths /home/bdunahu/Media/Audio --extract-audio --format bestaudio/best") ("yttv" . "yt-dlp --paths /home/bdunahu/Media/Videos -f b"))) - (bashrc (list (local-file - "/home/bdunahu/src/guix-config//.bashrc" - "bashrc"))))) + (bashrc (list (local-file "src/guix-config//.bashrc" + "bashrc"))) + (bash-profile (list (local-file + "src/guix-config//.bash_profile" + "bash_profile")))))))) diff --git a/src/guix-config/system-config.scm b/src/guix-config/system-config.scm index 2f7710c..539411f 100644 --- a/src/guix-config/system-config.scm +++ b/src/guix-config/system-config.scm @@ -37,6 +37,7 @@ "mpv" "nss-certs" "picom" + "pinentry" "stow" "vim" "xmodmap")) |