summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnton Luka Šijanec <anton@sijanec.eu>2023-05-21 22:57:31 +0200
committerAnton Luka Šijanec <anton@sijanec.eu>2023-05-21 22:57:31 +0200
commit66df2b324ab48c4257d5bf32df47c0cc0feec1ff (patch)
tree5d69526a3c4b590bb69d63b9158cbe28a1f7cea5
parentc: touchpad disable, mod+v paste, iris video card (diff)
downloadn-66df2b324ab48c4257d5bf32df47c0cc0feec1ff.tar
n-66df2b324ab48c4257d5bf32df47c0cc0feec1ff.tar.gz
n-66df2b324ab48c4257d5bf32df47c0cc0feec1ff.tar.bz2
n-66df2b324ab48c4257d5bf32df47c0cc0feec1ff.tar.lz
n-66df2b324ab48c4257d5bf32df47c0cc0feec1ff.tar.xz
n-66df2b324ab48c4257d5bf32df47c0cc0feec1ff.tar.zst
n-66df2b324ab48c4257d5bf32df47c0cc0feec1ff.zip
-rw-r--r--etc/i3status.conf53
-rw-r--r--etc/portage/make.conf2
-rw-r--r--root/.bash_aliases4
-rw-r--r--root/.config/i3/config4
-rwxr-xr-xroot/.xprofile3
5 files changed, 63 insertions, 3 deletions
diff --git a/etc/i3status.conf b/etc/i3status.conf
new file mode 100644
index 0000000..2995325
--- /dev/null
+++ b/etc/i3status.conf
@@ -0,0 +1,53 @@
+# i3status configuration file.
+# see "man i3status" for documentation.
+
+# It is important that this file is edited as UTF-8.
+# The following line should contain a sharp s:
+# ß
+# If the above line is not correctly displayed, fix your editor first!
+
+general {
+ colors = true
+ interval = 1
+}
+
+order += "ipv6"
+order += "wireless _first_"
+order += "ethernet _first_"
+order += "battery all"
+order += "disk /"
+order += "load"
+order += "memory"
+order += "tztime local"
+
+wireless _first_ {
+ format_up = "W: (%quality at %essid) %ip"
+ format_down = "W: down"
+}
+
+ethernet _first_ {
+ format_up = "E: %ip (%speed)"
+ format_down = "E: down"
+}
+
+battery all {
+ format = "%status %percentage %remaining"
+}
+
+disk "/" {
+ format = "diskavail %avail"
+}
+
+load {
+ format = "load1min %1min"
+}
+
+memory {
+ format = "usedram %used | availram %available"
+ threshold_degraded = "1G"
+ format_degraded = "MEMORY < %available"
+}
+
+tztime local {
+ format = "%Y-%m-%d %H:%M:%S"
+}
diff --git a/etc/portage/make.conf b/etc/portage/make.conf
index 5fc01de..8e2ec81 100644
--- a/etc/portage/make.conf
+++ b/etc/portage/make.conf
@@ -58,7 +58,7 @@ USE="$USE system-llvm clippy rust-src rust-analyzer rustfmt" # za rust
USE="$USE btrfs" # za docker
USE="$USE opencv" # za pytorch
USE="$USE eai" # za postfix smtputf8
-USE="$USE vhost-net qemu" # za qemu
+USE="$USE vhost-net qemu parted" # za qemu / libvirt
USE="$USE qml positioning quick" # za freecad
CALLIGRA_FEATURES="stage words sheets"
diff --git a/root/.bash_aliases b/root/.bash_aliases
index 7ce1390..eefa6c3 100644
--- a/root/.bash_aliases
+++ b/root/.bash_aliases
@@ -43,3 +43,7 @@ export EDITOR=/usr/bin/vim
ulimit -c unlimited # core dumps
alias pi="python3 -m pip install --user --break-system-packages"
alias pu="python3 -m pip uninstall --break-system-packages"
+if [ `id -u` -eq 0 ]
+then
+ alias binwalk="binwalk --run-as=root"
+fi
diff --git a/root/.config/i3/config b/root/.config/i3/config
index fe2951f..23bdba2 100644
--- a/root/.config/i3/config
+++ b/root/.config/i3/config
@@ -184,7 +184,7 @@ bindsym $mod+c [title="cargova"] focus
bindsym --release $mod+v exec --no-startup-id xdotool key "Shift+Insert"
bindsym $mod+b [title="rowser"] focus
bindsym $mod+n [title="/projects"] focus
-bindsym $mod+m [title="laws"] focus
+bindsym $mod+m exec --no-startup-id echo 'k=$(((`xinput list-props 13 | grep Enabled | cut -f3`+1)%2)) && xinput set-prop 13 "Device Enabled" $k && echo $k > /sys/class/leds/input4\:\:capslock/brightness' | sh
# barve border background text indicator child_border
client.focused #ee3333 #000000 #ffffff #33ee33 #ee3333
@@ -192,3 +192,5 @@ client.focused #ee3333 #000000 #ffffff #33ee33 #ee3333
# marke
bindsym $mod+dstroke mark sex
bindsym $mod+p [con_mark="sex"] focus
+
+# bindcode --release 66 exec --no-startup-id "xdotool key Escape"
diff --git a/root/.xprofile b/root/.xprofile
index 1e03031..f6002fb 100755
--- a/root/.xprofile
+++ b/root/.xprofile
@@ -6,4 +6,5 @@ xkbcomp -I/root/xkb ~/xkb/map $DISPLAY
xmodmap ~/.Xmodmap
xrdb ~/.Xresources
pulseaudio &
-[ `hostname` = c ] && xinput set-prop 13 "Device Enabled" 0
+# [ `hostname` = c ] && ~/projects/r/prog/miška/a.out /dev/input/event3 'k=$(((`xinput list-props 13 | grep Enabled | cut -f3`+1)%2)); xinput set-prop 13 "Device Enabled" $k && echo $k > /sys/class/leds/input4\:\:capslock/brightness' &
+# disown