summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoe <bousset.rudy@gmail.com>2023-02-01 02:04:55 +0100
committerJoe <bousset.rudy@gmail.com>2023-02-01 02:04:55 +0100
commit587b1e5dcb696e35ebc013b248b4b86e998b5a9f (patch)
tree00ad66e81d344942104df626053e4865ced9c568
parentMerge branch 'master' of gitjoe.xyz:dotfiles-bsd (diff)
downloaddotfiles-bsd-587b1e5dcb696e35ebc013b248b4b86e998b5a9f.tar.gz
dotfiles-bsd-587b1e5dcb696e35ebc013b248b4b86e998b5a9f.tar.bz2
dotfiles-bsd-587b1e5dcb696e35ebc013b248b4b86e998b5a9f.tar.xz
dotfiles-bsd-587b1e5dcb696e35ebc013b248b4b86e998b5a9f.tar.zst
dotfiles-bsd-587b1e5dcb696e35ebc013b248b4b86e998b5a9f.zip
up
-rw-r--r--.config/gtk-2.0/gtkrc3
-rw-r--r--.config/gtk-3.0/settings.ini15
-rw-r--r--.config/mimeapps.list2
-rw-r--r--.config/mpd/mpd.conf12
-rwxr-xr-x.config/openbox/autostart6
-rwxr-xr-x.config/openbox/rc.xml8
-rw-r--r--.config/x11/xinitrc82
-rw-r--r--.idesktop/firefox.lnk4
-rw-r--r--.idesktop/thunderbird.lnk4
-rwxr-xr-x.local/bin/powercmd2
-rwxr-xr-x.local/bin/rkb4
11 files changed, 73 insertions, 69 deletions
diff --git a/.config/gtk-2.0/gtkrc b/.config/gtk-2.0/gtkrc
index b312015..66e7ffc 100644
--- a/.config/gtk-2.0/gtkrc
+++ b/.config/gtk-2.0/gtkrc
@@ -2,9 +2,10 @@
# Any customization should be done in ~/.gtkrc-2.0.mine instead.
include "/home/jozan/.gtkrc-2.0.mine"
-gtk-theme-name="Clearlooks-Joe"
+gtk-theme-name="Clearlooks"
gtk-icon-theme-name="Faenza"
gtk-font-name="sans-serif 12"
+gtk-cursor-theme-name="Adwaita"
gtk-cursor-theme-size=0
gtk-toolbar-style=GTK_TOOLBAR_BOTH
gtk-toolbar-icon-size=GTK_ICON_SIZE_LARGE_TOOLBAR
diff --git a/.config/gtk-3.0/settings.ini b/.config/gtk-3.0/settings.ini
index 7a78f7b..952e850 100644
--- a/.config/gtk-3.0/settings.ini
+++ b/.config/gtk-3.0/settings.ini
@@ -1,17 +1,16 @@
[Settings]
-gtk-font-name=Fira Sans Semi-Light 10
-gtk-icon-theme-name=Faba
+gtk-font-name=sans-serif 12
+gtk-icon-theme-name=Faenza
gtk-theme-name=Clearlooks
-gtk-cursor-theme-size=24
-gtk-toolbar-style=GTK_TOOLBAR_ICONS
+gtk-cursor-theme-size=0
+gtk-toolbar-style=GTK_TOOLBAR_BOTH
gtk-toolbar-icon-size=GTK_ICON_SIZE_LARGE_TOOLBAR
-gtk-button-images=0
-gtk-menu-images=0
+gtk-button-images=1
+gtk-menu-images=1
gtk-enable-event-sounds=1
-gtk-enable-input-feedback-sounds=0
+gtk-enable-input-feedback-sounds=1
gtk-xft-antialias=1
gtk-xft-hinting=1
gtk-xft-hintstyle=hintslight
gtk-xft-rgba=rgb
gtk-cursor-theme-name=Adwaita
-gtk-modules=canberra-gtk-module
diff --git a/.config/mimeapps.list b/.config/mimeapps.list
index b619835..2ef5012 100644
--- a/.config/mimeapps.list
+++ b/.config/mimeapps.list
@@ -40,6 +40,7 @@ text/x-makefile=emacs.desktop
text/x-readme=emacs.desktop
text/x-tcl=emacs.desktop
x-scheme-handler/msteams=teams.desktop
+video/mp4=mpv.desktop
[Added Associations]
x-scheme-handler/https=userapp-Firefox-NVLWI0.desktop;
@@ -55,3 +56,4 @@ application/x-extension-xht=userapp-Firefox-NVLWI0.desktop;
application/pdf=org.pwmt.zathura-pdf-mupdf.desktop;
video/webm=mpv.desktop;
text/plain=nvim.desktop;vim.desktop;org.gnome.gedit.desktop;
+video/mp4=mpv.desktop;
diff --git a/.config/mpd/mpd.conf b/.config/mpd/mpd.conf
index f2cd3b5..a960523 100644
--- a/.config/mpd/mpd.conf
+++ b/.config/mpd/mpd.conf
@@ -285,12 +285,12 @@ audio_output {
#
# An example of a pulseaudio output (streaming to a remote pulseaudio server)
#
-# audio_output {
-# type "pulse"
-# name "My Pulse Output"
-# server "remote_server" # optional
-# sink "remote_server_sink" # optional
-# }
+audio_output {
+ type "pulse"
+ name "My Pulse Output"
+ # server "remote_server" # optional
+ # sink "remote_server_sink" # optional
+}
#
# An example of a winmm output (Windows multimedia API).
#
diff --git a/.config/openbox/autostart b/.config/openbox/autostart
index 0be8a58..8b96110 100755
--- a/.config/openbox/autostart
+++ b/.config/openbox/autostart
@@ -15,6 +15,7 @@
# If you want to use XFCE config tools...
#
#xfce-mcs-manager &
+
startif() {
pgrep "$(basename "$1")" >/dev/null || "$@" >/dev/null 2>&1 &
}
@@ -44,12 +45,9 @@ fi
startif dunst
startif picom
# startif lowbat
-# startif mpd-notification
+startif mpd-notification
startif xscreensaver
delay_desktop &
-# startif dwmblocks
-# startif sb-updatempd
-# /compat/linux/usr/lib/protonmail/bridge/proton-bridge --noninteractive
# ekb
cd "$HOME"
xrdb "$HOME"/.config/x11/xresources
diff --git a/.config/openbox/rc.xml b/.config/openbox/rc.xml
index 9450afe..fbfa04f 100755
--- a/.config/openbox/rc.xml
+++ b/.config/openbox/rc.xml
@@ -279,7 +279,7 @@
</action>
</keybind>
<keybind key="W-S-0">
- <action name="ToggleOmnipresent"/>
+ <action name="ToggleOmnipresent"/>
</keybind>
<keybind key="W-S-h">
<action name="SendToDesktop">
@@ -568,9 +568,9 @@
</action>
</keybind>
<keybind key="W-o">
- <action name="ShowMenu">
- <menu>client-list-combined-menu</menu>
- </action>
+ <action name="ShowMenu">
+ <menu>client-list-combined-menu</menu>
+ </action>
</keybind>
<keybind key="W-w">
<action name="Move"/>
diff --git a/.config/x11/xinitrc b/.config/x11/xinitrc
index fc2fa90..c262380 100644
--- a/.config/x11/xinitrc
+++ b/.config/x11/xinitrc
@@ -1,43 +1,43 @@
# vim: filetype=sh
-startif() {
- pgrep "$(basename "$1")" >/dev/null || "$@" >/dev/null 2>&1 &
-}
-
-delay_desktop() {
- sleep 5
- startif conky -d -c "$HOME"/.config/conkyrc
- startif tint2
- # startif cairo-clock -x 900 -y 20 --width 300 --height 300 --theme zen
- # startif cairo-dock
- startif plank
- startif idesk
-}
-
-export LANG='en_US.UTF-8'
-pgrep musicpd >/dev/null || musicpd >/dev/null 2>&1
-xrandr --output HDMI-1 --primary --mode 2560x1440 --pos 1920x347 --rotate normal --output eDP-1 --mode 1920x1080 --pos 0x1024 --rotate normal --output DP-1 --mode 1280x1024 --pos 640x0 --rotate normal --output DP-2 --mode 2560x1440 --pos 4480x347 --rotate normal
-"$HOME"/.local/bin/setwp "$HOME"/pics/wp.jpg
-"$HOME"/.local/bin/kb
-xset s off
-xset -dpms
-# xsetroot -name 'Loading bar...'
-# if xrandr | grep -F 'DisplayPort-0 connected' >/dev/null 2>&1; then
-# "$HOME"/.local/bin/scr
-# else
-# "$HOME"/.local/bin/dscr
-# fi
-startif dunst
-startif picom
-# startif lowbat
-# startif mpd-notification
-startif xscreensaver
-delay_desktop &
-# startif dwmblocks
-# startif sb-updatempd
-# /compat/linux/usr/lib/protonmail/bridge/proton-bridge --noninteractive
-# ekb
-cd "$HOME"
-xrdb "$HOME"/.config/x11/xresources
-notify-send -u normal 'Welcome' " Welcome back, partner\!"
-# dbus-launch openbox
+#startif() {
+# pgrep "$(basename "$1")" >/dev/null || "$@" >/dev/null 2>&1 &
+#}
+#
+#delay_desktop() {
+# sleep 5
+# startif conky -d -c "$HOME"/.config/conkyrc
+# startif tint2
+# # startif cairo-clock -x 900 -y 20 --width 300 --height 300 --theme zen
+# # startif cairo-dock
+# startif plank
+# startif idesk
+#}
+#
+#export LANG='en_US.UTF-8'
+#pgrep musicpd >/dev/null || musicpd >/dev/null 2>&1
+#xrandr --output HDMI-1 --primary --mode 2560x1440 --pos 1920x347 --rotate normal --output eDP-1 --mode 1920x1080 --pos 0x1024 --rotate normal --output DP-1 --mode 1280x1024 --pos 640x0 --rotate normal --output DP-2 --mode 2560x1440 --pos 4480x347 --rotate normal
+#"$HOME"/.local/bin/setwp "$HOME"/pics/wp.jpg
+#"$HOME"/.local/bin/kb
+#xset s off
+#xset -dpms
+## xsetroot -name 'Loading bar...'
+## if xrandr | grep -F 'DisplayPort-0 connected' >/dev/null 2>&1; then
+## "$HOME"/.local/bin/scr
+## else
+## "$HOME"/.local/bin/dscr
+## fi
+#startif dunst
+#startif picom
+## startif lowbat
+## startif mpd-notification
+#startif xscreensaver
+#delay_desktop &
+## startif dwmblocks
+## startif sb-updatempd
+## /compat/linux/usr/lib/protonmail/bridge/proton-bridge --noninteractive
+## ekb
+#cd "$HOME"
+#xrdb "$HOME"/.config/x11/xresources
+#notify-send -u normal 'Welcome' " Welcome back, partner\!"
+## dbus-launch openbox
diff --git a/.idesktop/firefox.lnk b/.idesktop/firefox.lnk
index ea6a808..68f243f 100644
--- a/.idesktop/firefox.lnk
+++ b/.idesktop/firefox.lnk
@@ -4,8 +4,8 @@ table Icon
Icon: /usr/share/icons/hicolor/64x64/apps/firefox.png
Width: 64
Height: 64
- X: 1984
- Y: 320
+ X: 80
+ Y: 64
Command[0]: firefox
Command[1]: torify firefox
end
diff --git a/.idesktop/thunderbird.lnk b/.idesktop/thunderbird.lnk
index 235ce12..274b4d7 100644
--- a/.idesktop/thunderbird.lnk
+++ b/.idesktop/thunderbird.lnk
@@ -4,8 +4,8 @@ table Icon
Icon: /usr/share/icons/hicolor/64x64/apps/thunderbird.png
Width: 64
Height: 64
- X: 1984
- Y: 448
+ X: 80
+ Y: 192
Command[0]: thunderbird
end
diff --git a/.local/bin/powercmd b/.local/bin/powercmd
index 9f85e39..9b83e4b 100755
--- a/.local/bin/powercmd
+++ b/.local/bin/powercmd
@@ -31,7 +31,7 @@ case $1 in
xscreensaver-command -lock
sleep 5
case $os in
- 1) loginctl hibernate ;;
+ 1) loginctl suspend ;;
2) systemctl suspend ;;
3) acpiconf -s 3 ;;
esac
diff --git a/.local/bin/rkb b/.local/bin/rkb
new file mode 100755
index 0000000..fd8fe26
--- /dev/null
+++ b/.local/bin/rkb
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+notify-send -u low -t 2000 'kb' ' Restored Ctrl/Caps Lock and Esc/Tab'
+setxkbmap -option