mirror of
https://github.com/olexsmir/dotfiles.git
synced 2026-01-15 08:41:34 +02:00
Del openbox
This commit is contained in:
parent
71ddd0ad2f
commit
351fd863ac
11 changed files with 11 additions and 876 deletions
10
bin/gpe
10
bin/gpe
|
|
@ -6,19 +6,15 @@ function encrypt() {
|
|||
}
|
||||
function decrypt() {
|
||||
local fn="$1"
|
||||
|
||||
if [ ${fn: -4} == ".asc" ]
|
||||
then
|
||||
gpg -d -o ${fn%%.asc} $@
|
||||
then gpg -d -o ${fn%%.asc} $@
|
||||
elif [ ${fn: -4} == ".gpg" ]
|
||||
then
|
||||
gpg -d -o ${fn%%.gpg} $@
|
||||
then gpg -d -o ${fn%%.gpg} $@
|
||||
fi
|
||||
}
|
||||
|
||||
## Logic
|
||||
case "$1" in
|
||||
enc|e) shift; encrypt $@ ;;
|
||||
dec|d) shift; decrypt $@ ;;
|
||||
*) echo "Error." ;;
|
||||
*) echo "Error." ;;
|
||||
esac
|
||||
|
|
|
|||
|
|
@ -1,15 +0,0 @@
|
|||
# Openbox
|
||||
|
||||

