]> git.wh0rd.org Git - home.git/commitdiff
merge .kde and .kde4 as Gentoo uses .kde4 but Debian uses .kde
authorMike Frysinger <vapier@gentoo.org>
Fri, 7 Feb 2014 04:18:16 +0000 (23:18 -0500)
committerMike Frysinger <vapier@gentoo.org>
Fri, 7 Feb 2014 04:18:16 +0000 (23:18 -0500)
17 files changed:
.kde/Autostart/auto-mute [new file with mode: 0755]
.kde/Autostart/gkrellm [new file with mode: 0755]
.kde/Autostart/kde-hidden-settings [new file with mode: 0755]
.kde/Autostart/kill-flash-cookies [new file with mode: 0755]
.kde/Autostart/xhost [new file with mode: 0755]
.kde/Autostart/xmodmap [new file with mode: 0755]
.kde/Autostart/xset-rate [new file with mode: 0755]
.kde/env/keychain.sh [new symlink]
.kde4 [new symlink]
.kde4/Autostart/auto-mute [deleted file]
.kde4/Autostart/gkrellm [deleted file]
.kde4/Autostart/kde-hidden-settings [deleted file]
.kde4/Autostart/kill-flash-cookies [deleted file]
.kde4/Autostart/xhost [deleted file]
.kde4/Autostart/xmodmap [deleted file]
.kde4/Autostart/xset-rate [deleted file]
.kde4/env/keychain.sh [deleted symlink]

