Posodobitve (UX305U)

t460s-fhd
Jurij Podgoršek 2023-10-09 21:15:13 +02:00
parent d6ab47713a
commit fdcf19438b
7 changed files with 290 additions and 13 deletions

View File

@ -2,12 +2,24 @@
;;; This format is meant to be slightly human-readable; ;;; This format is meant to be slightly human-readable;
;;; nevertheless, you probably don't want to edit it. ;;; nevertheless, you probably don't want to edit it.
;;; -*- End Of Bookmark File Format Version Stamp -*- ;;; -*- End Of Bookmark File Format Version Stamp -*-
(("org-capture-last-stored" (("org-capture-last-stored-marker"
(filename . "~/.notes") (filename . "~/Dokumenti/zapiski.org")
(front-context-string . "** TODO Zaraščen") (front-context-string . "** TODO \n [2023")
(rear-context-string . "th composer\",]]\n")
(position . 196)
(last-modified 25762 52373 677189 163000))
("org-refile-last-stored"
(filename . "~/Dokumenti/zapiski.org")
(front-context-string . "** TODO \n [2023")
(rear-context-string . "th composer\",]]\n")
(position . 196)
(last-modified 25762 52373 676796 964000))
("org-capture-last-stored"
(filename . "~/Dokumenti/zapiski.org")
(front-context-string . "** TODO \n [2023")
(rear-context-string) (rear-context-string)
(position . 9) (position . 9)
(last-modified 25598 13456 906334 599000)) (last-modified 25762 52371 13354 624000))
("IRS" ("IRS"
(filename . "~/rs/megla-sync/org/irs.org") (filename . "~/rs/megla-sync/org/irs.org")
(front-context-string . "- nov X, dizajn\n") (front-context-string . "- nov X, dizajn\n")

View File

@ -6,12 +6,12 @@
(setq debug-on-error t) (setq debug-on-error t)
;; Loudamo melpa paketice
(add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/") t)
;; Set up package.el to work with MELPA ;; Set up package.el to work with MELPA
(require 'package) (require 'package)
;; Loudamo melpa paketice
(add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/") t)
(package-initialize) (package-initialize)
;; Stare funkcije za namescanje paketov. Od use-package z :ensure naprej vec ne ;; Stare funkcije za namescanje paketov. Od use-package z :ensure naprej vec ne
@ -572,6 +572,82 @@
;; If you edit it by hand, you could mess it up, so be careful. ;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance. ;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right. ;; If there is more than one, they won't work right.
'(connection-local-criteria-alist
'(((:application tramp)
tramp-connection-local-default-system-profile tramp-connection-local-default-shell-profile)))
'(connection-local-profile-alist
'((tramp-connection-local-darwin-ps-profile
(tramp-process-attributes-ps-args "-acxww" "-o" "pid,uid,user,gid,comm=abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ" "-o" "state=abcde" "-o" "ppid,pgid,sess,tty,tpgid,minflt,majflt,time,pri,nice,vsz,rss,etime,pcpu,pmem,args")
(tramp-process-attributes-ps-format
(pid . number)
(euid . number)
(user . string)
(egid . number)
(comm . 52)
(state . 5)
(ppid . number)
(pgrp . number)
(sess . number)
(ttname . string)
(tpgid . number)
(minflt . number)
(majflt . number)
(time . tramp-ps-time)
(pri . number)
(nice . number)
(vsize . number)
(rss . number)
(etime . tramp-ps-time)
(pcpu . number)
(pmem . number)
(args)))
(tramp-connection-local-busybox-ps-profile
(tramp-process-attributes-ps-args "-o" "pid,user,group,comm=abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ" "-o" "stat=abcde" "-o" "ppid,pgid,tty,time,nice,etime,args")
(tramp-process-attributes-ps-format
(pid . number)
(user . string)
(group . string)
(comm . 52)
(state . 5)
(ppid . number)
(pgrp . number)
(ttname . string)
(time . tramp-ps-time)
(nice . number)
(etime . tramp-ps-time)
(args)))
(tramp-connection-local-bsd-ps-profile
(tramp-process-attributes-ps-args "-acxww" "-o" "pid,euid,user,egid,egroup,comm=abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ" "-o" "state,ppid,pgid,sid,tty,tpgid,minflt,majflt,time,pri,nice,vsz,rss,etimes,pcpu,pmem,args")
(tramp-process-attributes-ps-format
(pid . number)
(euid . number)
(user . string)
(egid . number)
(group . string)
(comm . 52)
(state . string)
(ppid . number)
(pgrp . number)
(sess . number)
(ttname . string)
(tpgid . number)
(minflt . number)
(majflt . number)
(time . tramp-ps-time)
(pri . number)
(nice . number)
(vsize . number)
(rss . number)
(etime . number)
(pcpu . number)
(pmem . number)
(args)))
(tramp-connection-local-default-shell-profile
(shell-file-name . "/bin/sh")
(shell-command-switch . "-c"))
(tramp-connection-local-default-system-profile
(path-separator . ":")
(null-device . "/dev/null"))))
'(custom-safe-themes '(custom-safe-themes
'("db3e80842b48f9decb532a1d74e7575716821ee631f30267e4991f4ba2ddf56e" "d14f3df28603e9517eb8fb7518b662d653b25b26e83bd8e129acea042b774298" "7661b762556018a44a29477b84757994d8386d6edee909409fabe0631952dad9" default)) '("db3e80842b48f9decb532a1d74e7575716821ee631f30267e4991f4ba2ddf56e" "d14f3df28603e9517eb8fb7518b662d653b25b26e83bd8e129acea042b774298" "7661b762556018a44a29477b84757994d8386d6edee909409fabe0631952dad9" default))
'(iswitchb-mode t) '(iswitchb-mode t)