|
||||
---------------
|
||||
|
||||
### Install
|
||||
```bash
|
||||
sudo pacman -S openbox tint2
|
||||
```
|
||||
|
||||
### Install theme
|
||||
```bash
|
||||
mkdir ~/.theme
|
||||
tar -zxf nten.tar.gz -C ~/.themes
|
||||
```
|
||||
|
|
@ -1,4 +0,0 @@
|
|||
#!/bin/sh
|
||||
feh --randomize --bg-scale ~/Pictures/wallp &
|
||||
tint2 -c ~/.config/openbox/tint2rc &
|
||||
picom -b &
|
||||
|
|
@ -1,139 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<openbox_menu xmlns="http://openbox.org/3.4/menu">
|
||||
<menu id="apps-editors-menu" label="Editors">
|
||||
<item label="VScode">
|
||||
<action name="Execute">
|
||||
<command>code</command>
|
||||
</action>
|
||||
</item>
|
||||
<item label="Neovim">
|
||||
<action name="Execute">
|
||||
<command>kitty -e nvim</command>
|
||||
</action>
|
||||
</item>
|
||||
</menu>
|
||||
|
||||
<menu id="apps-net-menu" label="Internet">
|
||||
<item label="Firefox">
|
||||
<action name="Execute">
|
||||
<command>firefox</command>
|
||||
</action>
|
||||
</item>
|
||||
<item label="Google chrome">
|
||||
<action name="Execute">
|
||||
<command>google-chrome-stable</command>
|
||||
</action>
|
||||
</item>
|
||||
<item label="Discord">
|
||||
<action name="Execute">
|
||||
<command>discord</command>
|
||||
</action>
|
||||
</item>
|
||||
<item label="Telegram">
|
||||
<action name="Execute">
|
||||
<command>telegram-desktop</command>
|
||||
</action>
|
||||
</item>
|
||||
<item label="Dropbox">
|
||||
<action name="Execute">
|
||||
<command>dropbox</command>
|
||||
</action>
|
||||
</item>
|
||||
</menu>
|
||||
|
||||
<menu id="apps-office-menu" label="Productivity">
|
||||
<item label="Simplenote">
|
||||
<action name="Execute">
|
||||
<command>~/.applications/simplenote.appimage</command>
|
||||
</action>
|
||||
</item>
|
||||
<item label="Joplin">
|
||||
<action name="Execute">
|
||||
<command>~/.applications/joplin.appimage</command>
|
||||
</action>
|
||||
</item>
|
||||
<item label="Todoist">
|
||||
<action name="Execute">
|
||||
<command>~/.applications/todoist.appimage</command>
|
||||
</action>
|
||||
</item>
|
||||
<item label="Zathura">
|
||||
<action name="Execute">
|
||||
<command>zathura</command>
|
||||
</action>
|
||||
</item>
|
||||
</menu>
|
||||
|
||||
<menu id="apps-fileman-menu" label="File Managers">
|
||||
<item label="Ranger">
|
||||
<action name="Execute">
|
||||
<command>kitty -e ranger</command>
|
||||
</action>
|
||||
</item>
|
||||
<item label="PCManFM">
|
||||
<action name="Execute">
|
||||
<command>pcmanfm</command>
|
||||
</action>
|
||||
</item>
|
||||
</menu>
|
||||
|
||||
<menu id="system-menu" label="System">
|
||||
<item label="OBconf ">
|
||||
<action name="Execute">
|
||||
<command>obconf</command>
|
||||
</action>
|
||||
</item>
|
||||
<item label="LXapperance">
|
||||
<action name="Execute">
|
||||
<command>lxapperance</command>
|
||||
</action>
|
||||
</item>
|
||||
<item label="Tint2 config">
|
||||
<action name="Execute">
|
||||
<command>tint2conf</command>
|
||||
</action>
|
||||
</item>
|
||||
<separator />
|
||||
<item label="Reconfigure Openbox">
|
||||
<action name="Reconfigure" />
|
||||
</item>
|
||||
</menu>
|
||||
|
||||
<menu id="power-menu" label="Power">
|
||||
<item label="Power Off">
|
||||
<action name="PowerOff"></action>
|
||||
</item>
|
||||
<item label="Reboot">
|
||||
<action name="reboot"></action>
|
||||
</item>
|
||||
<item label="Suspend">
|
||||
<action name="systemctl suspend" />
|
||||
</item>
|
||||
<item label="Log Out">
|
||||
<action name="Exit"><prompt>yes</prompt></action>
|
||||
</item>
|
||||
</menu>
|
||||
|
||||
<menu id="root-menu" label="Openbox">
|
||||
<item label="Kitty"><action name="Execute">
|
||||
<command>kitty</command>
|
||||
</action></item>
|
||||
<item label="Chrome"><action name="Execute">
|
||||
<command>google-chrome-stable</command>
|
||||
</action></item>
|
||||
<item label="VScode"><action name="Execute">
|
||||
<command>code</command>
|
||||
</action></item>
|
||||
<item label="Rofi"> <action name="Execute">
|
||||
<command>rofi -show drun -theme ntenV2</command>
|
||||
</action></item>
|
||||
<separator />
|
||||
<menu id="apps-net-menu"/>
|
||||
<menu id="apps-editors-menu"/>
|
||||
<menu id="apps-office-menu"/>
|
||||
<menu id="apps-fileman-menu"/>
|
||||
<separator />
|
||||
<menu id="system-menu" />
|
||||
<menu id="power-menu" />
|
||||
</menu>
|
||||
</openbox_menu>
|
||||
Binary file not shown.
|
|
@ -1,414 +0,0 @@
|
|||
<?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>
|
||||
<focus>
|
||||
<focusNew>yes</focusNew>
|
||||
<followMouse>no</followMouse>
|
||||
<focusLast>yes</focusLast>
|
||||
<underMouse>no</underMouse>
|
||||
<focusDelay>70</focusDelay>
|
||||
<raiseOnFocus>no</raiseOnFocus>
|
||||
</focus>
|
||||
<placement>
|
||||
<policy>Smart</policy>
|
||||
<center>yes</center>
|
||||
<monitor>Primary</monitor>
|
||||
<primaryMonitor>1</primaryMonitor>
|
||||
</placement>
|
||||
<theme>
|
||||
<name>nten</name>
|
||||
<titleLayout>NLIMC</titleLayout>
|
||||
<keepBorder>yes</keepBorder>
|
||||
<animateIconify>yes</animateIconify>
|
||||
<font place="ActiveWindow">
|
||||
<name>sans</name>
|
||||
<size>8</size>
|
||||
<weight>bold</weight>
|
||||
<slant>normal</slant>
|
||||
</font>
|
||||
<font place="InactiveWindow">
|
||||
<name>sans</name>
|
||||
<size>8</size>
|
||||
<weight>bold</weight>
|
||||
<slant>normal</slant>
|
||||
</font>
|
||||
<font place="MenuHeader">
|
||||
<name>sans</name>
|
||||
<size>9</size>
|
||||
<weight>normal</weight>
|
||||
<slant>normal</slant>
|
||||
</font>
|
||||
<font place="MenuItem">
|
||||
<name>sans</name>
|
||||
<size>9</size>
|
||||
<weight>normal</weight>
|
||||
<slant>normal</slant>
|
||||
</font>
|
||||
<font place="ActiveOnScreenDisplay">
|
||||
<name>sans</name>
|
||||
<size>9</size>
|
||||
<weight>bold</weight>
|
||||
<slant>normal</slant>
|
||||
</font>
|
||||
<font place="InactiveOnScreenDisplay">
|
||||
<name>sans</name>
|
||||
<size>9</size>
|
||||
<weight>bold</weight>
|
||||
<slant>normal</slant>
|
||||
</font>
|
||||
</theme>
|
||||
<desktops>
|
||||
<number>1</number>
|
||||
<firstdesk>1</firstdesk>
|
||||
<names>
|
||||
<name>Desktop</name>
|
||||
</names>
|
||||
<popupTime>0</popupTime>
|
||||
</desktops>
|
||||
<resize>
|
||||
<drawContents>yes</drawContents>
|
||||
<popupShow>Nonpixel</popupShow>
|
||||
<popupPosition>Center</popupPosition>
|
||||
<popupFixedPosition>
|
||||
<x>10</x>
|
||||
<y>10</y>
|
||||
</popupFixedPosition>
|
||||
</resize>
|
||||
<margins>
|
||||
<top>0</top>
|
||||
<bottom>0</bottom>
|
||||
<left>0</left>
|
||||
<right>0</right>
|
||||
</margins>
|
||||
<dock>
|
||||
<position>BottomLeft</position>
|
||||
<floatingX>0</floatingX>
|
||||
<floatingY>0</floatingY>
|
||||
<noStrut>no</noStrut>
|
||||
<stacking>Above</stacking>
|
||||
<direction>Vertical</direction>
|
||||
<autoHide>no</autoHide>
|
||||
<hideDelay>300</hideDelay>
|
||||
<showDelay>300</showDelay>
|
||||
<moveButton>Middle</moveButton>
|
||||
</dock>
|
||||
<keyboard>
|
||||
<chainQuitKey>C-g</chainQuitKey>
|
||||
<keybind key="W-d">
|
||||
<action name="ToggleShowDesktop"/>
|
||||
</keybind>
|
||||
<!-- Keybindings for windows -->
|
||||
<keybind key="A-F4">
|
||||
<action name="Close"/>
|
||||
</keybind>
|
||||
<!-- Keybindings for window switching -->
|
||||
<keybind key="A-Tab">
|
||||
<action name="NextWindow">
|
||||
<finalactions>
|
||||
<action name="Focus"/>
|
||||
<action name="Raise"/>
|
||||
<action name="Unshade"/>
|
||||
</finalactions>
|
||||
</action>
|
||||
</keybind>
|
||||
<keybind key="A-S-Tab">
|
||||
<action name="PreviousWindow">
|
||||
<finalactions>
|
||||
<action name="Focus"/>
|
||||
<action name="Raise"/>
|
||||
<action name="Unshade"/>
|
||||
</finalactions>
|
||||
</action>
|
||||
</keybind>
|
||||
<!-- Keybindings for running applications -->
|
||||
<keybind key="W-Return">
|
||||
<action name="Execute">
|
||||
<command>kitty</command>
|
||||
</action>
|
||||
</keybind>
|
||||
<keybind key="W-S-w">
|
||||
<action name="Execute">
|
||||
<command>google-chrome-stable</command>
|
||||
</action>
|
||||
</keybind>
|
||||
</keyboard>
|
||||
<mouse>
|
||||
<dragThreshold>1</dragThreshold>
|
||||
<doubleClickTime>500</doubleClickTime>
|
||||
<screenEdgeWarpTime>400</screenEdgeWarpTime>
|
||||
<screenEdgeWarpMouse>false</screenEdgeWarpMouse>
|
||||
<context name="Frame">
|
||||
<mousebind button="A-Left" action="Press">
|
||||
<action name="Focus"/>
|
||||
<action name="Raise"/>
|
||||
</mousebind>
|
||||
<mousebind button="A-Left" action="Click">
|
||||
<action name="Unshade"/>
|
||||
</mousebind>
|
||||
<mousebind button="A-Left" action="Drag">
|
||||
<action name="Move"/>
|
||||
</mousebind>
|
||||
<mousebind button="A-Right" action="Press">
|
||||
<action name="Focus"/>
|
||||
<action name="Raise"/>
|
||||
<action name="Unshade"/>
|
||||
</mousebind>
|
||||
<mousebind button="A-Right" action="Drag">
|
||||
<action name="Resize"/>
|
||||
</mousebind>
|
||||
</context>
|
||||
<context name="Titlebar">
|
||||
<mousebind button="Left" action="Drag">
|
||||
<action name="Move"/>
|
||||
</mousebind>
|
||||
<mousebind button="Left" action="DoubleClick">
|
||||
<action name="ToggleMaximize"/>
|
||||
</mousebind>
|
||||
<mousebind button="Up" action="Click">
|
||||
<action name="if">
|
||||
<shaded>no</shaded>
|
||||
<then>
|
||||
<action name="Shade"/>
|
||||
<action name="FocusToBottom"/>
|
||||
<action name="Unfocus"/>
|
||||
<action name="Lower"/>
|
||||
</then>
|
||||
</action>
|
||||
</mousebind>
|
||||
<mousebind button="Down" action="Click">
|
||||
<action name="if">
|
||||
<shaded>yes</shaded>
|
||||
<then>
|
||||
<action name="Unshade"/>
|
||||
<action name="Raise"/>
|
||||
</then>
|
||||
</action>
|
||||
</mousebind>
|
||||
</context>
|
||||
<context name="Titlebar Top Right Bottom Left TLCorner TRCorner BRCorner BLCorner">
|
||||
<mousebind button="Left" action="Press">
|
||||
<action name="Focus"/>
|
||||
<action name="Raise"/>
|
||||
<action name="Unshade"/>
|
||||
</mousebind>
|
||||
<mousebind button="Right" action="Press">
|
||||
<action name="Focus"/>
|
||||
<action name="Raise"/>
|
||||
<action name="ShowMenu">
|
||||
<menu>client-menu</menu>
|
||||
</action>
|
||||
</mousebind>
|
||||
</context>
|
||||
<context name="Top">
|
||||
<mousebind button="Left" action="Drag">
|
||||
<action name="Resize">
|
||||
<edge>top</edge>
|
||||
</action>
|
||||
</mousebind>
|
||||
</context>
|
||||
<context name="Left">
|
||||
<mousebind button="Left" action="Drag">
|
||||
<action name="Resize">
|
||||
<edge>left</edge>
|
||||
</action>
|
||||
</mousebind>
|
||||
</context>
|
||||
<context name="Right">
|
||||
<mousebind button="Left" action="Drag">
|
||||
<action name="Resize">
|
||||
<edge>right</edge>
|
||||
</action>
|
||||
</mousebind>
|
||||
</context>
|
||||
<context name="Bottom">
|
||||
<mousebind button="Left" action="Drag">
|
||||
<action name="Resize">
|
||||
<edge>bottom</edge>
|
||||
</action>
|
||||
</mousebind>
|
||||
<mousebind button="Right" action="Press">
|
||||
<action name="Focus"/>
|
||||
<action name="Raise"/>
|
||||
<action name="ShowMenu">
|
||||
<menu>client-menu</menu>
|
||||
</action>
|
||||
</mousebind>
|
||||
</context>
|
||||
<context name="TRCorner BRCorner TLCorner BLCorner">
|
||||
<mousebind button="Left" action="Press">
|
||||
<action name="Focus"/>
|
||||
<action name="Raise"/>
|
||||
<action name="Unshade"/>
|
||||
</mousebind>
|
||||
<mousebind button="Left" action="Drag">
|
||||
<action name="Resize"/>
|
||||
</mousebind>
|
||||
</context>
|
||||
<context name="Client">
|
||||
<mousebind button="Left" action="Press">
|
||||
<action name="Focus"/>
|
||||
<action name="Raise"/>
|
||||
</mousebind>
|
||||
<mousebind button="Middle" action="Press">
|
||||
<action name="Focus"/>
|
||||
<action name="Raise"/>
|
||||
</mousebind>
|
||||
<mousebind button="Right" action="Press">
|
||||
<action name="Focus"/>
|
||||
<action name="Raise"/>
|
||||
</mousebind>
|
||||
</context>
|
||||
<context name="Icon">
|
||||
<mousebind button="Left" action="Press">
|
||||
<action name="Focus"/>
|
||||
<action name="Raise"/>
|
||||
<action name="Unshade"/>
|
||||
<action name="ShowMenu">
|
||||
<menu>client-menu</menu>
|
||||
</action>
|
||||
</mousebind>
|
||||
<mousebind button="Right" action="Press">
|
||||
<action name="Focus"/>
|
||||
<action name="Raise"/>
|
||||
<action name="ShowMenu">
|
||||
<menu>client-menu</menu>
|
||||
</action>
|
||||
</mousebind>
|
||||
</context>
|
||||
<context name="AllDesktops">
|
||||
<mousebind button="Left" action="Press">
|
||||
<action name="Focus"/>
|
||||
<action name="Raise"/>
|
||||
<action name="Unshade"/>
|
||||
</mousebind>
|
||||
<mousebind button="Left" action="Click">
|
||||
<action name="ToggleOmnipresent"/>
|
||||
</mousebind>
|
||||
</context>
|
||||
<context name="Shade">
|
||||
<mousebind button="Left" action="Press">
|
||||
<action name="Focus"/>
|
||||
<action name="Raise"/>
|
||||
</mousebind>
|
||||
<mousebind button="Left" action="Click">
|
||||
<action name="ToggleShade"/>
|
||||
</mousebind>
|
||||
</context>
|
||||
<context name="Iconify">
|
||||
<mousebind button="Left" action="Press">
|
||||
<action name="Focus"/>
|
||||
<action name="Raise"/>
|
||||
</mousebind>
|
||||
<mousebind button="Left" action="Click">
|
||||
<action name="Iconify"/>
|
||||
</mousebind>
|
||||
</context>
|
||||
<context name="Maximize">
|
||||
<mousebind button="Left" action="Press">
|
||||
<action name="Focus"/>
|
||||
<action name="Raise"/>
|
||||
<action name="Unshade"/>
|
||||
</mousebind>
|
||||
<mousebind button="Middle" action="Press">
|
||||
<action name="Focus"/>
|
||||
<action name="Raise"/>
|
||||
<action name="Unshade"/>
|
||||
</mousebind>
|
||||
<mousebind button="Right" action="Press">
|
||||
<action name="Focus"/>
|
||||
<action name="Raise"/>
|
||||
<action name="Unshade"/>
|
||||
</mousebind>
|
||||
<mousebind button="Left" action="Click">
|
||||
<action name="ToggleMaximize"/>
|
||||
</mousebind>
|
||||
<mousebind button="Middle" action="Click">
|
||||
<action name="ToggleMaximize">
|
||||
<direction>vertical</direction>
|
||||
</action>
|
||||
</mousebind>
|
||||
<mousebind button="Right" action="Click">
|
||||
<action name="ToggleMaximize">
|
||||
<direction>horizontal</direction>
|
||||
</action>
|
||||
</mousebind>
|
||||
</context>
|
||||
<context name="Close">
|
||||
<mousebind button="Left" action="Press">
|
||||
<action name="Focus"/>
|
||||
<action name="Raise"/>
|
||||
<action name="Unshade"/>
|
||||
</mousebind>
|
||||
<mousebind button="Left" action="Click">
|
||||
<action name="Close"/>
|
||||
</mousebind>
|
||||
</context>
|
||||
<context name="Desktop">
|
||||
<mousebind button="Up" action="Click">
|
||||
<action name="GoToDesktop">
|
||||
<to>previous</to>
|
||||
</action>
|
||||
</mousebind>
|
||||
<mousebind button="Down" action="Click">
|
||||
<action name="GoToDesktop">
|
||||
<to>next</to>
|
||||
</action>
|
||||
</mousebind>
|
||||
<mousebind button="A-Up" action="Click">
|
||||
<action name="GoToDesktop">
|
||||
<to>previous</to>
|
||||
</action>
|
||||
</mousebind>
|
||||
<mousebind button="A-Down" action="Click">
|
||||
<action name="GoToDesktop">
|
||||
<to>next</to>
|
||||
</action>
|
||||
</mousebind>
|
||||
<mousebind button="C-A-Up" action="Click">
|
||||
<action name="GoToDesktop">
|
||||
<to>previous</to>
|
||||
</action>
|
||||
</mousebind>
|
||||
<mousebind button="C-A-Down" action="Click">
|
||||
<action name="GoToDesktop">
|
||||
<to>next</to>
|
||||
</action>
|
||||
</mousebind>
|
||||
<mousebind button="Left" action="Press">
|
||||
<action name="Focus"/>
|
||||
<action name="Raise"/>
|
||||
</mousebind>
|
||||
<mousebind button="Right" action="Press">
|
||||
<action name="Focus"/>
|
||||
<action name="Raise"/>
|
||||
</mousebind>
|
||||
</context>
|
||||
<context name="Root">
|
||||
<mousebind button="Right" action="Press">
|
||||
<action name="ShowMenu">
|
||||
<menu>root-menu</menu>
|
||||
</action>
|
||||
</mousebind>
|
||||
</context>
|
||||
<context name="MoveResize">
|
||||
<mousebind button="Up" action="Click">
|
||||
<action name="GoToDesktop">
|
||||
<to>previous</to>
|
||||
</action>
|
||||
</mousebind>
|
||||
</context>
|
||||
</mouse>
|
||||
<menu>
|
||||
<file>menu.xml</file>
|
||||
<hideDelay>200</hideDelay>
|
||||
<middle>no</middle>
|
||||
<submenuShowDelay>100</submenuShowDelay>
|
||||
<submenuHideDelay>400</submenuHideDelay>
|
||||
<showIcons>yes</showIcons>
|
||||
<manageDesktops>yes</manageDesktops>
|
||||
</menu>
|
||||
<applications/>
|
||||
</openbox_config>
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 1.3 MiB |
|
|
@ -1,17 +0,0 @@
|
|||
#!/bin/sh
|
||||
CHK_MUTE() { amixer -D pulse get Master | grep '%' | grep -oE '[^ ]+$' | grep off; }
|
||||
VOLUME="$(amixer -D pulse get Master | grep '%' | head -n 1 | awk -F'[' '{print $2}' | awk -F'%' '{print $1}';)"
|
||||
|
||||
case $1 in
|
||||
percent)
|
||||
if CHK_MUTE &> /dev/null
|
||||
then
|
||||
echo ""
|
||||
else
|
||||
echo " $VOLUME%"
|
||||
fi
|
||||
;;
|
||||
up) amixer sset Master 2%+ ;;
|
||||
down) amixer sset Master 2%- ;;
|
||||
mute) amixer sset Master toggle ;;
|
||||
esac
|
||||
|
|
@ -1,3 +0,0 @@
|
|||
#!/bin/sh
|
||||
SIGNAL="$(cat /proc/net/wireless | grep "wlp3s0" | awk '{print $4}' | grep -o '[0-9]*')"
|
||||
echo " $SIGNAL%"
|
||||
|
|
@ -1,270 +0,0 @@
|
|||
#---- Generated by tint2conf 3de0 ----
|
||||
# See https://gitlab.com/o9000/tint2/wikis/Configure for
|
||||
# full documentation of the configuration options.
|
||||
#-------------------------------------
|
||||
# Gradients
|
||||
#-------------------------------------
|
||||
# Backgrounds
|
||||
# Background 1: Active taskbar, Battery, Clock, Launcher, Systray, Tooltip
|
||||
rounded = 0
|
||||
border_width = 0
|
||||
border_sides = TBLR
|
||||
border_content_tint_weight = 0
|
||||
background_content_tint_weight = 0
|
||||
background_color = #262a2b 100
|
||||
border_color = #222222 0
|
||||
background_color_hover = #000000 80
|
||||
border_color_hover = #000000 0
|
||||
background_color_pressed = #000000 80
|
||||
border_color_pressed = #000000 0
|
||||
|
||||
# Background 2: Active task
|
||||
rounded = 0
|
||||
border_width = 0
|
||||
border_sides = TBLR
|
||||
border_content_tint_weight = 0
|
||||
background_content_tint_weight = 0
|
||||
background_color = #008dcd 100
|
||||
border_color = #272727 0
|
||||
background_color_hover = #272727 70
|
||||
border_color_hover = #272727 0
|
||||
background_color_pressed = #272727 70
|
||||
border_color_pressed = #272727 0
|
||||
|
||||
# Background 3: Urgent task
|
||||
rounded = 0
|
||||
border_width = 0
|
||||
border_sides = TBLR
|
||||
border_content_tint_weight = 0
|
||||
background_content_tint_weight = 0
|
||||
background_color = #ff6c6b 60
|
||||
border_color = #d98282 0
|
||||
background_color_hover = #ff6c6b 60
|
||||
border_color_hover = #d98282 0
|
||||
background_color_pressed = #ff6c6b 60
|
||||
border_color_pressed = #d98282 0
|
||||
|
||||
# Background 4: Default task, Executor
|
||||
rounded = 0
|
||||
border_width = 0
|
||||
border_sides = TBLR
|
||||
border_content_tint_weight = 0
|
||||
background_content_tint_weight = 0
|
||||
background_color = #262a2b 100
|
||||
border_color = #242424 0
|
||||
background_color_hover = #242424 60
|
||||
border_color_hover = #242424 0
|
||||
background_color_pressed = #242424 60
|
||||
border_color_pressed = #242424 0
|
||||
|
||||
# Background 5: Iconified task
|
||||
rounded = 0
|
||||
border_width = 0
|
||||
border_sides = TBLR
|
||||
border_content_tint_weight = 0
|
||||
background_content_tint_weight = 0
|
||||
background_color = #252525 60
|
||||
border_color = #252525 0
|
||||
background_color_hover = #252525 60
|
||||
border_color_hover = #252525 0
|
||||
background_color_pressed = #252525 60
|
||||
border_color_pressed = #252525 0
|
||||
|
||||
#-------------------------------------
|
||||
# Panel
|
||||
panel_items = TESEC
|
||||
panel_size = 100% 24
|
||||
panel_margin = 0 0
|
||||
panel_padding = 0 0 0
|
||||
panel_background_id = 0
|
||||
wm_menu = 1
|
||||
panel_dock = 0
|
||||
panel_pivot_struts = 0
|
||||
panel_position = top center horizontal
|
||||
panel_layer = top
|
||||
panel_monitor = all
|
||||
panel_shrink = 0
|
||||
autohide = 0
|
||||
autohide_show_timeout = 0.3
|
||||
autohide_hide_timeout = 1.5
|
||||
autohide_height = 1
|
||||
strut_policy = follow_size
|
||||
panel_window_name = tint2
|
||||
disable_transparency = 0
|
||||
mouse_effects = 0
|
||||
font_shadow = 0
|
||||
mouse_hover_icon_asb = 100 0 10
|
||||
mouse_pressed_icon_asb = 100 0 0
|
||||
scale_relative_to_dpi = 0
|
||||
scale_relative_to_screen_height = 0
|
||||
|
||||
#-------------------------------------
|
||||
# Taskbar
|
||||
taskbar_mode = single_desktop
|
||||
taskbar_hide_if_empty = 0
|
||||
taskbar_padding = 0 0 0
|
||||
taskbar_background_id = 0
|
||||
taskbar_active_background_id = 1
|
||||
taskbar_name = 0
|
||||
taskbar_hide_inactive_tasks = 0
|
||||
taskbar_hide_different_monitor = 0
|
||||
taskbar_hide_different_desktop = 0
|
||||
taskbar_always_show_all_desktop_tasks = 0
|
||||
taskbar_name_padding = 0 0
|
||||
taskbar_name_background_id = 0
|
||||
taskbar_name_active_background_id = 0
|
||||
taskbar_name_font = Droid Sans Bold 8
|
||||
taskbar_name_font_color = #d1d1d1 100
|
||||
taskbar_name_active_font_color = #aaaaaa 100
|
||||
taskbar_distribute_size = 0
|
||||
taskbar_sort_order = none
|
||||
task_align = left
|
||||
|
||||
#-------------------------------------
|
||||
# Task
|
||||
task_text = 1
|
||||
task_icon = 0
|
||||
task_centered = 1
|
||||
urgent_nb_of_blink = 20
|
||||
task_maximum_size = 180 0
|
||||
task_padding = 8 6 8
|
||||
task_font = Droid Sans Bold 8
|
||||
task_tooltip = 1
|
||||
task_thumbnail = 0
|
||||
task_thumbnail_size = 210
|
||||
task_font_color = #cccccc 100
|
||||
task_active_font_color = #ffffff 100
|
||||
task_urgent_font_color = #cccccc 100
|
||||
task_iconified_font_color = #cccccc 80
|
||||
task_icon_asb = 100 0 0
|
||||
task_active_icon_asb = 100 0 0
|
||||
task_urgent_icon_asb = 100 0 0
|
||||
task_iconified_icon_asb = 80 0 0
|
||||
task_background_id = 4
|
||||
task_active_background_id = 2
|
||||
task_urgent_background_id = 3
|
||||
task_iconified_background_id = 5
|
||||
mouse_left = toggle_iconify
|
||||
mouse_middle = close
|
||||
mouse_right = none
|
||||
mouse_scroll_up = none
|
||||
mouse_scroll_down = none
|
||||
|
||||
#-------------------------------------
|
||||
# System tray (notification area)
|
||||
systray_padding = 8 0 12
|
||||
systray_background_id = 1
|
||||
systray_sort = right2left
|
||||
systray_icon_size = 18
|
||||
systray_icon_asb = 100 0 0
|
||||
systray_monitor = 1
|
||||
systray_name_filter =
|
||||
|
||||
#-------------------------------------
|
||||
# Launcher
|
||||
launcher_padding = 8 0 16
|
||||
launcher_background_id = 1
|
||||
launcher_icon_background_id = 0
|
||||
launcher_icon_size = 16
|
||||
launcher_icon_asb = 100 0 0
|
||||
launcher_icon_theme_override = 0
|
||||
startup_notifications = 0
|
||||
launcher_tooltip = 0
|
||||
launcher_item_app = /usr/share/applications/google-chrome.desktop
|
||||
launcher_item_app = /usr/share/applications/kitty.desktop
|
||||
launcher_item_app = ~/.local/share/applications/todoist.desktop
|
||||
launcher_item_app = /usr/share/applications/visual-studio-code.desktop
|
||||
|
||||
#-------------------------------------
|
||||
# Clock
|
||||
time1_format = %H:%M
|
||||
time2_format =
|
||||
time1_font = Droid Sans Bold 8
|
||||
time1_timezone =
|
||||
time2_timezone =
|
||||
clock_font_color = #d1d1d1 100
|
||||
clock_padding = 8 4
|
||||
clock_background_id = 1
|
||||
clock_tooltip =
|
||||
clock_tooltip_timezone =
|
||||
clock_lclick_command = gsimplecal
|
||||
clock_rclick_command = gsimplecal
|
||||
clock_mclick_command =
|
||||
clock_uwheel_command =
|
||||
clock_dwheel_command =
|
||||
|
||||
#-------------------------------------
|
||||
# Battery
|
||||
battery_tooltip = 1
|
||||
battery_low_status = 25
|
||||
battery_low_cmd = notify-send "battery low"
|
||||
battery_full_cmd =
|
||||
bat1_font = Droid Sans Bold 8
|
||||
bat2_font = Droid Sans Bold 8
|
||||
battery_font_color = #d1d1d1 100
|
||||
bat1_format =
|
||||
bat2_format =
|
||||
battery_padding = 2 0
|
||||
battery_background_id = 1
|
||||
battery_hide = 96
|
||||
battery_lclick_command =
|
||||
battery_rclick_command =
|
||||
battery_mclick_command =
|
||||
battery_uwheel_command =
|
||||
battery_dwheel_command =
|
||||
ac_connected_cmd =
|
||||
ac_disconnected_cmd =
|
||||
|
||||
#-------------------------------------
|
||||
# Executor 1
|
||||
execp = new
|
||||
execp_command = $HOME/.script/volume percent
|
||||
execp_interval = 1
|
||||
execp_has_icon = 0
|
||||
execp_cache_icon = 1
|
||||
execp_continuous = 0
|
||||
execp_markup = 1
|
||||
execp_lclick_command = $HOME/.config/openbox/script/volume mute
|
||||
execp_rclick_command =
|
||||
execp_mclick_command =
|
||||
execp_uwheel_command = $HOME/.config/openbox/script/volume up
|
||||
execp_dwheel_command = $HOME/.config/openbox/script/volume down
|
||||
execp_font = Droid Sans Bold 8
|
||||
execp_font_color = #d1d1d1 100
|
||||
execp_padding = 8 0
|
||||
execp_background_id = 4
|
||||
execp_centered = 0
|
||||
execp_icon_w = 0
|
||||
execp_icon_h = 0
|
||||
|
||||
#-------------------------------------
|
||||
# Executor 2
|
||||
execp = new
|
||||
execp_command = $HOME/.config/openbox/script/wifi-signal
|
||||
execp_interval = 5
|
||||
execp_has_icon = 0
|
||||
execp_cache_icon = 1
|
||||
execp_continuous = 0
|
||||
execp_markup = 1
|
||||
execp_lclick_command =
|
||||
execp_rclick_command =
|
||||
execp_mclick_command =
|
||||
execp_uwheel_command =
|
||||
execp_dwheel_command =
|
||||
execp_font = Droid Sans Bold 8
|
||||
execp_font_color = #d1d1d1 100
|
||||
execp_padding = 8 0
|
||||
execp_background_id = 4
|
||||
execp_centered = 0
|
||||
execp_icon_w = 0
|
||||
execp_icon_h = 0
|
||||
|
||||
#-------------------------------------
|
||||
# Tooltip
|
||||
tooltip_show_timeout = 1
|
||||
tooltip_hide_timeout = 0
|
||||
tooltip_padding = 6 6
|
||||
tooltip_background_id = 1
|
||||
tooltip_font_color = #d1d1d1 100
|
||||
tooltip_font = Droid Sans Bold 8
|
||||
|
||||
|
|
@ -22,13 +22,14 @@ set save_console_history false
|
|||
set scroll_offset 4
|
||||
|
||||
#== Mappings
|
||||
map @ shell $SHELL
|
||||
|
||||
# go to
|
||||
map gc cd ~/code
|
||||
map gn cd ~/notes
|
||||
map gd cd ~/Documents
|
||||
map gw cd ~/Downloads
|
||||
map g. cd ~/.dotfiles
|
||||
map @ shell $SHELL
|
||||
|
||||
# delete
|
||||
map dD delete
|
||||
|
|
@ -39,11 +40,11 @@ map <c-k> tab_shift 1
|
|||
map <c-j> tab_shift -1
|
||||
|
||||
# archive
|
||||
map sa shell zip -r archive.zip %s
|
||||
map ss shell tar -czvf archive.tar.gz %s
|
||||
map sd shell 7z a archive.7z %s
|
||||
map se shell extract %s
|
||||
map sa shell zip -r archive.zip %s
|
||||
map ss shell tar -czvf archive.tar.gz %s
|
||||
map sd shell 7z a archive.7z %s
|
||||
map se shell extract %s
|
||||
|
||||
# gpg
|
||||
map ee shell gpe enc %s
|
||||
map ed shell gpe dec %s
|
||||
map ee shell gpe enc %s
|
||||
map ed shell gpe dec %s
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue