Compare commits
9 Commits
f049d62ad9
...
7dd9fec2b0
Author | SHA1 | Date |
---|---|---|
Jurij Podgoršek | 7dd9fec2b0 | |
Jurij Podgoršek | e7fd032b50 | |
Jurij Podgoršek | 42afb87995 | |
Jurij Podgoršek | 29c4d1ebd5 | |
Jurij Podgoršek | 83f4a4c0af | |
Jurij Podgoršek | 9ae8b1ec91 | |
Jurij Podgoršek | fdcf19438b | |
Jurij Podgoršek | d6ab47713a | |
Jurij Podgoršek | 27de8fa65b |
|
@ -0,0 +1,23 @@
|
|||
(cons* (channel
|
||||
(name 'nonguix)
|
||||
(url "https://gitlab.com/nonguix/nonguix")
|
||||
;; Enable signature verification:
|
||||
(introduction
|
||||
(make-channel-introduction
|
||||
"897c1a470da759236cc11798f4e0a5f7d4d59fbc"
|
||||
(openpgp-fingerprint
|
||||
"2A39 3FFF 68F4 EF7A 3D29 12AF 6F51 20A0 22FB B2D5"))))
|
||||
;(channel
|
||||
; (name 'guixrus)
|
||||
; (url "https://git.sr.ht/~whereiseveryone/guixrus")
|
||||
; (introduction
|
||||
; (make-channel-introduction
|
||||
; "7c67c3a9f299517bfc4ce8235628657898dd26b2"
|
||||
; (openpgp-fingerprint
|
||||
; "CD2D 5EAA A98C CB37 DA91 D6B0 5F58 1664 7F8B E551"))))
|
||||
;(channel
|
||||
; (name 'kompot)
|
||||
; ;;(url "https://git.kompot.si/kompot/guix-paketi")
|
||||
; (url (string-append "file://" (getenv "HOME") "/projekti/guix-paketi"))
|
||||
; (branch "main"))
|
||||
%default-channels)
|
|
@ -16,6 +16,9 @@ set $term foot
|
|||
# Font
|
||||
font pango:Iosevka SS05 Medium 10
|
||||
|
||||
# Kurzor
|
||||
seat * xcursor_theme Bibata-Modern-Classic 24
|
||||
|
||||
# Launcher
|
||||
set $menu "rofi -combi-modi window,drun,run -show combi -modi combi"
|
||||
#set $menu j4-dmenu-desktop
|
||||
|
@ -281,9 +284,9 @@ bindsym Mod1+shift+x exec playerctl play-pause
|
|||
bindsym Mod1+shift+c exec playerctl play-pause
|
||||
|
||||
# Zvok
|
||||
set $vol_down_cmd amixer -q sset Master 5%-
|
||||
set $vol_up_cmd amixer -q sset Master 5%+
|
||||
set $vol_toggle_cmd amixer -q sset Master toggle
|
||||
set $vol_down_cmd pamixer -d 5
|
||||
set $vol_up_cmd pamixer -i 5
|
||||
set $vol_toggle_cmd pamixer -t
|
||||
|
||||
bindsym $mod+shift+d exec "$vol_up_cmd"
|
||||
bindsym XF86AudioRaiseVolume exec "$vol_up_cmd"
|
||||
|
@ -301,8 +304,8 @@ exec_always {
|
|||
}
|
||||
|
||||
# Zvetlost zaslona
|
||||
bindsym XF86MonBrightnessUp exec "light -A 3"
|
||||
bindsym XF86MonBrightnessDown exec "light -U 3"
|
||||
bindsym XF86MonBrightnessUp exec "brightnessctl set 3%+"
|
||||
bindsym XF86MonBrightnessDown exec "brightnessctl set 3%-"
|
||||
|
||||
# Zunanji skrin
|
||||
bindsym $mod+p exec "swaymsg output HDMI-A-2 enable"
|
||||
|
@ -330,14 +333,11 @@ exec dbus-update-activation-environment --systemd DISPLAY WAYLAND_DISPLAY SWAYSO
|
|||
exec ~/bin/inactive-windows-transparency.py
|
||||
|
||||
# Desktop notifikacije
|
||||
exec mako --default-timeout=10000 --icon-path /usr/share/icons/Numix
|
||||
exec mako --default-timeout=5000 --icon-path /usr/share/icons/Numix
|
||||
|
||||
# Autotiling https://github.com/nwg-piotr/autotiling
|
||||
exec ~/bin/autotiling.py
|
||||
|
||||
# Rdece, da lahko spim, hvala
|
||||
exec gammastep -m wayland -l 46.05108:14.50513
|
||||
|
||||
# Zagoni programov razporejeni na workspejse
|
||||
workspace 1:
|
||||
#exec firefox
|
||||
|
|
|
@ -2,12 +2,24 @@
|
|||
;;; This format is meant to be slightly human-readable;
|
||||
;;; nevertheless, you probably don't want to edit it.
|
||||
;;; -*- End Of Bookmark File Format Version Stamp -*-
|
||||
(("org-capture-last-stored"
|
||||
(filename . "~/.notes")
|
||||
(front-context-string . "** TODO Zaraščen")
|
||||
(("org-capture-last-stored-marker"
|
||||
(filename . "~/Dokumenti/zapiski.org")
|
||||
(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)
|
||||
(position . 9)
|
||||
(last-modified 25598 13456 906334 599000))
|
||||
(last-modified 25762 52371 13354 624000))
|
||||
("IRS"
|
||||
(filename . "~/rs/megla-sync/org/irs.org")
|
||||
(front-context-string . "- nov X, dizajn\n")
|
||||
|
|
|
@ -6,12 +6,12 @@
|
|||
|
||||
(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
|
||||
(require 'package)
|
||||
|
||||
;; Loudamo melpa paketice
|
||||
(add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/") t)
|
||||
|
||||
(package-initialize)
|
||||
|
||||
;; Stare funkcije za namescanje paketov. Od use-package z :ensure naprej vec ne
|
||||
|
@ -311,10 +311,10 @@
|
|||
;; Guile scheme
|
||||
(use-package geiser
|
||||
:ensure t
|
||||
:mode "\\.scm\\'")
|
||||
:defer t)
|
||||
(use-package geiser-guile
|
||||
:ensure t
|
||||
:after geiser
|
||||
:after geiser-guile
|
||||
:init (setq scheme-program-name "guile"))
|
||||
|
||||
;; Racket podpora
|
||||
|
@ -456,6 +456,9 @@
|
|||
'((mermaid . t)
|
||||
(scheme . t))))
|
||||
|
||||
;; org-linkz! https://github.com/p-kolacz/org-linkz @TODO
|
||||
;; ali pa tole? https://github.com/karlicoss/grasp
|
||||
|
||||
;; Swiper search
|
||||
(use-package swiper
|
||||
:ensure t
|
||||
|
@ -572,13 +575,89 @@
|
|||
;; If you edit it by hand, you could mess it up, so be careful.
|
||||
;; Your init file should contain only one such instance.
|
||||
;; 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
|
||||
'("db3e80842b48f9decb532a1d74e7575716821ee631f30267e4991f4ba2ddf56e" "d14f3df28603e9517eb8fb7518b662d653b25b26e83bd8e129acea042b774298" "7661b762556018a44a29477b84757994d8386d6edee909409fabe0631952dad9" default))
|
||||
'(iswitchb-mode t)
|
||||
'(org-agenda-files
|
||||
'("~/Dokumenti/todo.org" "/home/g1smo/Dokumenti/plac.org" "/home/g1smo/rs/org/2021-05-25-spletna-stran.org" "/home/g1smo/rs/org/2021-07-02-spletna.org" "/home/g1smo/rs/org/README.org" "/home/g1smo/rs/org/git-delavnica.org" "/home/g1smo/rs/org/irs-plan-period.org" "/home/g1smo/rs/org/irs-plan.org" "/home/g1smo/rs/org/irs.org" "/home/g1smo/rs/org/irs_old.org" "/home/g1smo/rs/org/kaki.org" "/home/g1smo/rs/org/prepoznava-komadov.org" "/home/g1smo/Dokumenti/agenda.org" "/home/g1smo/Dokumenti/blurb.org" "/home/g1smo/Dokumenti/delo.org" "/home/g1smo/Dokumenti/emanat.org" "/home/g1smo/Dokumenti/kompot.org" "/home/g1smo/Dokumenti/ljudmila.org" "/home/g1smo/Dokumenti/mu4e-setup.org" "/home/g1smo/Dokumenti/muska.org" "/home/g1smo/Dokumenti/org.org" "/home/g1smo/Dokumenti/projekti.org" "/home/g1smo/Dokumenti/recepti.org" "/home/g1smo/Dokumenti/samozaposlitev-prijava.org" "/home/g1smo/Dokumenti/shta.org" "/home/g1smo/Dokumenti/wtf.org" "/home/g1smo/Dokumenti/zapisi.org"))
|
||||
'(package-selected-packages
|
||||
'(toml-mode smartparens crdt.el openwith evil-org-agenda company-org-block org-block-capf writeroom-mode racket-mode htmlize company-lsp web-mode tidal org-caldav format-all company-phpactor phpactor extempore-mode ob-mermaid use-package lsp-mode yaml-mode drupal-mode magit markdown-mode flycheck arduino-mode rjsx-mode gdscript-mode rainbow-delimiters which-key paredit geiser-guile geiser web-beautify vue-mode treemacs-evil treemacs-projectile treemacs smart-tabs-mode smart-tabs js2-mode smex clojure-mode helpful doom-themes counsel swiper all-the-icons doom-modeline evil-collection fennel-mode rg ivy company projectile evil))
|
||||
'(tree-sitter guix toml-mode smartparens crdt.el openwith evil-org-agenda company-org-block org-block-capf writeroom-mode racket-mode htmlize company-lsp web-mode tidal org-caldav format-all company-phpactor phpactor extempore-mode ob-mermaid use-package lsp-mode yaml-mode drupal-mode magit markdown-mode flycheck arduino-mode rjsx-mode gdscript-mode rainbow-delimiters which-key paredit geiser-guile geiser web-beautify vue-mode treemacs-evil treemacs-projectile treemacs smart-tabs-mode smart-tabs js2-mode smex clojure-mode helpful doom-themes counsel swiper all-the-icons doom-modeline evil-collection fennel-mode rg ivy company projectile evil))
|
||||
'(tool-bar-mode nil)
|
||||
'(warning-minimum-level :error)
|
||||
'(which-key-mode t))
|
||||
|
|
|
@ -23,7 +23,7 @@ order += "wireless _first_"
|
|||
order += "load"
|
||||
order += "memory"
|
||||
order += "volume master"
|
||||
order += "battery all"
|
||||
order += "battery pbp"
|
||||
order += "tztime local"
|
||||
|
||||
wireless _first_ {
|
||||
|
@ -38,13 +38,15 @@ ethernet _first_ {
|
|||
format_down = "E: "
|
||||
}
|
||||
|
||||
battery all {
|
||||
battery pbp {
|
||||
format = " %status %percentage %remaining "
|
||||
status_bat = ""
|
||||
status_chr = ""
|
||||
status_full = ""
|
||||
status_unk = "?"
|
||||
threshold_type = time
|
||||
integer_battery_capacity = true
|
||||
path = "/sys/class/power_supply/cw2015-battery/uevent"
|
||||
}
|
||||
|
||||
tztime local {
|
||||
|
|
11
.profile
11
.profile
|
@ -1,3 +1,5 @@
|
|||
. /etc/profile
|
||||
|
||||
# <3 default editor (za manjse urejanje)
|
||||
export EDITOR="vim"
|
||||
export VISUAL="vim"
|
||||
|
@ -51,15 +53,6 @@ export GUILE_SITE_DIR="$HOME/.local/guile/site_dir"
|
|||
# (FULL)Screen share
|
||||
export XDG_CURRENT_DESKTOP=sway
|
||||
|
||||
# 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 PATH="$HOME/.config/guix/current/bin:$PATH"
|
||||
. "$GUIX_PROFILE/etc/profile"
|
||||
|
||||
# Loadamo sway na tty1!
|
||||
# If running from tty1 start sway
|
||||
#if [ "$(tty)" = "/dev/tty1" ]; then
|
||||
|
|
15
.zshrc
15
.zshrc
|
@ -62,10 +62,11 @@ bindkey '^R' history-incremental-pattern-search-backward
|
|||
#}
|
||||
|
||||
# Aliasi
|
||||
alias ll='ls -l'
|
||||
alias grep='grep --color=auto'
|
||||
alias ls='ls --color -C'
|
||||
alias vi='vim'
|
||||
alias sudo='sudo env PATH=$PATH '
|
||||
alias grep="grep --color=auto"
|
||||
alias ag="rg"
|
||||
alias less="less -R"
|
||||
|
||||
|
@ -78,9 +79,6 @@ alias offer-files="python3 -m http.server"
|
|||
# X on wayland
|
||||
alias wxon="xhost +local:"
|
||||
|
||||
# RŠ aliasi
|
||||
alias omnom="ssh root@debeli"
|
||||
|
||||
# Ljudmila
|
||||
alias scdev="ssh culture@milci.ljudmila.org"
|
||||
alias scnew="ssh culture@zala.ljudmila.org"
|
||||
|
@ -99,7 +97,6 @@ alias srs='f(){ ssh jurijp@$1.radiostudent.local };f'
|
|||
alias srr='f(){ ssh root@$1.radiostudent.local };f'
|
||||
alias rss='f(){ ssh jurijp@$1.radiostudent.si };f'
|
||||
alias rsr='f(){ ssh root@$1.radiostudent.si };f'
|
||||
alias zw="ssh zeljko@dev.radiostudent.si"
|
||||
|
||||
# Poslusaj snemanje
|
||||
alias poslusaj='pactl load-module module-loopback latency_msec=1'
|
||||
|
@ -135,3 +132,11 @@ export LD_LIBRARY_PATH="$(go env GOPATH)/deps/dqlite/.libs/:$(go env GOPATH)/dep
|
|||
# JS fix (prevec nov za openssl)
|
||||
#export NODE_OPTIONS="--openssl-legacy-provider"
|
||||
|
||||
# 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 PATH="$HOME/.config/guix/current/bin:$PATH"
|
||||
. "$GUIX_PROFILE/etc/profile"
|
||||
|
|
|
@ -1,3 +1,8 @@
|
|||
# dotfiles
|
||||
|
||||
Here you can find a collection of various configuration files I use.
|
||||
|
||||
## Kako?
|
||||
|
||||
1. Povežemo nastavitvene fajle `./povezi.sh`
|
||||
2. Poženemo dodatno skripto (pridobi odvisne fajle z neta) `./init.sh`
|
||||
|
|
|
@ -0,0 +1,140 @@
|
|||
[Desktop Entry]
|
||||
Version=1.0
|
||||
Name=Chromium Web Browser
|
||||
Name[ast]=Restolador web Chromium
|
||||
Name[ca]=Navegador web Chromium
|
||||
Name[de]=Chromium-Webbrowser
|
||||
Name[es]=Navegador web Chromium
|
||||
Name[fr]=Navigateur Web Chromium
|
||||
Name[gl]=Navegador web Chromium
|
||||
Name[he]=דפדפן האינטרנט Chromium
|
||||
Name[hr]=Chromium web preglednik
|
||||
Name[hu]=Chromium webböngésző
|
||||
Name[id]=Peramban Web Chromium
|
||||
Name[it]=Browser web Chromium
|
||||
Name[ja]=Chromium ウェブ・ブラウザ
|
||||
Name[ko]=Chromium 웹 브라우저
|
||||
Name[pt_BR]=Chromium Navegador da Internet
|
||||
Name[ru]=Веб-браузер Chromium
|
||||
Name[sl]=Chromium spletni brskalnik
|
||||
Name[sv]=Webbläsaren Chromium
|
||||
Name[ug]=Chromium توركۆرگۈ
|
||||
Name[zh_CN]=Chromium 网页浏览器
|
||||
Name[zh_HK]=Chromium 網頁瀏覽器
|
||||
Name[zh_TW]=Chromium 網頁瀏覽器
|
||||
GenericName=Web Browser
|
||||
GenericName[ar]=متصفح الشبكة
|
||||
GenericName[ast]=Restolador web
|
||||
GenericName[bg]=Уеб браузър
|
||||
GenericName[bn]=ওয়েব ব্রাউজার
|
||||
GenericName[ca]=Navegador web
|
||||
GenericName[cs]=WWW prohlížeč
|
||||
GenericName[da]=Browser
|
||||
GenericName[de]=Webbrowser
|
||||
GenericName[el]=Περιηγητής ιστού
|
||||
GenericName[en_GB]=Web Browser
|
||||
GenericName[es]=Navegador web
|
||||
GenericName[et]=Veebibrauser
|
||||
GenericName[fi]=WWW-selain
|
||||
GenericName[fil]=Web Browser
|
||||
GenericName[fr]=Navigateur Web
|
||||
GenericName[gl]=Navegador web
|
||||
GenericName[gu]=વેબ બ્રાઉઝર
|
||||
GenericName[he]=דפדפן אינטרנט
|
||||
GenericName[hi]=वेब ब्राउज़र
|
||||
GenericName[hr]=Web preglednik
|
||||
GenericName[hu]=Webböngésző
|
||||
GenericName[id]=Peramban Web
|
||||
GenericName[it]=Browser web
|
||||
GenericName[ja]=ウェブ・ブラウザ
|
||||
GenericName[kn]=ಜಾಲ ವೀಕ್ಷಕ
|
||||
GenericName[ko]=웹 브라우저
|
||||
GenericName[lt]=Žiniatinklio naršyklė
|
||||
GenericName[lv]=Tīmekļa pārlūks
|
||||
GenericName[ml]=വെബ് ബ്രൌസര്
|
||||
GenericName[mr]=वेब ब्राऊजर
|
||||
GenericName[nb]=Nettleser
|
||||
GenericName[nl]=Webbrowser
|
||||
GenericName[or]=ଓ୍ବେବ ବ୍ରାଉଜର
|
||||
GenericName[pl]=Przeglądarka WWW
|
||||
GenericName[pt]=Navegador Web
|
||||
GenericName[pt_BR]=Navegador da Internet
|
||||
GenericName[ro]=Navigator de Internet
|
||||
GenericName[ru]=Веб-браузер
|
||||
GenericName[sk]=WWW prehliadač
|
||||
GenericName[sl]=Spletni brskalnik
|
||||
GenericName[sr]=Интернет прегледник
|
||||
GenericName[sv]=Webbläsare
|
||||
GenericName[ta]=இணைய உலாவி
|
||||
GenericName[te]=మహాతల అన్వేషి
|
||||
GenericName[th]=เว็บเบราว์เซอร์
|
||||
GenericName[tr]=Web Tarayıcı
|
||||
GenericName[ug]=توركۆرگۈ
|
||||
GenericName[uk]=Навігатор Тенет
|
||||
GenericName[vi]=Bộ duyệt Web
|
||||
GenericName[zh_CN]=网页浏览器
|
||||
GenericName[zh_HK]=網頁瀏覽器
|
||||
GenericName[zh_TW]=網頁瀏覽器
|
||||
Comment=Access the Internet
|
||||
Comment[ar]=الدخول إلى الإنترنت
|
||||
Comment[ast]=Accesu a Internet
|
||||
Comment[bg]=Достъп до интернет
|
||||
Comment[bn]=ইন্টারনেটটি অ্যাক্সেস করুন
|
||||
Comment[ca]=Accediu a Internet
|
||||
Comment[cs]=Přístup k internetu
|
||||
Comment[da]=Få adgang til internettet
|
||||
Comment[de]=Internetzugriff
|
||||
Comment[el]=Πρόσβαση στο Διαδίκτυο
|
||||
Comment[en_GB]=Access the Internet
|
||||
Comment[es]=Acceda a Internet
|
||||
Comment[et]=Pääs Internetti
|
||||
Comment[fi]=Käytä internetiä
|
||||
Comment[fil]=I-access ang Internet
|
||||
Comment[fr]=Explorer le Web
|
||||
Comment[gl]=Acceda a Internet
|
||||
Comment[gu]=ઇંટરનેટ ઍક્સેસ કરો
|
||||
Comment[he]=גישה לאינטרנט
|
||||
Comment[hi]=इंटरनेट तक पहुंच स्थापित करें
|
||||
Comment[hr]=Pristupite Internetu
|
||||
Comment[hu]=Az internet elérése
|
||||
Comment[id]=Akses Internet
|
||||
Comment[it]=Accesso a Internet
|
||||
Comment[ja]=インターネットにアクセス
|
||||
Comment[kn]=ಇಂಟರ್ನೆಟ್ ಅನ್ನು ಪ್ರವೇಶಿಸಿ
|
||||
Comment[ko]=인터넷에 연결합니다
|
||||
Comment[lt]=Interneto prieiga
|
||||
Comment[lv]=Piekļūt internetam
|
||||
Comment[ml]=ഇന്റര്നെറ്റ് ആക്സസ് ചെയ്യുക
|
||||
Comment[mr]=इंटरनेटमध्ये प्रवेश करा
|
||||
Comment[nb]=Gå til Internett
|
||||
Comment[nl]=Verbinding maken met internet
|
||||
Comment[or]=ଇଣ୍ଟର୍ନେଟ୍ ପ୍ରବେଶ କରନ୍ତୁ
|
||||
Comment[pl]=Skorzystaj z internetu
|
||||
Comment[pt]=Aceder à Internet
|
||||
Comment[pt_BR]=Acessar a internet
|
||||
Comment[ro]=Accesaţi Internetul
|
||||
Comment[ru]=Доступ в Интернет
|
||||
Comment[sk]=Prístup do siete Internet
|
||||
Comment[sl]=Dostop do interneta
|
||||
Comment[sr]=Приступите Интернету
|
||||
Comment[sv]=Surfa på Internet
|
||||
Comment[ta]=இணையத்தை அணுகுதல்
|
||||
Comment[te]=ఇంటర్నెట్ను ఆక్సెస్ చెయ్యండి
|
||||
Comment[th]=เข้าถึงอินเทอร์เน็ต
|
||||
Comment[tr]=İnternet'e erişin
|
||||
Comment[ug]=ئىنتېرنېتنى زىيارەت قىلىش
|
||||
Comment[uk]=Доступ до Інтернету
|
||||
Comment[vi]=Truy cập Internet
|
||||
Comment[zh_CN]=访问互联网
|
||||
Comment[zh_HK]=連線到網際網路
|
||||
Comment[zh_TW]=連線到網際網路
|
||||
Exec=/usr/bin/chromium --ozone-platform=wayland %U
|
||||
Terminal=false
|
||||
X-MultipleArgs=false
|
||||
Type=Application
|
||||
Icon=chromium
|
||||
Categories=Network;WebBrowser;
|
||||
MimeType=text/html;text/xml;application/xhtml_xml;application/x-mimearchive;x-scheme-handler/http;x-scheme-handler/https;
|
||||
StartupWMClass=chromium
|
||||
StartupNotify=true
|
||||
Keywords=browser
|
|
@ -3,9 +3,9 @@
|
|||
datum=$(date +"%y-%m-%d")
|
||||
backuplog=/root/backup-log
|
||||
|
||||
sudo sshfs pi@pi:/home/pi/mast/bak/dbn /root/.bak
|
||||
sudo sshfs pi@pi:/home/pi/mast/bak/pbp /root/.bak
|
||||
|
||||
#borg create -svp pi@192.168.64.112:~/mast/bak/tp::$datum /etc /home /opt /root /srv /var | sudo tee -a $backuplog
|
||||
#borg create -svp pi@pi:~/mast/bak/pbp::$datum /etc /home /opt /root /srv /var | sudo tee -a $backuplog
|
||||
echo "Backup sistema $datum" | sudo tee -a $backuplog
|
||||
#rsync -avz /etc /home /opt /root /srv /var pi@pi:~/mast/bak/tp | tee -a $backuplog
|
||||
sudo borg create --stats --verbose --compression=lz4 "/root/.bak::$datum" /etc /home /opt /root /srv /var | sudo tee -a $backuplog
|
||||
|
|
|
@ -0,0 +1,3 @@
|
|||
#!/bin/sh
|
||||
|
||||
/usr/bin/chromium --ozone-platform=wayland $1
|
|
@ -1,4 +1,4 @@
|
|||
#!/usr/bin/python3
|
||||
#!/usr/bin/env python3
|
||||
|
||||
|
||||
# This script requires i3ipc-python package (install it from a system package manager
|
||||
|
|
15
checkbatt.sh
15
checkbatt.sh
|
@ -1,15 +0,0 @@
|
|||
#!/bin/bash
|
||||
|
||||
praznim=$(acpi -b | grep Discharging)
|
||||
lvl=$(acpi -b | sed -e 's/[,%\s]//g' | awk '{s+=$4} END {printf "%.0f", s/2}')
|
||||
|
||||
nizka=7
|
||||
kriticna=3
|
||||
|
||||
if [[ $praznim ]]; then
|
||||
if [[ $lvl -lt $kriticna ]]; then
|
||||
systemctl suspend
|
||||
elif [[ $lvl -lt $nizka ]]; then
|
||||
notify-send -u critical -i /usr/share/icons/gnome/32x32/status/battery-low.png "BATERIJA NISKA: $lvl%"
|
||||
fi
|
||||
fi
|
99
config.scm
99
config.scm
|
@ -1,51 +1,60 @@
|
|||
;; -*- mode: scheme; -*-
|
||||
;; This is an operating system configuration template
|
||||
;; for a "desktop" setup with GNOME and Xfce.
|
||||
|
||||
(use-modules (gnu) (srfi srfi-1) (gnu system nss))
|
||||
(use-service-modules desktop networking)
|
||||
(use-modules (gnu)
|
||||
(gnu system nss)
|
||||
(guix utils)
|
||||
(nongnu packages linux)
|
||||
(nongnu system linux-initrd)
|
||||
(srfi srfi-1))
|
||||
(use-service-modules desktop xorg dns networking)
|
||||
(use-package-modules bootloaders certs shells ssh version-control emacs vim wm freedesktop xorg fontutils)
|
||||
|
||||
;; ZSH location G-expr
|
||||
(define zsh-location
|
||||
#~(string-append #$zsh "/bin/zsh"))
|
||||
|
||||
;; Replace wicd with NetworkManager
|
||||
(define %desktop-services-nm
|
||||
(cons* (service network-manager-service-type (network-manager-configuration))
|
||||
(service wpa-supplicant-service-type)
|
||||
;;(service account-service-type)
|
||||
(remove (lambda (service) (eq? wicd-service-type (service-kind service))) %desktop-services)))
|
||||
|
||||
|
||||
(operating-system
|
||||
(host-name "gpnx")
|
||||
(host-name "apnx")
|
||||
(timezone "Europe/Ljubljana")
|
||||
(locale "en_US.UTF-8")
|
||||
(locale "sl_SI.utf8")
|
||||
|
||||
;; Use the UEFI variant of GRUB with the EFI System
|
||||
;; Partition mounted on /boot/efi.
|
||||
(bootloader (bootloader-configuration
|
||||
(bootloader grub-efi-bootloader)
|
||||
(targets '("/boot/efi"))))
|
||||
|
||||
(kernel linux)
|
||||
(initrd microcode-initrd)
|
||||
(firmware (list linux-firmware))
|
||||
|
||||
;; Assuming /dev/sdX is the target hard disk, and "my-root"
|
||||
;; is the label of the target root file system.
|
||||
(bootloader (grub-configuration (grub grub);;-efi)
|
||||
;;(device "/dev/sda1")))
|
||||
(device "/dev/sda")))
|
||||
(file-systems (cons* (file-system
|
||||
(device "gpnx")
|
||||
(title "GNU Guix SD pnx")
|
||||
(mount-point "/")
|
||||
(type "ext4"))
|
||||
(file-system
|
||||
(device "/dev/sda1")
|
||||
(mount-point "/boot/efi")
|
||||
(type "vfat"))
|
||||
%base-file-systems))
|
||||
(device "/dev/sda3")
|
||||
(mount-point "/")
|
||||
(type "btrfs")
|
||||
(options "compress"))
|
||||
(file-system
|
||||
(device "/dev/sda2")
|
||||
(mount-point "/boot/efi")
|
||||
(type "vfat"))
|
||||
%base-file-systems))
|
||||
|
||||
(swap-devices
|
||||
(list (swap-space (target "/swapfile"))))
|
||||
|
||||
(users (cons* (user-account
|
||||
(name "yuri")
|
||||
(comment "Silly Yuri")
|
||||
(name "g1smo")
|
||||
(comment "Yuri")
|
||||
(group "users")
|
||||
(shell zsh-location)
|
||||
(supplementary-groups '("wheel" "netdev"
|
||||
"audio" "video"))
|
||||
(home-directory "/home/yuri"))
|
||||
"audio" "video" "dialout"))
|
||||
(shell (file-append zsh "/bin/zsh"))
|
||||
(home-directory "/home/g1smo"))
|
||||
(user-account
|
||||
(name "bask")
|
||||
(comment "Balkan Anarchist Bookfair")
|
||||
(group "users")
|
||||
(supplementary-groups '("wheel" "netdev"
|
||||
"audio" "video" "dialout"))
|
||||
(home-directory "/home/bask"))
|
||||
%base-user-accounts))
|
||||
|
||||
;; This is where we specify system-wide packages.
|
||||
|
@ -66,9 +75,23 @@
|
|||
;; include the X11 log-in service, networking with Wicd,
|
||||
;; and more.
|
||||
|
||||
(services (cons* ;;(xfce-desktop-service)
|
||||
(gnome-desktop-service)
|
||||
%desktop-services-nm))
|
||||
(services (cons* (service xfce-desktop-service-type)
|
||||
(service gnome-desktop-service-type)
|
||||
(service dnsmasq-service-type
|
||||
(dnsmasq-configuration
|
||||
(cache-size 1500)))
|
||||
(service network-manager-service-type
|
||||
(network-manager-configuration
|
||||
(dns "dnsmasq")))
|
||||
(service pam-limits-service-type
|
||||
(list
|
||||
(pam-limits-entry "@audio" 'both 'rtprio 99)
|
||||
(pam-limits-entry "@audio" 'both 'memlock 'unlimited)))
|
||||
|
||||
(remove
|
||||
(lambda (service)
|
||||
(eq? network-manager-service-type (service-kind service)))
|
||||
%desktop-services)))
|
||||
|
||||
;; Allow resolution of '.local' host names with mDNS.
|
||||
(name-service-switch %mdns-host-lookup-nss))
|
||||
|
|
|
@ -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
|
|
@ -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
|
||||
|
|
@ -0,0 +1,125 @@
|
|||
;; 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 packages xdisorg)
|
||||
(gnu services)
|
||||
(guix gexp)
|
||||
(gnu home services shells)
|
||||
(gnu home services desktop)
|
||||
(gnu home services pm)
|
||||
(gnu home services sound))
|
||||
|
||||
(home-environment
|
||||
;; Below is the list of packages that will show up in your
|
||||
;; Home profile, under ~/.guix-home/profile.
|
||||
(packages (specifications->packages (list "htop"
|
||||
"emacs-pgtk"
|
||||
"binutils"
|
||||
"gcc-toolchain@11"
|
||||
"icecat-l10n:sl"
|
||||
"icecat"
|
||||
"crawl-tiles"
|
||||
"acpi"
|
||||
"zynaddsubfx"
|
||||
"gnome-tweaks"
|
||||
"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"
|
||||
"qpwgraph"
|
||||
"pamixer"
|
||||
"element-desktop"
|
||||
"pavucontrol"
|
||||
"libreoffice"
|
||||
"mako"
|
||||
"alacritty"
|
||||
"redshift-wayland"
|
||||
"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"
|
||||
"zsh"
|
||||
"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-zsh-service-type
|
||||
(home-zsh-configuration
|
||||
(zshrc (list (local-file
|
||||
"/home/g1smo/sredstva/dotfiles/.zshrc"
|
||||
"zshrc")))
|
||||
(zprofile (list (local-file
|
||||
"/home/g1smo/sredstva/dotfiles/.profile"
|
||||
"profile")))))
|
||||
|
||||
;; Skrij misko po 4 sekundah ne-premikanja
|
||||
(service home-unclutter-service-type
|
||||
(home-unclutter-configuration
|
||||
(idle-timeout 2)))
|
||||
|
||||
;; Rdecenje zaslona @TODO se ne dela :(
|
||||
(service home-redshift-service-type
|
||||
(home-redshift-configuration
|
||||
(redshift redshift-wayland)
|
||||
(adjustment-method 'wayland)
|
||||
(location-provider 'manual)
|
||||
(latitude 46.05108)
|
||||
(longitude 14.50513)))
|
||||
|
||||
|
||||
;; Pipewire zvok!
|
||||
;; Dbus je odvisen paket
|
||||
(service home-dbus-service-type)
|
||||
(service home-pipewire-service-type)
|
||||
|
||||
;; Indikator nizke baterije
|
||||
(service home-batsignal-service-type)
|
||||
)))
|
9
init.sh
9
init.sh
|
@ -3,5 +3,10 @@
|
|||
# Instaliraj vim plug!
|
||||
curl -fLo ~/.vim/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
|
||||
|
||||
# Instaliraj spacemacs!
|
||||
#git clone https://github.com/syl20bnr/spacemacs ~/.emacs.d
|
||||
# Zloudaj font (statusbar, emacs)
|
||||
mkdir ~/.fonts
|
||||
curl -fLo ~/.fonts/iosevka.zip https://github.com/be5invis/Iosevka/releases/download/v20.0.0/super-ttc-iosevka-ss01-20.0.0.zip
|
||||
cd ~/.fonts
|
||||
unzip iosevka.zip
|
||||
rm iosevka.zip
|
||||
fc-cache -f
|
||||
|
|
21
povezi.sh
21
povezi.sh
|
@ -42,6 +42,10 @@ ln -s $DIR/.config/compton.conf ~/.config/compton.conf
|
|||
# redshift (pordeci skrin, X)
|
||||
ln -s $DIR/.config/redshift ~/.config/redshift
|
||||
|
||||
# guix (channel z lokalnimi paketi
|
||||
mkdir ~/.config/guix
|
||||
ln -s $DIR/.config/guix/channels.scm ~/.config/guix/channels.scm
|
||||
|
||||
# i3 block, bolj fensi statusbar (ne uporabljam vec)
|
||||
ln -s $DIR/.i3blocks.conf ~/.i3blocks.conf
|
||||
|
||||
|
@ -71,29 +75,32 @@ ln -s $DIR/.zprofile ~/.zprofile
|
|||
# Razne uporabne skripte
|
||||
mkdir ~/bin
|
||||
# Screenshot skripta (wayland)
|
||||
ln -s $DIR/bin/screenshot ~/bin/screenshot
|
||||
ln -s $DIR/bin/screenshot ~/bin/
|
||||
# backup ukaz
|
||||
ln -s $DIR/bin/backmeup ~/bin/backmeup
|
||||
ln -s $DIR/bin/backmeup ~/bin/
|
||||
# transparenca neaktivnih oken na swayu
|
||||
ln -s $DIR/bin/inactive-windows-transparency.py ~/bin/inactive-windows-transparency.py
|
||||
# virtual piano keyboard na pulseaudiu!
|
||||
ln -s $DIR/bin/png2ico ~/bin/png2ico
|
||||
# png v ico konverzija
|
||||
ln -s $DIR/bin/png2ico ~/bin/png2ico
|
||||
# virtual piano keyboard na pulseaudiu!
|
||||
ln -s $DIR/bin/vmpk-pa ~/bin/vmpk-pa
|
||||
# Avtomatsko razporejanje novih oken
|
||||
ln -s $DIR/bin/autotiling.py ~/bin/autotiling.py
|
||||
# Wayland, GL v chromium
|
||||
ln -s $DIR/bin/chromium ~/bin/
|
||||
|
||||
# Guile
|
||||
ln -s $DIR/.guile ~/.guile
|
||||
|
||||
# X11 popravki aplikacij
|
||||
ln -s $DIR/applications/dbeaver.desktop ~/.local/share/applications/dbeaver.desktop
|
||||
mkdir -p ~/.local/share/applications
|
||||
ln -s $DIR/applications/dbeaver.desktop ~/.local/share/applications/
|
||||
ln -s $DIR/applications/dbeaver.desktop ~/.local/share/applications/com.obsproject.Studio.desktop
|
||||
ln -s $DIR/applications/chromium.desktop ~/.local/share/applications/
|
||||
|
||||
# Emacs <3
|
||||
mkdir ~/.emacs.d
|
||||
ln -s $DIR/.emacs.d/init.el ~/.emacs.d/init.el
|
||||
ln -s $DIR/.emacs.d/projectile-bookmarks.eld ~/.emacs.d/projectile-bookmarks.eld
|
||||
ln -s $DIR/.emacs.d/bookmarks ~/.emacs.d/bookmarks
|
||||
|
||||
# SSH (timeout)
|
||||
mkdir ~/.ssh
|
||||
|
|
Loading…
Reference in New Issue