View File

@ -0,0 +1 @@
("~/sredstva/dotfiles/")

View File

@ -1,3 +1,5 @@
. /etc/profile
# <3 default editor (za manjse urejanje) # <3 default editor (za manjse urejanje)
export EDITOR="vim" export EDITOR="vim"
export VISUAL="vim" export VISUAL="vim"
@ -52,13 +54,13 @@ export GUILE_SITE_DIR="$HOME/.local/guile/site_dir"
export XDG_CURRENT_DESKTOP=sway export XDG_CURRENT_DESKTOP=sway
# Guix # Guix
export GUIX_LOCPATH="$HOME/.guix-profile/lib/locale"
export GUIX_PROFILE="$HOME/.guix-profile"
export XDG_DATA_DIRS="/usr/local/share:/usr/share:$XDG_DATA_DIRS"
export XDG_DATA_DIRS="${GUIX_PROFILE}/share${XDG_DATA_DIRS:+:}$XDG_DATA_DIRS"
export GUIX_PACKAGE_PATH="$HOME/projekti/guix-paketi" export GUIX_PACKAGE_PATH="$HOME/projekti/guix-paketi"
export PATH="$HOME/.config/guix/current/bin:$PATH" #export GUIX_LOCPATH="$HOME/.guix-profile/lib/locale"
. "$GUIX_PROFILE/etc/profile" #export GUIX_PROFILE="$HOME/.guix-profile"
#export XDG_DATA_DIRS="/usr/local/share:/usr/share:$XDG_DATA_DIRS"
#export XDG_DATA_DIRS="${GUIX_PROFILE}/share${XDG_DATA_DIRS:+:}$XDG_DATA_DIRS"
#export PATH="$HOME/.config/guix/current/bin:$PATH"
#. "$GUIX_PROFILE/etc/profile"
# Loadamo sway na tty1! # Loadamo sway na tty1!
# If running from tty1 start sway # If running from tty1 start sway

14
guix/.bash_profile 100644
View File

@ -0,0 +1,14 @@
# Set up Guix Home profile
if [ -f ~/.profile ]; then . ~/.profile; fi
# Honor per-interactive-shell startup file
if [ -f ~/.bashrc ]; then . ~/.bashrc; fi
# Merge search-paths from multiple profiles, the order matters.
eval "$(guix package --search-paths \
-p $HOME/.config/guix/current \
-p $HOME/.guix-profile \
-p /run/current-system/profile)"
# Prepend setuid programs.
export PATH=/run/setuid-programs:$PATH

64
guix/.bashrc 100644
View File

@ -0,0 +1,64 @@
# 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
source /etc/profile
# Term compatibility
export TERM=rxvt-256color
# Aliasi
alias ls='ls -p --color=auto'
alias ll='ls -l'
alias grep='grep --color=auto'
alias ls='ls --color -C'
alias vi='vim'
alias sudo='sudo env PATH=$PATH '
alias ag="rg"
alias less="less -R"
alias gitclean="git fetch -p && for branch in \$(git branch -vv | grep ': gone]' | gawk '{print \$1}'); do git branch -D \$branch; echo 'deleted \$branch'; done"
alias sctl="systemctl"
alias ddrush="ddev exec drush"
alias dcomposer="ddev exec composer"
alias offer-files="python3 -m http.server"
# X on wayland
alias wxon="xhost +local:"
alias kill-element='kill $(ps aux | grep element | awk '\''{print $2;}'\'')'
alias run-gamma="pkill -f gammastep; sleep 3; screen -dm -- gammastep -m wayland -l 46.05108:14.50513"
# RŠ ssh
srs() {
ssh "jurijp@$1.radiostudent.local"
}
srr() {
ssh "root@$1.radiostudent.local"
}
rss() {
ssh "jurijp@$1.radiostudent.si"
}
rsr() {
ssh "root@$1.radiostudent.si"
}
export BSD_GAMES_DIR=~/.local/share/bsd-games

View File

@ -0,0 +1,108 @@
;; This "home-environment" file can be passed to 'guix home reconfigure'
;; to reproduce the content of your profile. This is "symbolic": it only
;; specifies package names. To reproduce the exact same profile, you also
;; need to capture the channels being used, as returned by "guix describe".
;; See the "Replicating Guix" section in the manual.
(use-modules (gnu home)
(gnu packages)
(gnu services)
(guix gexp)
(gnu home services shells))
(home-environment
;; Below is the list of packages that will show up in your
;; Home profile, under ~/.guix-home/profile.
(packages (specifications->packages (list "crawl-tiles"
"acpi"
"zynaddsubfx"
"gnome-tweaks"
"papirus-icon-theme"
"gimp"
"supercollider"
"ardour"
"slurp"
"wireplumber"
"pipewire"
"qjackctl"
"mplayer"
"ffmpeg"
"libcaca"
"kigo"
"lierolibre"
"transmission:gui"
"wine64"
"wine"
"audacity"
"numix-gtk-theme"
"nextcloud-client"
"nyxt"
"icedove-wayland"
"ungoogled-chromium-wayland"
"keepassxc"
"libappindicator"
"snixembed"
"vlc"
"emacs-next-pgtk"
"qpwgraph"
"pamixer"
"element-desktop"
"pavucontrol"
"libreoffice"
"mako"
"firefox"
"alacritty"
"gammastep"
"i3status"
"rofi-wayland"
"sway"
"wev"
"grim"
"xjackfreak"
"ncdu"
"bind:utils"
"python-i3ipc"
"python"
"screen"
"bibata-cursor-theme"
"ripgrep"
"brightnessctl"
"foot"
"jack"
"amb-plugins"
"fil-plugins"
"gnugo"
"bsd-games"
"file"
"nmap"
"font-fira-code"
"font-awesome"
"unzip"
"curl")))
;; Below is the list of Home services. To search for available
;; services, run 'guix home search KEYWORD' in a terminal.
(services
(list (service home-bash-service-type
(home-bash-configuration
(aliases '(("ag" . "rg")
("dcomposer" . "ddev exec composer")
("ddrush" . "ddev exec drush")
("gitclean" . "git fetch -p && for branch in $(git branch -vv | grep '\\'': gone]'\\'' | gawk '\\''{print $1}'\\''); do git branch -D $branch; echo '\\''deleted $branch'\\''; done")
("grep" . "grep --color=auto")
("kill-element" . "kill $(ps aux | grep element | awk '\\''{print $2;}'\\'')")
("less" . "less -R")
("ll" . "ls -l")
("ls" . "ls --color -C")
("offer-files" . "python3 -m http.server")
("run-gamma" . "pkill -f gammastep; sleep 3; screen -dm -- gammastep -m wayland -l 46.05108:14.50513")
("sctl" . "systemctl")
("sudo" . "sudo env PATH=$PATH ")
("vi" . "vim")
("wxon" . "xhost +local:")))
(bashrc (list (local-file
"/home/g1smo/sredstva/dotfiles/guix/home.scm/.bashrc"
"bashrc")))
(bash-profile (list (local-file
"/home/g1smo/sredstva/dotfiles/guix/home.scm/.bash_profile"
"bash_profile"))))))))