Skip to content

Instantly share code, notes, and snippets.

Avatar
🤖

Head-on-a-Stick

🤖
  • Kamikaze Kouriers
  • /dev/chair
View GitHub Profile
View menu.xml
<?xml version="1.0" encoding="UTF-8"?>
<openbox_menu xmlns="http://openbox.org/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://openbox.org/
file:///usr/share/openbox/menu.xsd">
<menu id="exit-menu" label="Exit">
<item label="Log out">
<action name="Execute">
View rc.xml
<keybind key="XF86AudioLowerVolume">
<action name="Execute">
<command>amixer set -D pulse Master 5%- unmute</command>
</action>
</keybind>
<keybind key="XF86AudioMute">
<action name="Execute">
<command>amixer set -D pulse Master toggle</command>
</action>
</keybind>
View gist:042d99a75a6837a42592
[Unit]
Description=Wireless network connectivity (%i)
Wants=network.target
Before=network.target
BindsTo=sys-subsystem-net-devices-%i.device
After=sys-subsystem-net-devices-%i.device
[Service]
Type=oneshot
RemainAfterExit=yes
View network-wireless@.service
[Unit]
Description=Wireless network connectivity (%i)
Wants=network.target
Before=network.target
BindsTo=sys-subsystem-net-devices-%i.device
After=sys-subsystem-net-devices-%i.device
[Service]
Type=oneshot
RemainAfterExit=yes
View rc.xml.bl
<?xml version="1.0" encoding="UTF-8"?>
<openbox_config xmlns="http://openbox.org/3.4/rc"
xmlns:xi="http://www.w3.org/2001/XInclude">
<resistance>
<strength>10</strength>
<screen_edge_strength>20</screen_edge_strength>
</resistance>
View gist:2caed84d872cea1aeca351ede9534aca
# Prompt setup for grml:
# set colors for use in prompts (modern zshs allow for the use of %F{red}foo%f
# in prompts to get a red "foo" embedded, but it's good to keep these for
# backwards compatibility).
if is437; then
BLUE="%F{blue}"
RED="%F{red}"
GREEN="%F{green}"
CYAN="%F{cyan}"
View .xinitrc
xfsettingsd
xcompmgr &
xsetroot -cursor_name left_ptr
sh ~/.fehbg
xset s 300 -dpms
urxvtd -q -f -o
xfce4-panel --disable-wm-check &
volumeicon &
exec bspwm
View autostart
synclient VertEdgeScroll=1 VertTwoFingerScroll=0 HorizEdgeScroll=1 2>/dev/null
xset r rate 250 25 b off s 300 -dpms
nitrogen --restore &
bl-compositor --start &
bl-tint2-session&
bl-conky-session --autostart&
volumeicon&
xfce4-volumed &
xfce4-power-manager &
View gist:6080eab106d7114669e3c96f685f0653
synclient VertEdgeScroll=1 VertTwoFingerScroll=0 HorizEdgeScroll=1 2>/dev/null
xset r rate 250 25 b off s 300 -dpms
nitrogen --restore &
bl-compositor --start &
(sleep 2s; bl-tint2-session) &
(sleep 2s; bl-conky-session --autostart) &
(sleep 2s;volumeicon)&
xfce4-volumed &
xfce4-power-manager &
View autostart
synclient VertEdgeScroll=1 VertTwoFingerScroll=0 HorizEdgeScroll=1 2>/dev/null
xset r rate 250 25 b off s 300 -dpms
nitrogen --restore
bl-compositor --start
bl-tint2-session
bl-conky-session --autostart
(sleep 2s;volumeicon) &
xfce4-volumed
xfce4-power-manager
You can’t perform that action at this time.