summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlxf <sng@luxagraf.net>2021-05-22 14:30:52 -0400
committerlxf <sng@luxagraf.net>2021-05-22 14:30:52 -0400
commit7e4c16af457605e7ae53231c87165c31894d13aa (patch)
tree0d718198229f96b4e732521cc86c49e44d651105
parent484d4d8cbaa5145324d80456ab5ddb624f590ddc (diff)
trying debian 11
-rw-r--r--.Xresources2
-rw-r--r--.bashrc12
-rw-r--r--.config/openbox/.rc.xml.swpbin0 -> 24576 bytes
-rw-r--r--.config/openbox/autostart4
-rw-r--r--.config/openbox/rc.xml3
-rw-r--r--.config/tint2/tint2rc36
-rw-r--r--debian-notes.txt37
7 files changed, 68 insertions, 26 deletions
diff --git a/.Xresources b/.Xresources
index 3b6076d..90a2bfa 100644
--- a/.Xresources
+++ b/.Xresources
@@ -1,4 +1,4 @@
-Xft.dpi: 192
+!Xft.dpi: 192
Xft.autohint: 0
Xft.lcdfilter: lcddefault
Xft.hintstyle: hintfull
diff --git a/.bashrc b/.bashrc
index 56c6f08..4f7690e 100644
--- a/.bashrc
+++ b/.bashrc
@@ -1,8 +1,7 @@
#basics
stty -ixon
export MOZ_DBUS_REMOTE=1
-alias vivaldi-snapshot="vivaldi-snapshot --use-gl=egl"
-export BROWSER="vivaldi-snapshot"
+export BROWSER="vivaldi"
export EDITOR="vim"
# keep dictionaries in ~/bin/
export STARDICT_DATA_DIR="$HOME/bin/dict/"
@@ -93,9 +92,12 @@ export PS1="\[\033[33;1m\]\[\033[m\]\$(pwd-prompt.bash) \[$txtred\]\$git_dirty\[
# Complete all the things
source ~/bin/pass-completion.bash
-source /usr/share/fzf/key-bindings.bash
-source /usr/share/fzf/completion.bash
-
+# arch:
+#source /usr/share/fzf/key-bindings.bash
+#source /usr/share/fzf/completion.bash
+#debian:
+source /usr/share/doc/fzf/examples/key-bindings.bash
+source /usr/share/bash-completion/completions/fzf
fzf-snippet() {
selected="$(cat ~/documents/snippets | sed '/^$/d' | sort -n | fzf -e -i )"
# remove tags, leading and trailing spaces, also no newline
diff --git a/.config/openbox/.rc.xml.swp b/.config/openbox/.rc.xml.swp
new file mode 100644
index 0000000..083ab19
--- /dev/null
+++ b/.config/openbox/.rc.xml.swp
Binary files differ
diff --git a/.config/openbox/autostart b/.config/openbox/autostart
index c99e3d0..5b32d9f 100644
--- a/.config/openbox/autostart
+++ b/.config/openbox/autostart
@@ -6,6 +6,6 @@ clipmenud &
nextcloud &
xset r rate 251 25 &
xset -b
-xcape -e 'Caps_Lock=Escape'
-xinput set-prop 14 "libinput Natural Scrolling Enabled" 1
+xcape -e 'Control_L=Escape'
+xinput set-prop 11 "libinput Natural Scrolling Enabled" 1
feh --bg-fill ~/pictures/desktops/Untitled_0535_by_Mike_Sinko.jpg
diff --git a/.config/openbox/rc.xml b/.config/openbox/rc.xml
index c5f6df3..b8f22e8 100644
--- a/.config/openbox/rc.xml
+++ b/.config/openbox/rc.xml
@@ -317,6 +317,9 @@
<command>brightnessctl set 100+</command>
</action>
</keybind>
+ <keybind key="A-F6">
+ <action name="Maximize"/>
+ </keybind>
<!-- Keybindings for window switching -->
<keybind key="A-Tab">
<action name="NextWindow">
diff --git a/.config/tint2/tint2rc b/.config/tint2/tint2rc
index ad291fc..174b481 100644
--- a/.config/tint2/tint2rc
+++ b/.config/tint2/tint2rc
@@ -62,9 +62,9 @@ border_color_pressed = #000000 100
#-------------------------------------
# Panel
-scale_relative_to_dpi = 2
+scale_relative_to_dpi = 1
panel_items = P:L:TEEEESBC
-panel_size = 100% 44
+panel_size = 100% 24
panel_margin = 0 0
panel_padding = 2 0 2
panel_background_id = 1
@@ -102,7 +102,7 @@ taskbar_name_padding = 4 2
taskbar_name_background_id = 0
taskbar_name_active_background_id = 0
taskbar_name_font_color = #e3e3e3 100
-taskbar_name_font = Roboto 20
+taskbar_name_font = Roboto 13
taskbar_name_active_font_color = #ffffff 100
taskbar_distribute_size = 0
taskbar_sort_order = none
@@ -124,7 +124,7 @@ task_background_id = 2
task_active_background_id = 3
task_urgent_background_id = 4
task_iconified_background_id = 2
-task_font = Roboto 18
+task_font = Roboto 11
mouse_left = toggle_iconify
mouse_middle = none
mouse_right = close
@@ -143,10 +143,10 @@ systray_monitor = 1
#-------------------------------------
# Launcher
launcher_padding = 8 0 12
-launcher_font = Roboto 24
+launcher_font = Roboto 13
launcher_background_id = 0
launcher_icon_background_id = 0
-launcher_icon_size = 36
+launcher_icon_size = 22
launcher_icon_asb = 100 0 0
launcher_icon_theme_override = 0
startup_notifications = 1
@@ -161,7 +161,7 @@ launcher_item_app = thunar.desktop
time1_format = %a %b %d %l:%M
#time2_format = %A %d %B
time1_timezone =
-time1_font = Roboto 24
+time1_font = Roboto 13
time2_timezone =
clock_font_color = #ffffff 100
clock_padding = 2 0
@@ -177,8 +177,8 @@ clock_dwheel_command =
# Battery
battery = 0
battery_tooltip = 1
-bat1_font = Roboto 22
-bat2_font = Roboto 22
+bat1_font = Roboto 13
+bat2_font = Roboto 13
bat1_format = %s %p - %t
battery_low_status = 10
battery_low_cmd = xmessage 'tint2: Battery low!'
@@ -201,12 +201,12 @@ button = new
button_icon = ~/bin/launcher.png
#button_text = Menu
button_tooltip =
-button_font = Roboto Regular 18
+button_font = Roboto Regular 13
button_font_color = #888888 100
button_background_id = 0
button_centered = 0
button_padding = 10 1 1
-button_max_icon_size = 32
+button_max_icon_size = 20
button_lclick_command = jgmenu_run
# button_mclick_command =
button_rclick_command = jgmenu_run
@@ -225,7 +225,7 @@ execp_markup = 1
execp_tooltip =
execp_lclick_command = mpc toggle
execp_rclick_command = mpc next
-execp_font = Roboto Regular 20
+execp_font = Roboto Regular 13
execp_font_color = #ffffff 100
execp_padding = 8 0
execp_background_id = 2
@@ -248,13 +248,13 @@ execp_rclick_command =
execp_mclick_command =
execp_uwheel_command =
execp_dwheel_command =
-execp_font = Roboto 22
+execp_font = Roboto 13
execp_font_color = #ffffff 100
execp_padding = 20 0
execp_background_id = 0
execp_centered = 0
-execp_icon_w = 48
-execp_icon_h = 48
+execp_icon_w = 24
+execp_icon_h = 24
#-------------------------------------
@@ -272,7 +272,7 @@ execp_rclick_command =
execp_mclick_command =
execp_uwheel_command =
execp_dwheel_command =
-execp_font = Roboto 22
+execp_font = Roboto 13
execp_font_color = #ffffff 100
execp_padding = 20 0
execp_background_id = 0
@@ -283,7 +283,7 @@ execp_icon_h = 0
#-------------------------------------
# Executor 4
execp = new
-execp_command = psuinfo -In -W1
+execp_command = psuinfo -In -W0
execp_interval = 600
execp_has_icon = 0
execp_cache_icon = 1
@@ -295,7 +295,7 @@ execp_rclick_command =
execp_mclick_command =
execp_uwheel_command =
execp_dwheel_command =
-execp_font = Roboto 22
+execp_font = Roboto 13
execp_font_color = #ffffff 100
execp_padding = 10 0
execp_background_id = 0
diff --git a/debian-notes.txt b/debian-notes.txt
new file mode 100644
index 0000000..45ff20f
--- /dev/null
+++ b/debian-notes.txt
@@ -0,0 +1,37 @@
+## flatpaks:
+
+Ardour
+darktable
+zoom
+skype
+
+## build psuinfo
+
+git clone https://github.com/nwg-piotr/psuinfo.git
+cd psuinfo
+sudo cp psuinfo /usr/bin
+sudo mkdir /usr/share/psuinfo
+sudo cp icons/*.svg /usr/share/psuinfo
+sudo cp configs/*.tint2rc /usr/share/tint2
+
+You might also need: apt install python3-psutil
+
+## build jgmenu:
+
+git clone https://github.com/johanmalm/jgmenu.git
+cd jgmenu
+sudo apt-get install build-essential libxml2-dev libcairo2-dev libpango1.0-dev librsvg2-dev libgtk-3-dev libxml2-dev
+./configure --prefix=/usr
+sudo make install
+
+## build clipmenu:
+
+sudo apt install xsel
+git clone https://github.com/cdown/clipnotify.git
+cd clipnotify
+sudo make install
+git clone https://github.com/cdown/clipmenu.git
+cd clipmenu
+sudo make install
+
+