diff --git a/.kde/Autostart/auto-mute b/.kde/Autostart/auto-mute
new file mode 100755 (executable)
index 0000000..d27df75
--- /dev/null
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec amixer -q set Master mute
diff --git a/.kde/Autostart/gkrellm b/.kde/Autostart/gkrellm
new file mode 100755 (executable)
index 0000000..8024515
--- /dev/null
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec kstart --window gkrellm --alldesktops --ontop --skippager --skiptaskbar "$@" gkrellm
diff --git a/.kde/Autostart/kde-hidden-settings b/.kde/Autostart/kde-hidden-settings
new file mode 100755 (executable)
index 0000000..c784e9e
--- /dev/null
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+# Disable the Ctrl-activated rectangles in Konqueror (Access Keys)
+kwriteconfig --file khtmlrc --group "Access Keys" --key Enabled --type bool false
+
+# Close Tab on Middle Click in Konqueror
+kwriteconfig --file konquerorrc --group "FMSettings" --key MouseMiddleClickClosesTab --type bool true
+
+# Hide "New Tab" and "Close Tab" from the Tabbar in Konqueror
+kwriteconfig --file konquerorrc --group FMSettings --key AddTabButton --type bool false
diff --git a/.kde/Autostart/kill-flash-cookies b/.kde/Autostart/kill-flash-cookies
new file mode 100755 (executable)
index 0000000..f2921dd
--- /dev/null
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec rm -rf ~/.macromedia ~/.adobe
diff --git a/.kde/Autostart/xhost b/.kde/Autostart/xhost
new file mode 100755 (executable)
index 0000000..27d917a
--- /dev/null
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec xhost +local:0
diff --git a/.kde/Autostart/xmodmap b/.kde/Autostart/xmodmap
new file mode 100755 (executable)
index 0000000..389518e
--- /dev/null
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec xmodmap ~/.Xmodmap
diff --git a/.kde/Autostart/xset-rate b/.kde/Autostart/xset-rate
new file mode 100755 (executable)
index 0000000..94d3c58
--- /dev/null
@@ -0,0 +1,25 @@
+#!/bin/bash
+
+unset xmodmap_pke
+keyname_to_keycode() {
+       : ${xmodmap_pke:=$(xmodmap -pke)}
+       echo "${xmodmap_pke}" | awk -vkey="$1" '$4 == key { print $2 }'
+}
+
+# disable repeat on some keys (randomly, they get turned on?!)
+keys=(
+       Control_{L,R}           # Ctrl key
+       Shift_{L,R}                     # Shift key
+       Alt_{L,R}                       # Alt key
+       Super_{L,R}                     # Windows key
+       Mode_switch                     # Capslock
+)
+for x in ${keys[@]} ; do
+       for c in $(keyname_to_keycode $x); do
+               xset -r ${c}
+       done
+done
+
+# xset r rate <delay before autorepeat starts> <repeat rate>
+#                 in milliseconds              keys per sec
+exec xset r rate 200 40
diff --git a/.kde/env/keychain.sh b/.kde/env/keychain.sh
new file mode 120000 (symlink)
index 0000000..1ce4572
--- /dev/null
@@ -0,0 +1 @@
+../../.profile.d/keychain.sh
\ No newline at end of file
diff --git a/.kde4 b/.kde4
new file mode 120000 (symlink)
index 0000000..bdb1556
--- /dev/null
+++ b/.kde4
@@ -0,0 +1 @@
+.kde
\ No newline at end of file
diff --git a/.kde4/Autostart/auto-mute b/.kde4/Autostart/auto-mute
deleted file mode 100755 (executable)
index d27df75..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-#!/bin/sh
-exec amixer -q set Master mute
diff --git a/.kde4/Autostart/gkrellm b/.kde4/Autostart/gkrellm
deleted file mode 100755 (executable)
index 8024515..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-#!/bin/sh
-exec kstart --window gkrellm --alldesktops --ontop --skippager --skiptaskbar "$@" gkrellm
diff --git a/.kde4/Autostart/kde-hidden-settings b/.kde4/Autostart/kde-hidden-settings
deleted file mode 100755 (executable)
index c784e9e..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-#!/bin/sh
-
-# Disable the Ctrl-activated rectangles in Konqueror (Access Keys)
-kwriteconfig --file khtmlrc --group "Access Keys" --key Enabled --type bool false
-
-# Close Tab on Middle Click in Konqueror
-kwriteconfig --file konquerorrc --group "FMSettings" --key MouseMiddleClickClosesTab --type bool true
-
-# Hide "New Tab" and "Close Tab" from the Tabbar in Konqueror
-kwriteconfig --file konquerorrc --group FMSettings --key AddTabButton --type bool false
diff --git a/.kde4/Autostart/kill-flash-cookies b/.kde4/Autostart/kill-flash-cookies
deleted file mode 100755 (executable)
index f2921dd..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-#!/bin/sh
-exec rm -rf ~/.macromedia ~/.adobe
diff --git a/.kde4/Autostart/xhost b/.kde4/Autostart/xhost
deleted file mode 100755 (executable)
index 27d917a..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-#!/bin/sh
-exec xhost +local:0
diff --git a/.kde4/Autostart/xmodmap b/.kde4/Autostart/xmodmap
deleted file mode 100755 (executable)
index 389518e..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-#!/bin/sh
-exec xmodmap ~/.Xmodmap
diff --git a/.kde4/Autostart/xset-rate b/.kde4/Autostart/xset-rate
deleted file mode 100755 (executable)
index 94d3c58..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
-#!/bin/bash
-
-unset xmodmap_pke
-keyname_to_keycode() {
-       : ${xmodmap_pke:=$(xmodmap -pke)}
-       echo "${xmodmap_pke}" | awk -vkey="$1" '$4 == key { print $2 }'
-}
-
-# disable repeat on some keys (randomly, they get turned on?!)
-keys=(
-       Control_{L,R}           # Ctrl key
-       Shift_{L,R}                     # Shift key
-       Alt_{L,R}                       # Alt key
-       Super_{L,R}                     # Windows key
-       Mode_switch                     # Capslock
-)
-for x in ${keys[@]} ; do
-       for c in $(keyname_to_keycode $x); do
-               xset -r ${c}
-       done
-done
-
-# xset r rate <delay before autorepeat starts> <repeat rate>
-#                 in milliseconds              keys per sec
-exec xset r rate 200 40
diff --git a/.kde4/env/keychain.sh b/.kde4/env/keychain.sh
deleted file mode 120000 (symlink)
index 1ce4572..0000000
+++ /dev/null
@@ -1 +0,0 @@
-../../.profile.d/keychain.sh
\ No newline at end of file