diff options
116 files changed, 1185 insertions, 847 deletions
diff --git a/.Xmodmap b/.Xmodmap new file mode 100644 index 0000000..7910237 --- /dev/null +++ b/.Xmodmap @@ -0,0 +1,248 @@ +keycode 8 = +keycode 9 = Escape NoSymbol Escape +keycode 10 = 1 exclam 1 exclam +keycode 11 = 2 at 2 at +keycode 12 = 3 numbersign 3 numbersign +keycode 13 = 4 dollar 4 dollar +keycode 14 = 5 percent 5 percent +keycode 15 = 6 asciicircum 6 asciicircum +keycode 16 = 7 ampersand 7 ampersand +keycode 17 = 8 asterisk 8 asterisk +keycode 18 = 9 parenleft 9 parenleft +keycode 19 = 0 parenright 0 parenright +keycode 20 = minus underscore minus underscore +keycode 21 = equal plus equal plus +keycode 22 = BackSpace BackSpace BackSpace BackSpace +keycode 23 = Tab ISO_Left_Tab Tab ISO_Left_Tab +keycode 24 = q Q q Q +keycode 25 = w W w W +keycode 26 = e E e E +keycode 27 = r R r R +keycode 28 = t T t T +keycode 29 = y Y y Y +keycode 30 = u U u U +keycode 31 = i I i I +keycode 32 = o O o O +keycode 33 = p P p P +keycode 34 = bracketleft braceleft bracketleft braceleft +keycode 35 = bracketright braceright bracketright braceright +keycode 36 = Return NoSymbol Return +keycode 37 = Control_L NoSymbol Control_L +keycode 38 = a A a A +keycode 39 = s S s S +keycode 40 = d D d D +keycode 41 = f F f F +keycode 42 = g G g G +keycode 43 = h H h H +keycode 44 = j J j J +keycode 45 = k K k K +keycode 46 = l L l L +keycode 47 = semicolon colon semicolon colon +keycode 48 = apostrophe quotedbl apostrophe quotedbl +keycode 49 = grave asciitilde grave asciitilde +keycode 50 = Shift_L NoSymbol Shift_L +keycode 51 = backslash bar backslash bar +keycode 52 = z Z z Z +keycode 53 = x X x X +keycode 54 = c C c C +keycode 55 = v V v V +keycode 56 = b B b B +keycode 57 = n N n N +keycode 58 = m M m M +keycode 59 = comma less comma less +keycode 60 = period greater period greater +keycode 61 = slash question slash question +keycode 62 = Shift_R NoSymbol Shift_R +keycode 63 = KP_Multiply KP_Multiply KP_Multiply KP_Multiply KP_Multiply KP_Multiply XF86ClearGrab +keycode 64 = Alt_L Meta_L Alt_L Meta_L +keycode 65 = space NoSymbol space +keycode 66 = Caps_Lock NoSymbol Caps_Lock +keycode 67 = F1 F1 F1 F1 F1 F1 XF86Switch_VT_1 +keycode 68 = F2 F2 F2 F2 F2 F2 XF86Switch_VT_2 +keycode 69 = F3 F3 F3 F3 F3 F3 XF86Switch_VT_3 +keycode 70 = F4 F4 F4 F4 F4 F4 XF86Switch_VT_4 +keycode 71 = F5 F5 F5 F5 F5 F5 XF86Switch_VT_5 +keycode 72 = F6 F6 F6 F6 F6 F6 XF86Switch_VT_6 +keycode 73 = F7 F7 F7 F7 F7 F7 XF86Switch_VT_7 +keycode 74 = F8 F8 F8 F8 F8 F8 XF86Switch_VT_8 +keycode 75 = F9 F9 F9 F9 F9 F9 XF86Switch_VT_9 +keycode 76 = F10 F10 F10 F10 F10 F10 XF86Switch_VT_10 +keycode 77 = Num_Lock NoSymbol Num_Lock +keycode 78 = Scroll_Lock NoSymbol Scroll_Lock +keycode 79 = KP_Home KP_7 KP_Home KP_7 +keycode 80 = KP_Up KP_8 KP_Up KP_8 +keycode 81 = KP_Prior KP_9 KP_Prior KP_9 +keycode 82 = KP_Subtract KP_Subtract KP_Subtract KP_Subtract KP_Subtract KP_Subtract XF86Prev_VMode +keycode 83 = KP_Left KP_4 KP_Left KP_4 +keycode 84 = KP_Begin KP_5 KP_Begin KP_5 +keycode 85 = KP_Right KP_6 KP_Right KP_6 +keycode 86 = KP_Add KP_Add KP_Add KP_Add KP_Add KP_Add XF86Next_VMode +keycode 87 = KP_End KP_1 KP_End KP_1 +keycode 88 = KP_Down KP_2 KP_Down KP_2 +keycode 89 = KP_Next KP_3 KP_Next KP_3 +keycode 90 = KP_Insert KP_0 KP_Insert KP_0 +keycode 91 = KP_Delete KP_Decimal KP_Delete KP_Decimal +keycode 92 = ISO_Level3_Shift NoSymbol ISO_Level3_Shift +keycode 93 = +keycode 94 = less greater less greater bar brokenbar bar +keycode 95 = F11 F11 F11 F11 F11 F11 XF86Switch_VT_11 +keycode 96 = F12 F12 F12 F12 F12 F12 XF86Switch_VT_12 +keycode 97 = +keycode 98 = Katakana NoSymbol Katakana +keycode 99 = Hiragana NoSymbol Hiragana +keycode 100 = Henkan_Mode NoSymbol Henkan_Mode +keycode 101 = Hiragana_Katakana NoSymbol Hiragana_Katakana +keycode 102 = Muhenkan NoSymbol Muhenkan +keycode 103 = +keycode 104 = KP_Enter NoSymbol KP_Enter +keycode 105 = Control_R NoSymbol Control_R +keycode 106 = KP_Divide KP_Divide KP_Divide KP_Divide KP_Divide KP_Divide XF86Ungrab +keycode 107 = Print Sys_Req Print Sys_Req +keycode 108 = Alt_R Meta_R Alt_R Meta_R +keycode 109 = Linefeed NoSymbol Linefeed +keycode 110 = Home NoSymbol Home +keycode 111 = Up NoSymbol Up +keycode 112 = Prior NoSymbol Prior +keycode 113 = Left NoSymbol Left +keycode 114 = Right NoSymbol Right +keycode 115 = End NoSymbol End +keycode 116 = Down NoSymbol Down +keycode 117 = Next NoSymbol Next +keycode 118 = Insert NoSymbol Insert +keycode 119 = Delete NoSymbol Delete +keycode 120 = +keycode 121 = XF86AudioMute NoSymbol XF86AudioMute +keycode 122 = XF86AudioLowerVolume NoSymbol XF86AudioLowerVolume +keycode 123 = XF86AudioRaiseVolume NoSymbol XF86AudioRaiseVolume +keycode 124 = XF86PowerOff NoSymbol XF86PowerOff +keycode 125 = KP_Equal NoSymbol KP_Equal +keycode 126 = plusminus NoSymbol plusminus +keycode 127 = Multi_key Multi_key Multi_key Multi_key +keycode 128 = XF86LaunchA NoSymbol XF86LaunchA +keycode 129 = KP_Decimal KP_Decimal KP_Decimal KP_Decimal +keycode 130 = Hangul NoSymbol Hangul +keycode 131 = Hangul_Hanja NoSymbol Hangul_Hanja +keycode 132 = +keycode 133 = Super_L NoSymbol Super_L +keycode 134 = Super_R NoSymbol Super_R +keycode 135 = Menu NoSymbol Menu +keycode 136 = Cancel NoSymbol Cancel +keycode 137 = Redo NoSymbol Redo +keycode 138 = SunProps NoSymbol SunProps +keycode 139 = Undo NoSymbol Undo +keycode 140 = SunFront NoSymbol SunFront +keycode 141 = XF86Copy NoSymbol XF86Copy +keycode 142 = XF86Open NoSymbol XF86Open +keycode 143 = XF86Paste NoSymbol XF86Paste +keycode 144 = Find NoSymbol Find +keycode 145 = XF86Cut NoSymbol XF86Cut +keycode 146 = Help NoSymbol Help +keycode 147 = XF86MenuKB NoSymbol XF86MenuKB +keycode 148 = XF86Calculator NoSymbol XF86Calculator +keycode 149 = +keycode 150 = XF86Sleep NoSymbol XF86Sleep +keycode 151 = XF86WakeUp NoSymbol XF86WakeUp +keycode 152 = XF86Explorer NoSymbol XF86Explorer +keycode 153 = XF86Send NoSymbol XF86Send +keycode 154 = +keycode 155 = XF86Xfer NoSymbol XF86Xfer +keycode 156 = XF86Launch1 NoSymbol XF86Launch1 +keycode 157 = XF86Launch2 NoSymbol XF86Launch2 +keycode 158 = XF86WWW NoSymbol XF86WWW +keycode 159 = XF86DOS NoSymbol XF86DOS +keycode 160 = XF86ScreenSaver NoSymbol XF86ScreenSaver +keycode 161 = XF86RotateWindows NoSymbol XF86RotateWindows +keycode 162 = XF86TaskPane NoSymbol XF86TaskPane +keycode 163 = XF86Mail NoSymbol XF86Mail +keycode 164 = XF86Favorites NoSymbol XF86Favorites +keycode 165 = XF86MyComputer NoSymbol XF86MyComputer +keycode 166 = XF86Back NoSymbol XF86Back +keycode 167 = XF86Forward NoSymbol XF86Forward +keycode 168 = +keycode 169 = XF86Eject NoSymbol XF86Eject +keycode 170 = XF86Eject XF86Eject XF86Eject XF86Eject +keycode 171 = XF86AudioNext NoSymbol XF86AudioNext +keycode 172 = XF86AudioPlay XF86AudioPause XF86AudioPlay XF86AudioPause +keycode 173 = XF86AudioPrev NoSymbol XF86AudioPrev +keycode 174 = XF86AudioStop XF86Eject XF86AudioStop XF86Eject +keycode 175 = XF86AudioRecord NoSymbol XF86AudioRecord +keycode 176 = XF86AudioRewind NoSymbol XF86AudioRewind +keycode 177 = XF86Phone NoSymbol XF86Phone +keycode 178 = +keycode 179 = XF86Tools NoSymbol XF86Tools +keycode 180 = XF86HomePage NoSymbol XF86HomePage +keycode 181 = XF86Reload NoSymbol XF86Reload +keycode 182 = XF86Close NoSymbol XF86Close +keycode 183 = +keycode 184 = +keycode 185 = XF86ScrollUp NoSymbol XF86ScrollUp +keycode 186 = XF86ScrollDown NoSymbol XF86ScrollDown +keycode 187 = parenleft NoSymbol parenleft +keycode 188 = parenright NoSymbol parenright +keycode 189 = XF86New NoSymbol XF86New +keycode 190 = Redo NoSymbol Redo +keycode 191 = XF86Tools NoSymbol XF86Tools +keycode 192 = XF86Launch5 NoSymbol XF86Launch5 +keycode 193 = XF86Launch6 NoSymbol XF86Launch6 +keycode 194 = XF86Launch7 NoSymbol XF86Launch7 +keycode 195 = XF86Launch8 NoSymbol XF86Launch8 +keycode 196 = XF86Launch9 NoSymbol XF86Launch9 +keycode 197 = +keycode 198 = XF86AudioMicMute NoSymbol XF86AudioMicMute +keycode 199 = XF86TouchpadToggle NoSymbol XF86TouchpadToggle +keycode 200 = XF86TouchpadOn NoSymbol XF86TouchpadOn +keycode 201 = XF86TouchpadOff NoSymbol XF86TouchpadOff +keycode 202 = +keycode 203 = Mode_switch NoSymbol Mode_switch +keycode 204 = NoSymbol Alt_L NoSymbol Alt_L +keycode 205 = NoSymbol Meta_L NoSymbol Meta_L +keycode 206 = NoSymbol Super_L NoSymbol Super_L +keycode 207 = NoSymbol Hyper_L NoSymbol Hyper_L +keycode 208 = XF86AudioPlay NoSymbol XF86AudioPlay +keycode 209 = XF86AudioPause NoSymbol XF86AudioPause +keycode 210 = XF86Launch3 NoSymbol XF86Launch3 +keycode 211 = XF86Launch4 NoSymbol XF86Launch4 +keycode 212 = XF86LaunchB NoSymbol XF86LaunchB +keycode 213 = XF86Suspend NoSymbol XF86Suspend +keycode 214 = XF86Close NoSymbol XF86Close +keycode 215 = XF86AudioPlay NoSymbol XF86AudioPlay +keycode 216 = XF86AudioForward NoSymbol XF86AudioForward +keycode 217 = +keycode 218 = Print NoSymbol Print +keycode 219 = +keycode 220 = XF86WebCam NoSymbol XF86WebCam +keycode 221 = +keycode 222 = +keycode 223 = XF86Mail NoSymbol XF86Mail +keycode 224 = XF86Messenger NoSymbol XF86Messenger +keycode 225 = XF86Search NoSymbol XF86Search +keycode 226 = XF86Go NoSymbol XF86Go +keycode 227 = XF86Finance NoSymbol XF86Finance +keycode 228 = XF86Game NoSymbol XF86Game +keycode 229 = XF86Shop NoSymbol XF86Shop +keycode 230 = +keycode 231 = Cancel NoSymbol Cancel +keycode 232 = XF86MonBrightnessDown NoSymbol XF86MonBrightnessDown +keycode 233 = XF86MonBrightnessUp NoSymbol XF86MonBrightnessUp +keycode 234 = XF86AudioMedia NoSymbol XF86AudioMedia +keycode 235 = XF86Display NoSymbol XF86Display +keycode 236 = XF86KbdLightOnOff NoSymbol XF86KbdLightOnOff +keycode 237 = XF86KbdBrightnessDown NoSymbol XF86KbdBrightnessDown +keycode 238 = XF86KbdBrightnessUp NoSymbol XF86KbdBrightnessUp +keycode 239 = XF86Send NoSymbol XF86Send +keycode 240 = XF86Reply NoSymbol XF86Reply +keycode 241 = XF86MailForward NoSymbol XF86MailForward +keycode 242 = XF86Save NoSymbol XF86Save +keycode 243 = XF86Documents NoSymbol XF86Documents +keycode 244 = XF86Battery NoSymbol XF86Battery +keycode 245 = XF86Bluetooth NoSymbol XF86Bluetooth +keycode 246 = XF86WLAN NoSymbol XF86WLAN +keycode 247 = +keycode 248 = +keycode 249 = +keycode 250 = +keycode 251 = +keycode 252 = +keycode 253 = +keycode 254 = +keycode 255 = diff --git a/.Xresources b/.Xresources new file mode 100644 index 0000000..a7ed7fe --- /dev/null +++ b/.Xresources @@ -0,0 +1,312 @@ +! Compile xft: Attempt to find a visual with the given bit depth; option -depth. +URxvt*depth: 32 + +! Compile xft: Turn on/off double-buffering for xft (default enabled). On some card/driver combination enabling it slightly decreases performance, on most it +URxvt*buffered: on + +! Create the window with the specified X window geometry [default 80x24]; option -geometry. +! URxvt*geometry: geom + +! Use the specified colour as the windows background colour [default White]; option -bg. +URxvt*background: #1C1C1C + +! Use the specified colour as the windows foreground colour [default Black]; option -fg. +URxvt*foreground: #FEFEFE + +! Use the specified colour for the colour value n, where 0-7 corresponds to low-intensity (normal) colours and 8-15 corresponds to high-intensity (bold = bright +! black +URxvt*color0: #2E3436 +! light black +URxvt*color8: #555753 +! red +URxvt*color1: #E6562E +! light red +URxvt*color9: #FA7955 +! green +URxvt*color2: #59992F +! light green +URxvt*color10: #8AE234 +! yellow +URxvt*color3: #D4A831 +! light yellow +URxvt*color11: #FCE381 +! blue +URxvt*color4: #5D8CB0 +! light blue +URxvt*color12: #9BBBCF +! magenta +URxvt*color5: #9F79B8 +! light magenta +URxvt*color13: #D9A1E3 +! cyan +URxvt*color6: #06989A +! light cyan +URxvt*color14: #61E2E2 +! white +URxvt*color7: #E0E0E0 +! light white +URxvt*color15: #FEFEFE + +! +! URxvt*colorBD: colour + +! Use the specified colour to display bold or italic characters when the foreground colour is the default. If font styles are not available (Compile styles) and +! URxvt*colorIT: colour + +! Use the specified colour to display underlined characters when the foreground colour is the default. +! URxvt*colorUL: colour + +! If set, use the specified colour as the colour for the underline itself. If unset, use the foreground colour. +! URxvt*underlineColor: colour + +! If set, use the specified colour as the background for highlighted characters. If unset, use reverse video. +! URxvt*highlightColor: colour + +! If set and highlightColor is set, use the specified colour as the foreground for highlighted characters. +! URxvt*highlightTextColor: colour + +! Use the specified colour for the cursor. The default is to use the foreground colour; option -cr. +! URxvt*cursorColor: colour + +! Use the specified colour for the colour of the cursor text. For this to take effect, cursorColor must also be specified. The default is to use the background +! URxvt*cursorColor2: colour + +! True: simulate reverse video by foreground and background colours; option -rv. False: regular screen colours [default]; option +rv. See note in COLOURS AND +! URxvt*reverseVideo: boolean + +! True: specify that jump scrolling should be used. When receiving lots of lines, urxvt will only scroll once a whole screen height of lines has been read, +! URxvt*jumpScroll: boolean + +! True: (the default) specify that skip scrolling should be used. When receiving lots of lines, urxvt will only scroll once in a while (around 60 times per +! URxvt*skipScroll: boolean + +! Fade the text by the given percentage when focus is lost; option -fade. +! URxvt*fading: number + +! Fade to this colour, when fading is used (see fading:). The default colour is black; option -fadecolor. +! URxvt*fadeColor: colour + +! Set the application icon pixmap; option -icon. +! URxvt*iconFile: file + +! Use the specified colour for the scrollbar [default #B2B2B2]. +! URxvt*scrollColor: colour + +! Use the specified colour for the scrollbars trough area [default #969696]. Only relevant for rxvt (non XTerm/NeXT) scrollbar. +! URxvt*troughColor: colour + +! The colour of the border around the text area and between the scrollbar and the text. +! URxvt*borderColor: colour + +! Select the fonts to be used. This is a comma separated list of font names that are checked in order when trying to find glyphs for characters. The first font +URxvt*font: xft:Tamsyn:size=11 + +! URxvt*boldFont: fontlist + +! +! URxvt*italicFont: fontlist + +! The font list to use for displaying bold, italic or bold italic characters, respectively. +! URxvt*boldItalicFont: fontlist + +! When font styles are not enabled, or this option is enabled (True, option -is, the default), bold/blink font styles imply high intensity foreground/background +! URxvt*intensityStyles: boolean + +! Set window title string, the default title is the command-line specified after the -e option, if any, otherwise the application name; option -title. +! URxvt*title: string + +! Set the name used to label the windows icon or displayed in an icon manager window, it also sets the windows title unless it is explicitly set; option -n. +! URxvt*iconName: string + +! True: de-iconify (map) on receipt of a bell character. False: no de-iconify (map) on receipt of a bell character [default]. +! URxvt*mapAlert: boolean + +! True: set the urgency hint for the wm on receipt of a bell character. False: do not set the urgency hint [default]. +! URxvt*urgentOnBell: boolean + +! True: use visual bell on receipt of a bell character; option -vb. False: no visual bell [default]; option +vb. +! URxvt*visualBell: boolean + +! True: start as a login shell by prepending a - to argv[0] of the shell; option -ls. False: start as a normal sub-shell [default]; option +ls. +! URxvt*loginShell: boolean + +! True: inhibit writing record into the system log file utmp; option -ut. False: write record into the system log file utmp [default]; option +ut. +! URxvt*utmpInhibit: boolean + +! Specify a command pipe for vt100 printer [default lpr(1)]. Use Print to initiate a screen dump to the printer and Ctrl-Print or Shift-Print to include the +! URxvt*print-pipe: string + +! Set scrollbar style to rxvt, plain, next or xterm. plain is the authors favourite. +! URxvt*scrollstyle: mode + +! Set the scrollbar width in pixels. +! URxvt*thickness: number + +! True: enable the scrollbar [default]; option -sb. False: disable the scrollbar; option +sb. +URxvt*scrollBar: false + +! True: place the scrollbar on the right of the window; option -sr. False: place the scrollbar on the left of the window; option +sr. +! URxvt*scrollBar_right: boolean + +! True: display an rxvt scrollbar without a trough; option -st. False: display an rxvt scrollbar with a trough; option +st. +! URxvt*scrollBar_floating: boolean + +! Align the top, bottom or centre [default] of the scrollbar thumb with the pointer on middle button press/drag. +! URxvt*scrollBar_align: mode + +! True: scroll to bottom when tty receives output; option -si. False: do not scroll to bottom when tty receives output; option +si. +! URxvt*scrollTtyOutput: boolean + +! True: scroll with scrollback buffer when tty receives new lines (i.e. try to show the same lines) and scrollTtyOutput is False; option -sw. False: do not +! URxvt*scrollWithBuffer: boolean + +! True: scroll to bottom when a non-special key is pressed. Special keys are those which are intercepted by rxvt-unicode for special handling and are not passed +! URxvt*scrollTtyKeypress: boolean + +! Save number lines in the scrollback buffer [default 64]. This resource is limited on most machines to 65535; option -sl. +! URxvt*saveLines: number + +! Internal border of number pixels. This resource is limited to 100; option -b. +! URxvt*internalBorder: number + +! External border of number pixels. This resource is limited to 100; option -w, -bw, -borderwidth. +! URxvt*externalBorder: number + +! Set MWM hints to request a borderless window, i.e. if honoured by the WM, the rxvt-unicode window will not have window decorations; option -bl. +! URxvt*borderLess: boolean + +! Compile frills: Disable the usage of the built-in block graphics/line drawing characters and just rely on what the specified fonts provide. Use this if you +! URxvt*skipBuiltinGlyphs: boolean + +! Specifies the terminal type name to be set in the TERM environment variable; option -tn. +! URxvt*termName: termname + +! Specifies number of lines (pixel height) to insert between each row of the display [default 0]; option -lsp. +! URxvt*lineSpace: number + +! True: handle Meta (Alt) + keypress to set the 8th bit. False: handle Meta (Alt) + keypress as an escape prefix [default]. +! URxvt*meta8: boolean + +! True: the mouse wheel scrolls a page full. False: the mouse wheel scrolls five lines [default]. +! URxvt*mouseWheelScrollPage: boolean + +! True: store tabs as wide characters. False: interpret tabs as cursor movement only; option "-ptab". +! URxvt*pastableTabs: boolean + +! True: blink the cursor. False: do not blink the cursor [default]; option -bc. +URxvt*cursorBlink: true + +! True: Make the cursor underlined. False: Make the cursor a box [default]; option -uc. +! URxvt*cursorUnderline: boolean + +! True: blank the pointer when a key is pressed or after a set number of seconds of inactivity. False: the pointer is always visible [default]. +! URxvt*pointerBlank: boolean + +! Mouse pointer foreground colour. +! URxvt*pointerColor: colour + +! Mouse pointer background colour. +! URxvt*pointerColor2: colour + +! Specifies number of seconds before blanking the pointer [default 2]. Use a large number (e.g. 987654321) to effectively disable the timeout. +! URxvt*pointerBlankDelay: number + +! The string to send when the backspace key is pressed. If set to DEC or unset it will send Delete (code 127) or, with control, Backspace (code 8) - which can +! URxvt*backspacekey: string + +! The string to send when the delete key (not the keypad delete key) is pressed. If unset it will send the sequence traditionally associated with the Execute +! URxvt*deletekey: string + +! The characters used as delimiters for double-click word selection (whitespace delimiting is added automatically if resource is given). +! URxvt*cutchars: string + +! +! URxvt*{|} + +! OverTheSpot, OffTheSpot, Root; option -pt. +URxvt*preeditType: OverTheSpot + +! name of inputMethod to use; option -im. +URxvt*inputMethod: ibus + +! The locale to use for opening the IM. You can use an "LC_CTYPE" of e.g. "de_DE.UTF-8" for normal text processing but "ja_JP.EUC-JP" for the input extension +! URxvt*imLocale: name + +! Specify the font-set used for XIM styles "OverTheSpot" or "OffTheSpot". It must be a standard X font set (XLFD patterns separated by commas), i.e. its not in +! URxvt*imFont: fontset + +! Change the meaning of triple-click selection with the left mouse button. Instead of selecting a full line it will extend the selection to the end of the +! URxvt*tripleclickwords: boolean + +! Enables "insecure" mode. Rxvt-unicode offers some escape sequences that echo arbitrary strings like the icon name or the locale. This could be abused if +! URxvt*insecure: boolean + +! Set the key to be interpreted as the Meta key to: alt, meta, hyper, super, mod1, mod2, mod3, mod4, mod5; option -mod. +! URxvt*modifier: modifier + +! Specify the reply rxvt-unicode sends to the shell when an ENQ (control-E) character is passed through. It may contain escape values as described in the entry +! URxvt*answerbackString: string + +! Turn on/off secondary screen (default enabled). +! URxvt*secondaryScreen: boolean + +! Turn on/off secondary screen scroll (default enabled). If this option is enabled, scrolls on the secondary screen will change the scrollback buffer and, when +! URxvt*secondaryScroll: boolean + +! Turn on/off hold window after exit support. If enabled, urxvt will not immediately destroy its window when the program executed within it exits. Instead, it +! URxvt*hold: boolean + +! Sets the working directory for the shell (or the command specified via -e). The path must be an absolute path and it must exist for urxvt to start. If it +! URxvt*chdir: path + +! Compile frills: Associate string with keysym sym. The intervening resource name keysym. cannot be omitted. +! URxvt*keysym.sym: string + +URxvt*perl-ext-common: default,clipboard,url-select,keyboard-select,vtwheel,matcher,font-size +URxvt*clipboard.copycmd: xclip -i -selection clipboard +URxvt*clipboard.pastecmd: xclip -o -selection clipboard +URxvt.clipboard.autocopy: true +URxvt*url-select-launcher: firefox +URxvt*url-select-underline: true +URxvt*keysym.M-u: perl:url-select:select_next +URxvt*keysym.M-Escape: perl:keyboard-select:activate +URxvt*keysym.M-s: perl:keyboard-select:search +URxvt*keysym.C-Up: perl:font-size:increase +URxvt*keysym.C-Down: perl:font-size:decrease +URxvt*keysym.M-c: perl:clipboard:copy +URxvt*keysym.M-v: perl:clipboard:paste +URxvt*keysym.M-C-v: perl:clipboard:paste_escaped +! Comma-separated list(s) of perl extension scripts (default: "default") to use in this terminal instance; option -pe. +! URxvt*perl-ext: string + +! Perl code to be evaluated when all extensions have been registered. See the urxvtperl(3) manpage. +! URxvt*perl-eval: string + +! Colon-separated list of additional directories that hold extension scripts. When looking for perl extensions, urxvt will first look in these directories, then +! URxvt*perl-lib: path + +! Additional selection patterns, see the urxvtperl(3) manpage for details. +! URxvt*selection.pattern-idx: perl-regex + +! Selection auto-transform patterns, see the urxvtperl(3) manpage for details. +! URxvt*selection-autotransform.idx: perl-transform + +! Sets the hotkey that starts the incremental scrollback buffer search (default: "M-s"). +! URxvt*searchable-scrollback: keysym + +! Specifies the program to be started with a URL argument. Used by the "selection-popup" and "matcher" perl extensions. +URxvt*url*launcher: firefox + +! Compile frills: Sets the WM_TRANSIENT_FOR property to the given window id. +! URxvt*transient-for: windowid + +! Compile frills: Sets override-redirect for the terminal window, making it almost invisible to window managers; option -override-redirect. +! URxvt*override-redirect: boolean + +! Turn on/off ISO 14755 (default enabled). +URxvt*iso14755: false + +! Turn on/off ISO 14755 5.2 mode (default enabled). +! URxvt*iso14755_52: boolean + + @@ -37,3 +37,6 @@ esac export EDITOR="vim" export PAGER="less -R" +export GTK_IM_MODULE="ibus" +export XMODIFIERS="@im=ibus" +export QT_IM_MODULE="ibus" diff --git a/.compton.conf b/.compton.conf index 2ae28b7..5c5c32b 100644 --- a/.compton.conf +++ b/.compton.conf @@ -1,5 +1,5 @@ # Shadow -shadow = true +shadow = false no-dock-shadow = false no-dnd-shadow = true clear-shadow = true diff --git a/.config/awesome/rc.lua b/.config/awesome/rc.lua deleted file mode 100644 index b71ec61..0000000 --- a/.config/awesome/rc.lua +++ /dev/null @@ -1,573 +0,0 @@ --- Standard awesome library -local gears = require("gears") -local awful = require("awful") -awful.rules = require("awful.rules") -require("awful.autofocus") --- Widget and layout library -local wibox = require("wibox") --- Theme handling library -local beautiful = require("beautiful") --- Notification library -local naughty = require("naughty") -local menubar = require("menubar") --- Vicious widget library -local vicious = require("vicious") --- lain layouts n stuff -local lain = require("lain") - --- {{{ Error handling --- Check if awesome encountered an error during startup and fell back to --- another config (This code will only ever execute for the fallback config) -if awesome.startup_errors then - naughty.notify({ preset = naughty.config.presets.critical, - title = "Oops, there were errors during startup!", - text = awesome.startup_errors }) -end - --- Handle runtime errors after startup -do - local in_error = false - awesome.connect_signal("debug::error", function (err) - -- Make sure we don't go into an endless error loop - if in_error then return end - in_error = true - - naughty.notify({ preset = naughty.config.presets.critical, - title = "Oops, an error happened!", - text = err }) - in_error = false - end) -end --- }}} - --- {{{ Variable definitions --- Themes define colours, icons, and wallpapers -beautiful.init("/home/shmibs/.config/awesome/themes/current/theme.lua") - --- This is used later as the default terminal and editor to run. -terminal = "mate-terminal" editor = "vim " - --- Default modkey. --- Usually, Mod4 is the key with a logo between Control and Alt. --- If you do not like this or do not have such a key, --- I suggest you to remap Mod4 to another key using xmodmap or other tools. --- However, you can use another modifier like Mod1, but it may interact with others. -modkey = "Mod4" - --- Table of layouts to cover with awful.layout.inc, order matters. -local layouts = -{ - awful.layout.suit.max, - lain.layout.uselessfair, -} --- }}} - --- {{{ Wallpaper -if beautiful.wallpaper then - for s = 1, screen.count() do - gears.wallpaper.maximized(beautiful.wallpaper, s, false) - end -end --- }}} - --- {{{ Tags --- Define a tag table which hold all screen tags. -tags = {} -for s = 1, screen.count() do - -- Each screen has its own tag table. - tags[s] = awful.tag({ 1, 2, 3, 4, 5 }, s, layouts[1]) -end --- }}} - --- Menubar configuration -menubar.utils.terminal = terminal -- Set the terminal for applications that require it --- }}} - --- {{{ Wibox --- Create a textclock widget -mytextclock = awful.widget.textclock(" %a %b %d, %H:%M:%S ",1) - --- Create two wiboxen for each screen and add them -mywibox = {} -mypromptbox = {} -mylayoutbox = {} -mytaglist = {} -mytaglist.buttons = awful.util.table.join( - awful.button({ }, 1, awful.tag.viewonly), - awful.button({ modkey }, 1, awful.client.movetotag), - awful.button({ }, 3, awful.tag.viewtoggle), - awful.button({ modkey }, 3, awful.client.toggletag), - awful.button({ }, 5, function(t) awful.tag.viewnext(awful.tag.getscreen(t)) end), - awful.button({ }, 4, function(t) awful.tag.viewprev(awful.tag.getscreen(t)) end) - ) -mytasklist = {} -mytasklist.buttons = awful.util.table.join( - awful.button({ }, 1, function (c) - if c == client.focus then - -- disable minimisation - --~ c.minimized = true - else - -- Without this, the following - -- :isvisible() makes no sense - c.minimized = false - if not c:isvisible() then - awful.tag.viewonly(c:tags()[1]) - end - -- This will also un-minimize - -- the client, if needed - client.focus = c - c:raise() - end - end), - -- right click closes - awful.button({ }, 3, function (c) - c:kill() - --~ if instance then - --~ instance:hide() - --~ instance = nil - --~ else - --~ instance = awful.menu.clients({ width=250 }) - --~ end - - end), - awful.button({ }, 5, function () - awful.client.focus.byidx(1) - if client.focus then client.focus:raise() end - end), - awful.button({ }, 4, function () - awful.client.focus.byidx(-1) - if client.focus then client.focus:raise() end - end)) - -mywibox2 = {} -myssid = "N/A" - --- Kernel -oswidget = wibox.widget.textbox() -vicious.register(oswidget, vicious.widgets.os, " $2", 600) --- top process -procwidget = wibox.widget.textbox() -proctimer = timer{ timeout = 0 } -proctimer:connect_signal("timeout", function() - proctimer:stop() - procwidget:set_text(" | " .. awful.util.pread("ps -e --no-header --sort -%cpu -o comm | head -1")) - proctimer.timeout = 6 - proctimer:start() -end) -proctimer:start() --- CPU TEMP -ctempwidget = wibox.widget.textbox() -vicious.register(ctempwidget, vicious.widgets.thermal, " CPU ($1° ", 4, "thermal_zone2") --- CPU -cpuwidget = wibox.widget.textbox() -vicious.register(cpuwidget, vicious.widgets.cpu, "$2% $3% $4% $5%) |", 4) --- RAM -memwidget = wibox.widget.textbox() -vicious.register(memwidget, vicious.widgets.mem, " RAM ($2 MB / $3 MB) | Swap ($6 MB / $7 MB)", 10) --- ssid -wifiwidget = wibox.widget.textbox() -vicious.register(wifiwidget, vicious.widgets.wifi, - function (widget, args) - myssid = args["{ssid}"] - return '(' .. args["{ssid}"] .. ') ' - end, - 3, "wlp7s0") --- speed ↑ ↓ -netwidget = wibox.widget.textbox() -vicious.register(netwidget, vicious.widgets.net, - function (widget, args) - --local down = tonumber(args["{enp3s0 down_kb}"]) + tonumber(args["{wpl7s0 down_kb}"]) - --local up = tonumber(args["{enp3s0 up_kb}"]) + tonumber(args["{wpl7s0 up_kb}"]) - - if myssid == "N/A" then - return '[ ↓' .. args["{enp3s0 down_kb}"] .. 'KiB, ↑' .. args["{enp3s0 up_kb}"] .. 'KiB ] ' - else - return '(' .. myssid .. ') [ ↓' .. args["{wlp7s0 down_kb}"] .. 'KiB, ↑' .. args["{wlp7s0 up_kb}"] .. 'KiB ] ' - end - end - ) - ---~ -- Weather ---~ weatherwidget = wibox.widget.textbox() ---~ vicious.register(weatherwidget, vicious.widgets.weather, "$1") - -for s = 1, screen.count() do - -- Create a promptbox for each screen - mypromptbox[s] = awful.widget.prompt() - -- Create an imagebox widget which will contains an icon indicating which layout we're using. - -- We need one layoutbox per screen. - mylayoutbox[s] = awful.widget.layoutbox(s) - mylayoutbox[s]:buttons(awful.util.table.join( - awful.button({ }, 1, function () awful.layout.inc(layouts, 1) end), - awful.button({ }, 3, function () awful.layout.inc(layouts, -1) end), - awful.button({ }, 4, function () awful.layout.inc(layouts, 1) end), - awful.button({ }, 5, function () awful.layout.inc(layouts, -1) end))) - -- Create a taglist widget - mytaglist[s] = awful.widget.taglist(s, awful.widget.taglist.filter.all, mytaglist.buttons) - - -- Create a tasklist widget - mytasklist[s] = awful.widget.tasklist(s, awful.widget.tasklist.filter.currenttags, mytasklist.buttons) - - -- Create the wibox - mywibox[s] = awful.wibox({ position = "top", screen = s, class = "Wibox" }) - if s == 1 then mywibox2 = awful.wibox({position = "bottom", screen = 1, class = "Wibox" }) end - - -- Widgets that are aligned to the left - local left_layout = wibox.layout.fixed.horizontal() - local left_layout2 = wibox.layout.fixed.horizontal() - left_layout:add(mytaglist[s]) - left_layout:add(mypromptbox[s]) - if s == 1 then - left_layout2:add(oswidget) - left_layout2:add(procwidget) - end - - -- Widgets that are aligned to the right - local right_layout = wibox.layout.fixed.horizontal() - local right_layout2 = wibox.layout.fixed.horizontal() - if s == 1 then right_layout:add(wibox.widget.systray()) end - right_layout:add(mytextclock) - right_layout:add(mylayoutbox[s]) - if s == 1 then - --~ right_layout2:add(wifiwidget) - right_layout2:add(netwidget) - end - - -- Widgets that are aligned to the bottom centre - local middle_layout2 = wibox.layout.fixed.horizontal() - if s == 1 then - middle_layout2:add(ctempwidget) - middle_layout2:add(cpuwidget) - middle_layout2:add(memwidget) - end - - -- Now bring it all together (with the tasklist in the middle) - local layout = wibox.layout.align.horizontal() - local layout2 = wibox.layout.align.horizontal() - layout:set_left(left_layout) - layout:set_middle(mytasklist[s]) - layout:set_right(right_layout) - if s == 1 then - layout2:set_left(left_layout2) - layout2:set_middle(middle_layout2) - layout2:set_right(right_layout2) - end - - mywibox[s]:set_widget(layout) - if s == 1 then mywibox2:set_widget(layout2) end -end --- }}} - --- {{{ Mouse bindings -root.buttons(awful.util.table.join( - awful.button({ }, 5, awful.tag.viewnext), - awful.button({ }, 4, awful.tag.viewprev) -)) --- }}} - --- {{{ Key bindings -globalkeys = awful.util.table.join( - awful.key({ modkey, }, "Escape", awful.tag.history.restore), - - awful.key({ modkey, }, "a", - function () - awful.client.focus.byidx(-1) - if client.focus then client.focus:raise() end - end), - awful.key({ modkey, }, "d", - function () - awful.client.focus.byidx( 1) - if client.focus then client.focus:raise() end - end), - - --~ awful.key({ modkey, }, "Tab", - --~ function () - --~ awful.client.focus.history.previous() - --~ if client.focus then - --~ client.focus:raise() - --~ end - --~ end), - - -- power button - awful.key({ }, "XF86PowerOff", function () awful.util.spawn_with_shell("mate-session-save --shutdown-dialog") end), - - -- banshee commands - awful.key({ modkey, "Shift" }, "Up", function () awful.util.spawn_with_shell("banshee --show") end), - awful.key({ modkey, "Shift" }, "Down", function () awful.util.spawn_with_shell("banshee --hide") end), - awful.key({ modkey, }, "Left", function () awful.util.spawn_with_shell("banshee --restart-or-previous") end), - awful.key({ modkey, }, "Right", function () awful.util.spawn_with_shell("banshee --next") end), - awful.key({ modkey, }, "Down", function () awful.util.spawn_with_shell("banshee --toggle-playing") end), - - -- Standard program - awful.key({ modkey, }, "Return", function () awful.util.spawn_with_shell(terminal) end), - awful.key({ modkey, "Shift" }, "f", function () awful.util.spawn_with_shell("firefox") end), - awful.key({ modkey, "Shift" }, "d", function () awful.util.spawn_with_shell("/home/shmibs/games/desura/desura") end), - awful.key({ modkey, "Shift" }, "o", function () awful.util.spawn_with_shell("/home/shmibs/stuffs/tor/start-tor-browser") end), - awful.key({ modkey, "Shift" }, "i", function () awful.util.spawn_with_shell("gimp") end), - awful.key({ modkey, "Shift" }, "w", function () awful.util.spawn_with_shell("mathematica") end), - awful.key({ modkey, "Shift" }, "c", function () awful.util.spawn_with_shell("mate-calc") end), - awful.key({ modkey, "Shift" }, "l", function () awful.util.spawn_with_shell("liferea") end), - awful.key({ modkey, "Shift" }, "v", function () awful.util.spawn_with_shell("mate-terminal -e \"vim\"") end), - awful.key({ modkey, "Shift" }, "x", function () awful.util.spawn_with_shell("mcomix") end), - awful.key({ modkey, "Shift" }, "s", function () awful.util.spawn_with_shell("pavucontrol") end), - awful.key({ modkey, "Shift" }, "t", function () awful.util.spawn_with_shell("transmission-gtk") end), - awful.key({ modkey, }, "#19", function () awful.util.spawn_with_shell("dmenu_run -fn \"TI Calc Fonts Clean-8\" -h 16 -nb \"" .. beautiful.bg_normal .. "\" -nf \"" .. beautiful.fg_normal .. "\" -sb \"" .. beautiful.bg_focus .. "\" -sf \"" .. beautiful.fg_focus .. "\"") end), - awful.key({ }, "Print", function () awful.util.spawn_with_shell("mate-screenshot") end), - - -- bindings for quick access to folders - awful.key({modkey, "Shift", "Control" }, "Return" , function () awful.util.spawn_with_shell(terminal .. " -t ranger -e \"ranger /home/shmibs\"") end), - awful.key({modkey, "Shift", "Control" }, "d" , function () awful.util.spawn_with_shell(terminal .. " -t ranger -e \"ranger /home/shmibs/downloads\"") end), - awful.key({modkey, "Shift", "Control" }, "s" , function () awful.util.spawn_with_shell(terminal .. " -t ranger -e \"ranger /home/shmibs/desktop\"") end), - awful.key({modkey, "Shift", "Control" }, "m" , function () awful.util.spawn_with_shell(terminal .. " -t ranger -e \"ranger /home/shmibs/music\"") end), - awful.key({modkey, "Shift", "Control" }, "g" , function () awful.util.spawn_with_shell(terminal .. " -t ranger -e \"ranger /home/shmibs/games\"") end), - awful.key({modkey, "Shift", "Control" }, "p" , function () awful.util.spawn_with_shell(terminal .. " -t ranger -e \"ranger /home/shmibs/projects\"") end), - awful.key({modkey, "Shift", "Control" }, "r" , function () awful.util.spawn_with_shell(terminal .. " -t ranger -e \"ranger /home/shmibs/romz\"") end), - awful.key({modkey, "Shift", "Control" }, "c" , function () awful.util.spawn_with_shell(terminal .. " -t ranger -e \"ranger /home/shmibs/comics\"") end), - awful.key({modkey, "Shift", "Control" }, "k" , function () awful.util.spawn_with_shell(terminal .. " -t ranger -e \"ranger /home/shmibs/disks\"") end), - awful.key({modkey, "Shift", "Control" }, "i" , function () awful.util.spawn_with_shell(terminal .. " -t ranger -e \"ranger /home/shmibs/images\"") end), - awful.key({modkey, "Shift", "Control" }, "b" , function () awful.util.spawn_with_shell(terminal .. " -t ranger -e \"ranger /home/shmibs/backdrops\"") end), - awful.key({modkey, "Shift", "Control" }, "t" , function () awful.util.spawn_with_shell(terminal .. " -t ranger -e \"ranger /home/shmibs/thcool\"") end), - awful.key({modkey, "Shift", "Control" }, "v" , function () awful.util.spawn_with_shell(terminal .. " -t ranger -e \"ranger /home/shmibs/videos\"") end), - - -- focus and swap by direction. - awful.key({ modkey, }, "k", function () awful.client.focus.bydirection( "up" ) - if client.focus then client.focus:raise() end - end), - awful.key({ modkey, }, "j", function () awful.client.focus.bydirection( "down" ) - if client.focus then client.focus:raise() end - end), - awful.key({ modkey, }, "h", function () awful.client.focus.bydirection( "left" ) - if client.focus then client.focus:raise() end - end), - awful.key({ modkey, }, "l", function () awful.client.focus.bydirection( "right" ) - if client.focus then client.focus:raise() end - end), - awful.key({ modkey, "Control" }, "k", function () awful.client.swap.bydirection( "up" ) end), - awful.key({ modkey, "Control" }, "j", function () awful.client.swap.bydirection( "down" ) end), - awful.key({ modkey, "Control" }, "h", function () awful.client.swap.bydirection( "left" ) end), - awful.key({ modkey, "Control" }, "l", function () awful.client.swap.bydirection( "right" ) end), - - -- switch between screens - awful.key({ modkey, }, "s", function() - awful.screen.focus_relative(1) - end), - - -- switch between window layouts - awful.key({ modkey, }, "space", function () - awful.layout.inc(layouts, 1) - end), - awful.key({ modkey, "Shift" }, "space", function () - awful.layout.inc(layouts, -1) - end), - -- restart - awful.key({ modkey, "Control" }, "r", awesome.restart) -) - -clientkeys = awful.util.table.join( - -- rotate the screen of the current client - awful.key({ modkey, "Control" }, "s", - function(c) - awful.screen.focus_relative(1) - awful.client.movetoscreen(c, mouse.screen) - awful.client.jumpto(c) - end), - - awful.key({ modkey, "Shift" }, "q", - function (c) - if c.type ~= "dock" and c.type ~= "desktop" then - c.fullscreen = not c.fullscreen - end - end), - awful.key({ modkey, }, "e", - function (c) - if c.type ~= "dock" and c.type ~= "desktop" then - if c.class ~= "Ftjerm" then - c:kill() - end - end - end), - awful.key({ modkey, }, "t", - function (c) - if c.type ~= "dock" and c.type ~= "desktop" then - c.ontop = not c.ontop - end - end), - awful.key({ modkey, }, "q", - function (c) - if c.type ~= "dock" and c.type ~= "desktop" then - if c.maximized_horizontal == true or c.maximized_vertical == true then - --~ c.border_width = beautiful.border_width - c.maximized_horizontal = false - c.maximized_vertical = false - else - --~ c.border_width = 0 - c.maximized_horizontal = true - c.maximized_vertical = true - end - end - end) -) - --- Bind all key numbers to tags. --- Be careful: we use keycodes to make it works on any keyboard layout. --- This should map on the top row of your keyboard, usually 1 to 9. -for i = 1, 5 do - globalkeys = awful.util.table.join(globalkeys, - awful.key({ modkey }, "#" .. i + 9, - function () - local screen = mouse.screen - local tag = awful.tag.gettags(screen)[i] - if tag then - awful.tag.viewonly(tag) - end - end), - awful.key({ modkey, "Control" }, "#" .. i + 9, - function () - local tag = awful.tag.gettags(client.focus.screen)[i] - if client.focus and tag then - awful.client.movetotag(tag) - end - end)) -end - -clientbuttons = awful.util.table.join( - awful.button({ }, 1, function (c) - if c.type ~= "dock" and c.type ~= "desktop" then - client.focus = c; - c:raise() - end - end), - awful.button({ "Mod1" }, 1, awful.mouse.client.move), - awful.button({ "Mod1", "Shift" }, 1, awful.mouse.client.resize)) - --- Set keys -root.keys(globalkeys) --- }}} - --- {{{ Rules -awful.rules.rules = { - -- All clients will match this rule. - { rule = { }, - properties = { border_width = beautiful.border_width, - border_color = beautiful.border_normal, - maximized_horizontal = false, - maximized_vertical = false, - focus = awful.client.focus.filter, - keys = clientkeys, - buttons = clientbuttons } }, - { rule = { type = "desktop" }, - properties = { border_width = 0, - sticky = true, - floating = true } }, - { rule = { class = "banshee" }, - properties = { floating = true, - maximized_vertical = true, - maximized_horizontal = true } }, - { rule_any = { type = { "splash" }, name = { "ftjerm", "GSdx" } }, - properties = { border_width = 0, - floating = true, - ontop = true } }, - { rule_any = { type = { "Dialog" }, name = { "plugin-container", "Firefox Preferences", "File Operation Progress" }, class = { "Wine", "M64py", "Pcsx2", "MPlayer", "pinentry", "Gimp", "pavucontrol" } }, - properties = { floating = true } }, - { rule_any = { role = { "gimp-image-window" } }, - properties = { floating = false } } -} --- }}} - --- {{{ Signals - ---~ -- Switch focus to screen upon mouse entry ---~ for s = 1, screen.count() do - --~ screen[s]:connect_signal("mouse::enter", function(s) - --~ screen.focus(s) - --~ client.focus = client.focus.history.get(s) - --~ end) ---~ end - --- Signal function to execute when a new client appears. -client.connect_signal("manage", function (c, startup) - if c.type == "desktop" then - c:unmanage() - else - -- Enable sloppy focus - --~ c:connect_signal("mouse::enter", function(c) - --~ if awful.layout.get(c.screen) ~= awful.layout.suit.magnifier - --~ and awful.client.focus.filter(c) then - --~ client.focus = c - --~ end - --~ end) - - if not startup then - -- Set the windows at the slave, - -- i.e. put it at the end of others instead of setting it master. - -- awful.client.setslave(c) - - -- Put windows in a smart way, only if they does not set an initial position. - if not c.size_hints.user_position and not c.size_hints.program_position then - awful.placement.no_overlap(c) - awful.placement.no_offscreen(c) - end - end - - local titlebars_enabled = false - if titlebars_enabled and (c.type == "normal" or c.type == "dialog") then - -- buttons for the titlebar - local buttons = awful.util.table.join( - awful.button({ }, 1, function() - client.focus = c - c:raise() - awful.mouse.client.move(c) - end), - awful.button({ }, 3, function() - client.focus = c - c:raise() - awful.mouse.client.resize(c) - end) - ) - - -- Widgets that are aligned to the left - local left_layout = wibox.layout.fixed.horizontal() - left_layout:add(awful.titlebar.widget.iconwidget(c)) - left_layout:buttons(buttons) - - -- Widgets that are aligned to the right - local right_layout = wibox.layout.fixed.horizontal() - right_layout:add(awful.titlebar.widget.floatingbutton(c)) - right_layout:add(awful.titlebar.widget.maximizedbutton(c)) - right_layout:add(awful.titlebar.widget.stickybutton(c)) - right_layout:add(awful.titlebar.widget.ontopbutton(c)) - right_layout:add(awful.titlebar.widget.closebutton(c)) - - -- The title goes in the middle - local middle_layout = wibox.layout.flex.horizontal() - local title = awful.titlebar.widget.titlewidget(c) - title:set_align("center") - middle_layout:add(title) - middle_layout:buttons(buttons) - - -- Now bring it all together - local layout = wibox.layout.align.horizontal() - layout:set_left(left_layout) - layout:set_right(right_layout) - layout:set_middle(middle_layout) - - awful.titlebar(c):set_widget(layout) - end - end -end) - -client.connect_signal("focus", function(c) - c:raise() - c.border_color = beautiful.border_focus - c.opacity = 1.0 -end) -client.connect_signal("unfocus", function(c) - c.border_color = beautiful.border_normal - -- Uncomment to make unfocused terminals transparent when not in "max" mode - --if awful.layout.getname(awful.layout.get(mouse.screen)) ~= "max" then - -- if c.class == "Mate-terminal" then - -- c.opacity = 0.8 - -- end - --end -end) --- }}} diff --git a/.config/awesome/themes/current b/.config/awesome/themes/current deleted file mode 120000 index 7403173..0000000 --- a/.config/awesome/themes/current +++ /dev/null @@ -1 +0,0 @@ -hakamichi/
\ No newline at end of file diff --git a/.config/awesome/themes/gits/awesome-icon.png b/.config/awesome/themes/gits/awesome-icon.png Binary files differdeleted file mode 100644 index ec2a22d..0000000 --- a/.config/awesome/themes/gits/awesome-icon.png +++ /dev/null diff --git a/.config/awesome/themes/gits/backdrop.jpg b/.config/awesome/themes/gits/backdrop.jpg Binary files differdeleted file mode 100644 index 15de50b..0000000 --- a/.config/awesome/themes/gits/backdrop.jpg +++ /dev/null diff --git a/.config/awesome/themes/gits/layouts/big/dwindle.png b/.config/awesome/themes/gits/layouts/big/dwindle.png Binary files differdeleted file mode 100644 index df0cbff..0000000 --- a/.config/awesome/themes/gits/layouts/big/dwindle.png +++ /dev/null diff --git a/.config/awesome/themes/gits/layouts/big/fairh.png b/.config/awesome/themes/gits/layouts/big/fairh.png Binary files differdeleted file mode 100644 index bf81e12..0000000 --- a/.config/awesome/themes/gits/layouts/big/fairh.png +++ /dev/null diff --git a/.config/awesome/themes/gits/layouts/big/fairv.png b/.config/awesome/themes/gits/layouts/big/fairv.png Binary files differdeleted file mode 100644 index 06fdde4..0000000 --- a/.config/awesome/themes/gits/layouts/big/fairv.png +++ /dev/null diff --git a/.config/awesome/themes/gits/layouts/big/floating.png b/.config/awesome/themes/gits/layouts/big/floating.png Binary files differdeleted file mode 100644 index 56de86b..0000000 --- a/.config/awesome/themes/gits/layouts/big/floating.png +++ /dev/null diff --git a/.config/awesome/themes/gits/layouts/big/fullscreen.png b/.config/awesome/themes/gits/layouts/big/fullscreen.png Binary files differdeleted file mode 100644 index 9561be8..0000000 --- a/.config/awesome/themes/gits/layouts/big/fullscreen.png +++ /dev/null diff --git a/.config/awesome/themes/gits/layouts/big/magnifier.png b/.config/awesome/themes/gits/layouts/big/magnifier.png Binary files differdeleted file mode 100644 index 8cc1698..0000000 --- a/.config/awesome/themes/gits/layouts/big/magnifier.png +++ /dev/null diff --git a/.config/awesome/themes/gits/layouts/big/max.png b/.config/awesome/themes/gits/layouts/big/max.png Binary files differdeleted file mode 100644 index e6ffd1c..0000000 --- a/.config/awesome/themes/gits/layouts/big/max.png +++ /dev/null diff --git a/.config/awesome/themes/gits/layouts/big/spiral.png b/.config/awesome/themes/gits/layouts/big/spiral.png Binary files differdeleted file mode 100644 index 2bb2751..0000000 --- a/.config/awesome/themes/gits/layouts/big/spiral.png +++ /dev/null diff --git a/.config/awesome/themes/gits/layouts/big/tile.png b/.config/awesome/themes/gits/layouts/big/tile.png Binary files differdeleted file mode 100644 index a3f4435..0000000 --- a/.config/awesome/themes/gits/layouts/big/tile.png +++ /dev/null diff --git a/.config/awesome/themes/gits/layouts/big/tilebottom.png b/.config/awesome/themes/gits/layouts/big/tilebottom.png Binary files differdeleted file mode 100644 index 44742a0..0000000 --- a/.config/awesome/themes/gits/layouts/big/tilebottom.png +++ /dev/null diff --git a/.config/awesome/themes/gits/layouts/big/tileleft.png b/.config/awesome/themes/gits/layouts/big/tileleft.png Binary files differdeleted file mode 100644 index 99220f0..0000000 --- a/.config/awesome/themes/gits/layouts/big/tileleft.png +++ /dev/null diff --git a/.config/awesome/themes/gits/layouts/big/tiletop.png b/.config/awesome/themes/gits/layouts/big/tiletop.png Binary files differdeleted file mode 100644 index ef7729f..0000000 --- a/.config/awesome/themes/gits/layouts/big/tiletop.png +++ /dev/null diff --git a/.config/awesome/themes/gits/layouts/dwindle.png b/.config/awesome/themes/gits/layouts/dwindle.png Binary files differdeleted file mode 100644 index df0cbff..0000000 --- a/.config/awesome/themes/gits/layouts/dwindle.png +++ /dev/null diff --git a/.config/awesome/themes/gits/layouts/fairh.png b/.config/awesome/themes/gits/layouts/fairh.png Binary files differdeleted file mode 100644 index bf81e12..0000000 --- a/.config/awesome/themes/gits/layouts/fairh.png +++ /dev/null diff --git a/.config/awesome/themes/gits/layouts/fairv.png b/.config/awesome/themes/gits/layouts/fairv.png Binary files differdeleted file mode 100644 index b6b15d3..0000000 --- a/.config/awesome/themes/gits/layouts/fairv.png +++ /dev/null diff --git a/.config/awesome/themes/gits/layouts/floating.png b/.config/awesome/themes/gits/layouts/floating.png Binary files differdeleted file mode 100644 index 56de86b..0000000 --- a/.config/awesome/themes/gits/layouts/floating.png +++ /dev/null diff --git a/.config/awesome/themes/gits/layouts/fullscreen.png b/.config/awesome/themes/gits/layouts/fullscreen.png Binary files differdeleted file mode 100644 index 9561be8..0000000 --- a/.config/awesome/themes/gits/layouts/fullscreen.png +++ /dev/null diff --git a/.config/awesome/themes/gits/layouts/magnifier.png b/.config/awesome/themes/gits/layouts/magnifier.png Binary files differdeleted file mode 100644 index 8cc1698..0000000 --- a/.config/awesome/themes/gits/layouts/magnifier.png +++ /dev/null diff --git a/.config/awesome/themes/gits/layouts/max.png b/.config/awesome/themes/gits/layouts/max.png Binary files differdeleted file mode 100644 index 7819398..0000000 --- a/.config/awesome/themes/gits/layouts/max.png +++ /dev/null diff --git a/.config/awesome/themes/gits/layouts/spiral.png b/.config/awesome/themes/gits/layouts/spiral.png Binary files differdeleted file mode 100644 index 2bb2751..0000000 --- a/.config/awesome/themes/gits/layouts/spiral.png +++ /dev/null diff --git a/.config/awesome/themes/gits/layouts/tile.png b/.config/awesome/themes/gits/layouts/tile.png Binary files differdeleted file mode 100644 index eaa469c..0000000 --- a/.config/awesome/themes/gits/layouts/tile.png +++ /dev/null diff --git a/.config/awesome/themes/gits/layouts/tilebottom.png b/.config/awesome/themes/gits/layouts/tilebottom.png Binary files differdeleted file mode 100644 index 44742a0..0000000 --- a/.config/awesome/themes/gits/layouts/tilebottom.png +++ /dev/null diff --git a/.config/awesome/themes/gits/layouts/tileleft.png b/.config/awesome/themes/gits/layouts/tileleft.png Binary files differdeleted file mode 100644 index 99220f0..0000000 --- a/.config/awesome/themes/gits/layouts/tileleft.png +++ /dev/null diff --git a/.config/awesome/themes/gits/layouts/tiletop.png b/.config/awesome/themes/gits/layouts/tiletop.png Binary files differdeleted file mode 100644 index ef7729f..0000000 --- a/.config/awesome/themes/gits/layouts/tiletop.png +++ /dev/null diff --git a/.config/awesome/themes/gits/layouts/uselessfair.png b/.config/awesome/themes/gits/layouts/uselessfair.png Binary files differdeleted file mode 100644 index 0182a42..0000000 --- a/.config/awesome/themes/gits/layouts/uselessfair.png +++ /dev/null diff --git a/.config/awesome/themes/gits/layouts/uselesstile.png b/.config/awesome/themes/gits/layouts/uselesstile.png Binary files differdeleted file mode 100644 index 6d4a18c..0000000 --- a/.config/awesome/themes/gits/layouts/uselesstile.png +++ /dev/null diff --git a/.config/awesome/themes/gits/submenu.png b/.config/awesome/themes/gits/submenu.png Binary files differdeleted file mode 100644 index a723e10..0000000 --- a/.config/awesome/themes/gits/submenu.png +++ /dev/null diff --git a/.config/awesome/themes/gits/taglist/squarefz.png b/.config/awesome/themes/gits/taglist/squarefz.png Binary files differdeleted file mode 100644 index 2172561..0000000 --- a/.config/awesome/themes/gits/taglist/squarefz.png +++ /dev/null diff --git a/.config/awesome/themes/gits/taglist/squarez.png b/.config/awesome/themes/gits/taglist/squarez.png Binary files differdeleted file mode 100644 index 870d6d8..0000000 --- a/.config/awesome/themes/gits/taglist/squarez.png +++ /dev/null diff --git a/.config/awesome/themes/gits/theme.lua b/.config/awesome/themes/gits/theme.lua deleted file mode 100644 index 6e9ac30..0000000 --- a/.config/awesome/themes/gits/theme.lua +++ /dev/null @@ -1,134 +0,0 @@ -------------------------------- --- "current" current theme -- --- By Adrian C. (anrxc) -- -------------------------------- - --- Alternative icon sets and widget icons: --- * http://current.naquadah.org/wiki/Nice_Icons - --- {{{ Main -theme = {} -theme.directory = "/home/shmibs/.config/awesome/themes/current/" -theme.wallpaper = theme.directory .. "backdrop.jpg" - --- }}} - --- {{{ Styles -theme.font = "TI Calc Fonts Clean 8" - --- {{{ Colors -theme.fg_focus = "#FCFCFC" -theme.fg_normal = "#FCFCFC" -theme.fg_urgent = "#FCFCFC" -theme.bg_focus = "#7a658f" -theme.bg_normal = "#333333" -theme.bg_urgent = "#df3c29" -theme.bg_systray = theme.bg_normal --- }}} - --- {{{ Borders -theme.border_width = 2 -theme.border_focus = theme.bg_focus -theme.border_normal = theme.bg_normal -theme.border_marked = theme.bg_urgent --- }}} - --- {{{ Titlebars -theme.titlebar_bg_normal = "#93A8C2" -theme.titlebar_bg_focus = "#7F91A7" --- }}} - --- There are other variable sets --- overriding the default one when --- defined, the sets are: --- [taglist|tasklist]_[bg|fg]_[focus|urgent] --- titlebar_[normal|focus] --- tooltip_[font|opacity|fg_color|bg_color|border_width|border_color] --- Example: ---theme.taglist_bg_focus = "#CC9393" --- }}} - --- {{{ Widgets --- You can add as many variables as --- you wish and access them by using --- beautiful.variable in your rc.lua ---theme.fg_widget = "#AECF96" ---theme.fg_center_widget = "#88A175" ---theme.fg_end_widget = "#FF5656" ---theme.bg_widget = "#494B4F" ---theme.border_widget = "#3F3F3F" --- }}} - --- {{{ Mouse finder -theme.mouse_finder_color = "#79412E" --- mouse_finder_[timeout|animate_timeout|radius|factor] --- }}} - --- {{{ Menu --- Variables set for theming the menu: --- menu_[bg|fg]_[normal|focus] --- menu_[border_color|border_width] -theme.menu_height = 15 -theme.menu_width = 108 --- }}} - --- {{{ lain -theme.useless_gap_width = 10 --- }}} - --- {{{ Icons --- {{{ Taglist -theme.taglist_squares_sel = theme.directory .. "taglist/squarefz.png" -theme.taglist_squares_unsel = theme.directory .. "taglist/squarez.png" ---theme.taglist_squares_resize = "false" --- }}} - --- {{{ Misc -theme.awesome_icon = theme.directory .. "awesome-icon.png" -theme.menu_submenu_icon = theme.directory .. "submenu.png" --- }}} - --- {{{ Layout -theme.layout_tile = theme.directory .. "layouts/tile.png" -theme.layout_tileleft = theme.directory .. "layouts/tileleft.png" -theme.layout_tilebottom = theme.directory .. "layouts/tilebottom.png" -theme.layout_tiletop = theme.directory .. "layouts/tiletop.png" -theme.layout_uselesstile= theme.directory .. "layouts/tile.png" -theme.layout_fairv = theme.directory .. "layouts/fairv.png" -theme.layout_fairh = theme.directory .. "layouts/fairh.png" -theme.layout_uselessfair= theme.directory .. "layouts/fairv.png" -theme.layout_spiral = theme.directory .. "layouts/spiral.png" -theme.layout_dwindle = theme.directory .. "layouts/dwindle.png" -theme.layout_max = theme.directory .. "layouts/max.png" -theme.layout_fullscreen = theme.directory .. "layouts/fullscreen.png" -theme.layout_magnifier = theme.directory .. "layouts/magnifier.png" -theme.layout_floating = theme.directory .. "layouts/floating.png" --- }}} - --- {{{ Titlebar -theme.titlebar_close_button_focus = theme.directory .. "titlebar/close_focus.png" -theme.titlebar_close_button_normal = theme.directory .. "titlebar/close_normal.png" - -theme.titlebar_ontop_button_focus_active = theme.directory .. "titlebar/ontop_focus_active.png" -theme.titlebar_ontop_button_normal_active = theme.directory .. "titlebar/ontop_normal_active.png" -theme.titlebar_ontop_button_focus_inactive = theme.directory .. "titlebar/ontop_focus_inactive.png" -theme.titlebar_ontop_button_normal_inactive = theme.directory .. "titlebar/ontop_normal_inactive.png" - -theme.titlebar_sticky_button_focus_active = theme.directory .. "titlebar/sticky_focus_active.png" -theme.titlebar_sticky_button_normal_active = theme.directory .. "titlebar/sticky_normal_active.png" -theme.titlebar_sticky_button_focus_inactive = theme.directory .. "titlebar/sticky_focus_inactive.png" -theme.titlebar_sticky_button_normal_inactive = theme.directory .. "titlebar/sticky_normal_inactive.png" - -theme.titlebar_floating_button_focus_active = theme.directory .. "titlebar/floating_focus_active.png" -theme.titlebar_floating_button_normal_active = theme.directory .. "titlebar/floating_normal_active.png" -theme.titlebar_floating_button_focus_inactive = theme.directory .. "titlebar/floating_focus_inactive.png" -theme.titlebar_floating_button_normal_inactive = theme.directory .. "titlebar/floating_normal_inactive.png" - -theme.titlebar_maximized_button_focus_active = theme.directory .. "titlebar/maximized_focus_active.png" -theme.titlebar_maximized_button_normal_active = theme.directory .. "titlebar/maximized_normal_active.png" -theme.titlebar_maximized_button_focus_inactive = theme.directory .. "titlebar/maximized_focus_inactive.png" -theme.titlebar_maximized_button_normal_inactive = theme.directory .. "titlebar/maximized_normal_inactive.png" --- }}} --- }}} - -return theme diff --git a/.config/awesome/themes/gits/titlebar/close_focus.png b/.config/awesome/themes/gits/titlebar/close_focus.png Binary files differdeleted file mode 100644 index e9b4179..0000000 --- a/.config/awesome/themes/gits/titlebar/close_focus.png +++ /dev/null diff --git a/.config/awesome/themes/gits/titlebar/close_normal.png b/.config/awesome/themes/gits/titlebar/close_normal.png Binary files differdeleted file mode 100644 index 9c8d3ba..0000000 --- a/.config/awesome/themes/gits/titlebar/close_normal.png +++ /dev/null diff --git a/.config/awesome/themes/gits/titlebar/floating_focus_active.png b/.config/awesome/themes/gits/titlebar/floating_focus_active.png Binary files differdeleted file mode 100644 index 0f9ee0d..0000000 --- a/.config/awesome/themes/gits/titlebar/floating_focus_active.png +++ /dev/null diff --git a/.config/awesome/themes/gits/titlebar/floating_focus_inactive.png b/.config/awesome/themes/gits/titlebar/floating_focus_inactive.png Binary files differdeleted file mode 100644 index 7973f6a..0000000 --- a/.config/awesome/themes/gits/titlebar/floating_focus_inactive.png +++ /dev/null diff --git a/.config/awesome/themes/gits/titlebar/floating_normal_active.png b/.config/awesome/themes/gits/titlebar/floating_normal_active.png Binary files differdeleted file mode 100644 index 403b2e9..0000000 --- a/.config/awesome/themes/gits/titlebar/floating_normal_active.png +++ /dev/null diff --git a/.config/awesome/themes/gits/titlebar/floating_normal_inactive.png b/.config/awesome/themes/gits/titlebar/floating_normal_inactive.png Binary files differdeleted file mode 100644 index 829e223..0000000 --- a/.config/awesome/themes/gits/titlebar/floating_normal_inactive.png +++ /dev/null diff --git a/.config/awesome/themes/gits/titlebar/maximized_focus_active.png b/.config/awesome/themes/gits/titlebar/maximized_focus_active.png Binary files differdeleted file mode 100644 index 7e8498a..0000000 --- a/.config/awesome/themes/gits/titlebar/maximized_focus_active.png +++ /dev/null diff --git a/.config/awesome/themes/gits/titlebar/maximized_focus_inactive.png b/.config/awesome/themes/gits/titlebar/maximized_focus_inactive.png Binary files differdeleted file mode 100644 index 46d3f96..0000000 --- a/.config/awesome/themes/gits/titlebar/maximized_focus_inactive.png +++ /dev/null diff --git a/.config/awesome/themes/gits/titlebar/maximized_normal_active.png b/.config/awesome/themes/gits/titlebar/maximized_normal_active.png Binary files differdeleted file mode 100644 index 2ebf811..0000000 --- a/.config/awesome/themes/gits/titlebar/maximized_normal_active.png +++ /dev/null diff --git a/.config/awesome/themes/gits/titlebar/maximized_normal_inactive.png b/.config/awesome/themes/gits/titlebar/maximized_normal_inactive.png Binary files differdeleted file mode 100644 index 524fc5c..0000000 --- a/.config/awesome/themes/gits/titlebar/maximized_normal_inactive.png +++ /dev/null diff --git a/.config/awesome/themes/gits/titlebar/ontop_focus_active.png b/.config/awesome/themes/gits/titlebar/ontop_focus_active.png Binary files differdeleted file mode 100644 index 86e61b7..0000000 --- a/.config/awesome/themes/gits/titlebar/ontop_focus_active.png +++ /dev/null diff --git a/.config/awesome/themes/gits/titlebar/ontop_focus_inactive.png b/.config/awesome/themes/gits/titlebar/ontop_focus_inactive.png Binary files differdeleted file mode 100644 index 3bee67e..0000000 --- a/.config/awesome/themes/gits/titlebar/ontop_focus_inactive.png +++ /dev/null diff --git a/.config/awesome/themes/gits/titlebar/ontop_normal_active.png b/.config/awesome/themes/gits/titlebar/ontop_normal_active.png Binary files differdeleted file mode 100644 index 4d78f44..0000000 --- a/.config/awesome/themes/gits/titlebar/ontop_normal_active.png +++ /dev/null diff --git a/.config/awesome/themes/gits/titlebar/ontop_normal_inactive.png b/.config/awesome/themes/gits/titlebar/ontop_normal_inactive.png Binary files differdeleted file mode 100644 index 9809c2c..0000000 --- a/.config/awesome/themes/gits/titlebar/ontop_normal_inactive.png +++ /dev/null diff --git a/.config/awesome/themes/gits/titlebar/sticky_focus_active.png b/.config/awesome/themes/gits/titlebar/sticky_focus_active.png Binary files differdeleted file mode 100644 index b10e604..0000000 --- a/.config/awesome/themes/gits/titlebar/sticky_focus_active.png +++ /dev/null diff --git a/.config/awesome/themes/gits/titlebar/sticky_focus_inactive.png b/.config/awesome/themes/gits/titlebar/sticky_focus_inactive.png Binary files differdeleted file mode 100644 index cf953c4..0000000 --- a/.config/awesome/themes/gits/titlebar/sticky_focus_inactive.png +++ /dev/null diff --git a/.config/awesome/themes/gits/titlebar/sticky_normal_active.png b/.config/awesome/themes/gits/titlebar/sticky_normal_active.png Binary files differdeleted file mode 100644 index 607a55c..0000000 --- a/.config/awesome/themes/gits/titlebar/sticky_normal_active.png +++ /dev/null diff --git a/.config/awesome/themes/gits/titlebar/sticky_normal_inactive.png b/.config/awesome/themes/gits/titlebar/sticky_normal_inactive.png Binary files differdeleted file mode 100644 index 82161e9..0000000 --- a/.config/awesome/themes/gits/titlebar/sticky_normal_inactive.png +++ /dev/null diff --git a/.config/awesome/themes/hakamichi/awesome-icon.png b/.config/awesome/themes/hakamichi/awesome-icon.png Binary files differdeleted file mode 100644 index ec2a22d..0000000 --- a/.config/awesome/themes/hakamichi/awesome-icon.png +++ /dev/null diff --git a/.config/awesome/themes/hakamichi/backdrop.jpg b/.config/awesome/themes/hakamichi/backdrop.jpg Binary files differdeleted file mode 100644 index 105aecd..0000000 --- a/.config/awesome/themes/hakamichi/backdrop.jpg +++ /dev/null diff --git a/.config/awesome/themes/hakamichi/gits b/.config/awesome/themes/hakamichi/gits deleted file mode 120000 index d70bf98..0000000 --- a/.config/awesome/themes/hakamichi/gits +++ /dev/null @@ -1 +0,0 @@ -.config/awesome/themes/gits/
\ No newline at end of file diff --git a/.config/awesome/themes/hakamichi/layouts/big/dwindle.png b/.config/awesome/themes/hakamichi/layouts/big/dwindle.png Binary files differdeleted file mode 100644 index df0cbff..0000000 --- a/.config/awesome/themes/hakamichi/layouts/big/dwindle.png +++ /dev/null diff --git a/.config/awesome/themes/hakamichi/layouts/big/fairh.png b/.config/awesome/themes/hakamichi/layouts/big/fairh.png Binary files differdeleted file mode 100644 index bf81e12..0000000 --- a/.config/awesome/themes/hakamichi/layouts/big/fairh.png +++ /dev/null diff --git a/.config/awesome/themes/hakamichi/layouts/big/fairv.png b/.config/awesome/themes/hakamichi/layouts/big/fairv.png Binary files differdeleted file mode 100644 index 06fdde4..0000000 --- a/.config/awesome/themes/hakamichi/layouts/big/fairv.png +++ /dev/null diff --git a/.config/awesome/themes/hakamichi/layouts/big/floating.png b/.config/awesome/themes/hakamichi/layouts/big/floating.png Binary files differdeleted file mode 100644 index 56de86b..0000000 --- a/.config/awesome/themes/hakamichi/layouts/big/floating.png +++ /dev/null diff --git a/.config/awesome/themes/hakamichi/layouts/big/fullscreen.png b/.config/awesome/themes/hakamichi/layouts/big/fullscreen.png Binary files differdeleted file mode 100644 index 9561be8..0000000 --- a/.config/awesome/themes/hakamichi/layouts/big/fullscreen.png +++ /dev/null diff --git a/.config/awesome/themes/hakamichi/layouts/big/magnifier.png b/.config/awesome/themes/hakamichi/layouts/big/magnifier.png Binary files differdeleted file mode 100644 index 8cc1698..0000000 --- a/.config/awesome/themes/hakamichi/layouts/big/magnifier.png +++ /dev/null diff --git a/.config/awesome/themes/hakamichi/layouts/big/max.png b/.config/awesome/themes/hakamichi/layouts/big/max.png Binary files differdeleted file mode 100644 index e6ffd1c..0000000 --- a/.config/awesome/themes/hakamichi/layouts/big/max.png +++ /dev/null diff --git a/.config/awesome/themes/hakamichi/layouts/big/spiral.png b/.config/awesome/themes/hakamichi/layouts/big/spiral.png Binary files differdeleted file mode 100644 index 2bb2751..0000000 --- a/.config/awesome/themes/hakamichi/layouts/big/spiral.png +++ /dev/null diff --git a/.config/awesome/themes/hakamichi/layouts/big/tile.png b/.config/awesome/themes/hakamichi/layouts/big/tile.png Binary files differdeleted file mode 100644 index a3f4435..0000000 --- a/.config/awesome/themes/hakamichi/layouts/big/tile.png +++ /dev/null diff --git a/.config/awesome/themes/hakamichi/layouts/big/tilebottom.png b/.config/awesome/themes/hakamichi/layouts/big/tilebottom.png Binary files differdeleted file mode 100644 index 44742a0..0000000 --- a/.config/awesome/themes/hakamichi/layouts/big/tilebottom.png +++ /dev/null diff --git a/.config/awesome/themes/hakamichi/layouts/big/tileleft.png b/.config/awesome/themes/hakamichi/layouts/big/tileleft.png Binary files differdeleted file mode 100644 index 99220f0..0000000 --- a/.config/awesome/themes/hakamichi/layouts/big/tileleft.png +++ /dev/null diff --git a/.config/awesome/themes/hakamichi/layouts/big/tiletop.png b/.config/awesome/themes/hakamichi/layouts/big/tiletop.png Binary files differdeleted file mode 100644 index ef7729f..0000000 --- a/.config/awesome/themes/hakamichi/layouts/big/tiletop.png +++ /dev/null diff --git a/.config/awesome/themes/hakamichi/layouts/dwindle.png b/.config/awesome/themes/hakamichi/layouts/dwindle.png Binary files differdeleted file mode 100644 index df0cbff..0000000 --- a/.config/awesome/themes/hakamichi/layouts/dwindle.png +++ /dev/null diff --git a/.config/awesome/themes/hakamichi/layouts/fairh.png b/.config/awesome/themes/hakamichi/layouts/fairh.png Binary files differdeleted file mode 100644 index bf81e12..0000000 --- a/.config/awesome/themes/hakamichi/layouts/fairh.png +++ /dev/null diff --git a/.config/awesome/themes/hakamichi/layouts/fairv.png b/.config/awesome/themes/hakamichi/layouts/fairv.png Binary files differdeleted file mode 100644 index b6b15d3..0000000 --- a/.config/awesome/themes/hakamichi/layouts/fairv.png +++ /dev/null diff --git a/.config/awesome/themes/hakamichi/layouts/floating.png b/.config/awesome/themes/hakamichi/layouts/floating.png Binary files differdeleted file mode 100644 index 56de86b..0000000 --- a/.config/awesome/themes/hakamichi/layouts/floating.png +++ /dev/null diff --git a/.config/awesome/themes/hakamichi/layouts/fullscreen.png b/.config/awesome/themes/hakamichi/layouts/fullscreen.png Binary files differdeleted file mode 100644 index 9561be8..0000000 --- a/.config/awesome/themes/hakamichi/layouts/fullscreen.png +++ /dev/null diff --git a/.config/awesome/themes/hakamichi/layouts/magnifier.png b/.config/awesome/themes/hakamichi/layouts/magnifier.png Binary files differdeleted file mode 100644 index 8cc1698..0000000 --- a/.config/awesome/themes/hakamichi/layouts/magnifier.png +++ /dev/null diff --git a/.config/awesome/themes/hakamichi/layouts/max.png b/.config/awesome/themes/hakamichi/layouts/max.png Binary files differdeleted file mode 100644 index 7819398..0000000 --- a/.config/awesome/themes/hakamichi/layouts/max.png +++ /dev/null diff --git a/.config/awesome/themes/hakamichi/layouts/spiral.png b/.config/awesome/themes/hakamichi/layouts/spiral.png Binary files differdeleted file mode 100644 index 2bb2751..0000000 --- a/.config/awesome/themes/hakamichi/layouts/spiral.png +++ /dev/null diff --git a/.config/awesome/themes/hakamichi/layouts/tile.png b/.config/awesome/themes/hakamichi/layouts/tile.png Binary files differdeleted file mode 100644 index eaa469c..0000000 --- a/.config/awesome/themes/hakamichi/layouts/tile.png +++ /dev/null diff --git a/.config/awesome/themes/hakamichi/layouts/tilebottom.png b/.config/awesome/themes/hakamichi/layouts/tilebottom.png Binary files differdeleted file mode 100644 index 44742a0..0000000 --- a/.config/awesome/themes/hakamichi/layouts/tilebottom.png +++ /dev/null diff --git a/.config/awesome/themes/hakamichi/layouts/tileleft.png b/.config/awesome/themes/hakamichi/layouts/tileleft.png Binary files differdeleted file mode 100644 index 99220f0..0000000 --- a/.config/awesome/themes/hakamichi/layouts/tileleft.png +++ /dev/null diff --git a/.config/awesome/themes/hakamichi/layouts/tiletop.png b/.config/awesome/themes/hakamichi/layouts/tiletop.png Binary files differdeleted file mode 100644 index ef7729f..0000000 --- a/.config/awesome/themes/hakamichi/layouts/tiletop.png +++ /dev/null diff --git a/.config/awesome/themes/hakamichi/layouts/uselessfair.png b/.config/awesome/themes/hakamichi/layouts/uselessfair.png Binary files differdeleted file mode 100644 index 0182a42..0000000 --- a/.config/awesome/themes/hakamichi/layouts/uselessfair.png +++ /dev/null diff --git a/.config/awesome/themes/hakamichi/layouts/uselesstile.png b/.config/awesome/themes/hakamichi/layouts/uselesstile.png Binary files differdeleted file mode 100644 index 6d4a18c..0000000 --- a/.config/awesome/themes/hakamichi/layouts/uselesstile.png +++ /dev/null diff --git a/.config/awesome/themes/hakamichi/submenu.png b/.config/awesome/themes/hakamichi/submenu.png Binary files differdeleted file mode 100644 index a723e10..0000000 --- a/.config/awesome/themes/hakamichi/submenu.png +++ /dev/null diff --git a/.config/awesome/themes/hakamichi/taglist/squarefz.png b/.config/awesome/themes/hakamichi/taglist/squarefz.png Binary files differdeleted file mode 100644 index 2172561..0000000 --- a/.config/awesome/themes/hakamichi/taglist/squarefz.png +++ /dev/null diff --git a/.config/awesome/themes/hakamichi/taglist/squarez.png b/.config/awesome/themes/hakamichi/taglist/squarez.png Binary files differdeleted file mode 100644 index 870d6d8..0000000 --- a/.config/awesome/themes/hakamichi/taglist/squarez.png +++ /dev/null diff --git a/.config/awesome/themes/hakamichi/theme.lua b/.config/awesome/themes/hakamichi/theme.lua deleted file mode 100644 index 3bdf612..0000000 --- a/.config/awesome/themes/hakamichi/theme.lua +++ /dev/null @@ -1,134 +0,0 @@ -------------------------------- --- "current" current theme -- --- By Adrian C. (anrxc) -- -------------------------------- - --- Alternative icon sets and widget icons: --- * http://current.naquadah.org/wiki/Nice_Icons - --- {{{ Main -theme = {} -theme.directory = "/home/shmibs/.config/awesome/themes/current/" -theme.wallpaper = theme.directory .. "backdrop.jpg" - --- }}} - --- {{{ Styles -theme.font = "TI Calc Fonts Clean 8" - --- {{{ Colors -theme.fg_focus = "#fcfcfc" -theme.fg_normal = "#dcdcdc" -theme.fg_urgent = "#fcfcfc" -theme.bg_focus = "#d64937" -theme.bg_normal = "#2d2d2d" -theme.bg_urgent = "#ffd100" -theme.bg_systray = theme.bg_normal --- }}} - --- {{{ Borders -theme.border_width = 2 -theme.border_focus = theme.bg_focus -theme.border_normal = theme.bg_normal -theme.border_marked = theme.bg_urgent --- }}} - --- {{{ Titlebars -theme.titlebar_bg_normal = "#93A8C2" -theme.titlebar_bg_focus = "#7F91A7" --- }}} - --- There are other variable sets --- overriding the default one when --- defined, the sets are: --- [taglist|tasklist]_[bg|fg]_[focus|urgent] --- titlebar_[normal|focus] --- tooltip_[font|opacity|fg_color|bg_color|border_width|border_color] --- Example: ---theme.taglist_bg_focus = "#CC9393" --- }}} - --- {{{ Widgets --- You can add as many variables as --- you wish and access them by using --- beautiful.variable in your rc.lua ---theme.fg_widget = "#AECF96" ---theme.fg_center_widget = "#88A175" ---theme.fg_end_widget = "#FF5656" ---theme.bg_widget = "#494B4F" ---theme.border_widget = "#3F3F3F" --- }}} - --- {{{ Mouse finder -theme.mouse_finder_color = "#79412E" --- mouse_finder_[timeout|animate_timeout|radius|factor] --- }}} - --- {{{ Menu --- Variables set for theming the menu: --- menu_[bg|fg]_[normal|focus] --- menu_[border_color|border_width] -theme.menu_height = 15 -theme.menu_width = 108 --- }}} - --- {{{ lain -theme.useless_gap_width = 10 --- }}} - --- {{{ Icons --- {{{ Taglist -theme.taglist_squares_sel = theme.directory .. "taglist/squarefz.png" -theme.taglist_squares_unsel = theme.directory .. "taglist/squarez.png" ---theme.taglist_squares_resize = "false" --- }}} - --- {{{ Misc -theme.awesome_icon = theme.directory .. "awesome-icon.png" -theme.menu_submenu_icon = theme.directory .. "submenu.png" --- }}} - --- {{{ Layout -theme.layout_tile = theme.directory .. "layouts/tile.png" -theme.layout_tileleft = theme.directory .. "layouts/tileleft.png" -theme.layout_tilebottom = theme.directory .. "layouts/tilebottom.png" -theme.layout_tiletop = theme.directory .. "layouts/tiletop.png" -theme.layout_uselesstile= theme.directory .. "layouts/tile.png" -theme.layout_fairv = theme.directory .. "layouts/fairv.png" -theme.layout_fairh = theme.directory .. "layouts/fairh.png" -theme.layout_uselessfair= theme.directory .. "layouts/fairv.png" -theme.layout_spiral = theme.directory .. "layouts/spiral.png" -theme.layout_dwindle = theme.directory .. "layouts/dwindle.png" -theme.layout_max = theme.directory .. "layouts/max.png" -theme.layout_fullscreen = theme.directory .. "layouts/fullscreen.png" -theme.layout_magnifier = theme.directory .. "layouts/magnifier.png" -theme.layout_floating = theme.directory .. "layouts/floating.png" --- }}} - --- {{{ Titlebar -theme.titlebar_close_button_focus = theme.directory .. "titlebar/close_focus.png" -theme.titlebar_close_button_normal = theme.directory .. "titlebar/close_normal.png" - -theme.titlebar_ontop_button_focus_active = theme.directory .. "titlebar/ontop_focus_active.png" -theme.titlebar_ontop_button_normal_active = theme.directory .. "titlebar/ontop_normal_active.png" -theme.titlebar_ontop_button_focus_inactive = theme.directory .. "titlebar/ontop_focus_inactive.png" -theme.titlebar_ontop_button_normal_inactive = theme.directory .. "titlebar/ontop_normal_inactive.png" - -theme.titlebar_sticky_button_focus_active = theme.directory .. "titlebar/sticky_focus_active.png" -theme.titlebar_sticky_button_normal_active = theme.directory .. "titlebar/sticky_normal_active.png" -theme.titlebar_sticky_button_focus_inactive = theme.directory .. "titlebar/sticky_focus_inactive.png" -theme.titlebar_sticky_button_normal_inactive = theme.directory .. "titlebar/sticky_normal_inactive.png" - -theme.titlebar_floating_button_focus_active = theme.directory .. "titlebar/floating_focus_active.png" -theme.titlebar_floating_button_normal_active = theme.directory .. "titlebar/floating_normal_active.png" -theme.titlebar_floating_button_focus_inactive = theme.directory .. "titlebar/floating_focus_inactive.png" -theme.titlebar_floating_button_normal_inactive = theme.directory .. "titlebar/floating_normal_inactive.png" - -theme.titlebar_maximized_button_focus_active = theme.directory .. "titlebar/maximized_focus_active.png" -theme.titlebar_maximized_button_normal_active = theme.directory .. "titlebar/maximized_normal_active.png" -theme.titlebar_maximized_button_focus_inactive = theme.directory .. "titlebar/maximized_focus_inactive.png" -theme.titlebar_maximized_button_normal_inactive = theme.directory .. "titlebar/maximized_normal_inactive.png" --- }}} --- }}} - -return theme diff --git a/.config/awesome/themes/hakamichi/titlebar/close_focus.png b/.config/awesome/themes/hakamichi/titlebar/close_focus.png Binary files differdeleted file mode 100644 index e9b4179..0000000 --- a/.config/awesome/themes/hakamichi/titlebar/close_focus.png +++ /dev/null diff --git a/.config/awesome/themes/hakamichi/titlebar/close_normal.png b/.config/awesome/themes/hakamichi/titlebar/close_normal.png Binary files differdeleted file mode 100644 index 9c8d3ba..0000000 --- a/.config/awesome/themes/hakamichi/titlebar/close_normal.png +++ /dev/null diff --git a/.config/awesome/themes/hakamichi/titlebar/floating_focus_active.png b/.config/awesome/themes/hakamichi/titlebar/floating_focus_active.png Binary files differdeleted file mode 100644 index 0f9ee0d..0000000 --- a/.config/awesome/themes/hakamichi/titlebar/floating_focus_active.png +++ /dev/null diff --git a/.config/awesome/themes/hakamichi/titlebar/floating_focus_inactive.png b/.config/awesome/themes/hakamichi/titlebar/floating_focus_inactive.png Binary files differdeleted file mode 100644 index 7973f6a..0000000 --- a/.config/awesome/themes/hakamichi/titlebar/floating_focus_inactive.png +++ /dev/null diff --git a/.config/awesome/themes/hakamichi/titlebar/floating_normal_active.png b/.config/awesome/themes/hakamichi/titlebar/floating_normal_active.png Binary files differdeleted file mode 100644 index 403b2e9..0000000 --- a/.config/awesome/themes/hakamichi/titlebar/floating_normal_active.png +++ /dev/null diff --git a/.config/awesome/themes/hakamichi/titlebar/floating_normal_inactive.png b/.config/awesome/themes/hakamichi/titlebar/floating_normal_inactive.png Binary files differdeleted file mode 100644 index 829e223..0000000 --- a/.config/awesome/themes/hakamichi/titlebar/floating_normal_inactive.png +++ /dev/null diff --git a/.config/awesome/themes/hakamichi/titlebar/maximized_focus_active.png b/.config/awesome/themes/hakamichi/titlebar/maximized_focus_active.png Binary files differdeleted file mode 100644 index 7e8498a..0000000 --- a/.config/awesome/themes/hakamichi/titlebar/maximized_focus_active.png +++ /dev/null diff --git a/.config/awesome/themes/hakamichi/titlebar/maximized_focus_inactive.png b/.config/awesome/themes/hakamichi/titlebar/maximized_focus_inactive.png Binary files differdeleted file mode 100644 index 46d3f96..0000000 --- a/.config/awesome/themes/hakamichi/titlebar/maximized_focus_inactive.png +++ /dev/null diff --git a/.config/awesome/themes/hakamichi/titlebar/maximized_normal_active.png b/.config/awesome/themes/hakamichi/titlebar/maximized_normal_active.png Binary files differdeleted file mode 100644 index 2ebf811..0000000 --- a/.config/awesome/themes/hakamichi/titlebar/maximized_normal_active.png +++ /dev/null diff --git a/.config/awesome/themes/hakamichi/titlebar/maximized_normal_inactive.png b/.config/awesome/themes/hakamichi/titlebar/maximized_normal_inactive.png Binary files differdeleted file mode 100644 index 524fc5c..0000000 --- a/.config/awesome/themes/hakamichi/titlebar/maximized_normal_inactive.png +++ /dev/null diff --git a/.config/awesome/themes/hakamichi/titlebar/ontop_focus_active.png b/.config/awesome/themes/hakamichi/titlebar/ontop_focus_active.png Binary files differdeleted file mode 100644 index 86e61b7..0000000 --- a/.config/awesome/themes/hakamichi/titlebar/ontop_focus_active.png +++ /dev/null diff --git a/.config/awesome/themes/hakamichi/titlebar/ontop_focus_inactive.png b/.config/awesome/themes/hakamichi/titlebar/ontop_focus_inactive.png Binary files differdeleted file mode 100644 index 3bee67e..0000000 --- a/.config/awesome/themes/hakamichi/titlebar/ontop_focus_inactive.png +++ /dev/null diff --git a/.config/awesome/themes/hakamichi/titlebar/ontop_normal_active.png b/.config/awesome/themes/hakamichi/titlebar/ontop_normal_active.png Binary files differdeleted file mode 100644 index 4d78f44..0000000 --- a/.config/awesome/themes/hakamichi/titlebar/ontop_normal_active.png +++ /dev/null diff --git a/.config/awesome/themes/hakamichi/titlebar/ontop_normal_inactive.png b/.config/awesome/themes/hakamichi/titlebar/ontop_normal_inactive.png Binary files differdeleted file mode 100644 index 9809c2c..0000000 --- a/.config/awesome/themes/hakamichi/titlebar/ontop_normal_inactive.png +++ /dev/null diff --git a/.config/awesome/themes/hakamichi/titlebar/sticky_focus_active.png b/.config/awesome/themes/hakamichi/titlebar/sticky_focus_active.png Binary files differdeleted file mode 100644 index b10e604..0000000 --- a/.config/awesome/themes/hakamichi/titlebar/sticky_focus_active.png +++ /dev/null diff --git a/.config/awesome/themes/hakamichi/titlebar/sticky_focus_inactive.png b/.config/awesome/themes/hakamichi/titlebar/sticky_focus_inactive.png Binary files differdeleted file mode 100644 index cf953c4..0000000 --- a/.config/awesome/themes/hakamichi/titlebar/sticky_focus_inactive.png +++ /dev/null diff --git a/.config/awesome/themes/hakamichi/titlebar/sticky_normal_active.png b/.config/awesome/themes/hakamichi/titlebar/sticky_normal_active.png Binary files differdeleted file mode 100644 index 607a55c..0000000 --- a/.config/awesome/themes/hakamichi/titlebar/sticky_normal_active.png +++ /dev/null diff --git a/.config/awesome/themes/hakamichi/titlebar/sticky_normal_inactive.png b/.config/awesome/themes/hakamichi/titlebar/sticky_normal_inactive.png Binary files differdeleted file mode 100644 index 82161e9..0000000 --- a/.config/awesome/themes/hakamichi/titlebar/sticky_normal_inactive.png +++ /dev/null diff --git a/.config/herbstluftwm/autostart b/.config/herbstluftwm/autostart new file mode 100755 index 0000000..1f18392 --- /dev/null +++ b/.config/herbstluftwm/autostart @@ -0,0 +1,191 @@ +#!/bin/bash + +# define colours +bg_normal='#2d2d2d' +fg_normal='#dcdcdc' +bg_focus='#d64937' +fg_focus='#fcfcfc' + +hc() { + herbstclient "$@" +} + +# always start frames max (pt. 1) +hc set default_frame_layout 2 + +hc emit_hook reload + +xsetroot -solid '#5A8E3A' + +# remove all existing keybindings +hc keyunbind --all + +# keybindings +# if you have a super key you will be much happier with Mod set to Mod4 +#Mod=Mod1 # Use alt as the main modifier +Mod=Mod4 # Use the super key as the main modifier + +hc keybind $Mod-Shift-r reload +hc keybind $Mod-e close_or_remove + +# basic movement +# focusing clients +hc keybind $Mod-h focus left +hc keybind $Mod-j focus down +hc keybind $Mod-k focus up +hc keybind $Mod-l focus right + +# moving clients +hc keybind $Mod-Shift-h shift left +hc keybind $Mod-Shift-j shift down +hc keybind $Mod-Shift-k shift up +hc keybind $Mod-Shift-l shift right + +# cycle through clients +hc keybind $Mod-d cycle 1 +hc keybind $Mod-a cycle -1 + +# splitting frames +# create an empty frame at the specified direction +hc keybind $Mod-s chain .-. lock .-. split bottom 0.5 .-. focus -e d .-. unlock +hc keybind $Mod-v chain .-. lock .-. split right 0.5 .-. focus -e r .-. unlock +# let the current frame explode into subframes +hc keybind $Mod-Shift-space split explode + +# resizing frames +resizestep=0.05 +hc keybind $Mod-Control-h resize left +$resizestep +hc keybind $Mod-Control-j resize down +$resizestep +hc keybind $Mod-Control-k resize up +$resizestep +hc keybind $Mod-Control-l resize right +$resizestep + +# tags +tag_names=( {1..5} ) +tag_keys=( {1..5} 0 ) + +hc rename default "${tag_names[0]}" || true +for i in ${!tag_names[@]} ; do + hc add "${tag_names[$i]}" + key="${tag_keys[$i]}" + if ! [ -z "$key" ] ; then + hc keybind "$Mod-$key" use_index "$i" + hc keybind "$Mod-Control-$key" move_index "$i" + fi +done + +# always start frames max (pt. 2) +hc set_layout max + +# cycle through tags +hc keybind $Mod-period use_index +1 --skip-visible +hc keybind $Mod-comma use_index -1 --skip-visible + +# layouting +hc keybind $Mod-r remove +hc keybind $Mod-f fullscreen toggle +hc keybind $Mod-p pseudotile toggle + +# mouse +hc mouseunbind --all +hc mousebind $Mod-Button1 move +hc mousebind $Mod-Button2 zoom +hc mousebind $Mod-Button3 resize + +# focus +hc keybind $Mod-BackSpace cycle_monitor +hc keybind $Mod-i jumpto urgent + +################ launchers ################ +hc keybind XF86PowerOff spawn mate-session-save --shutdown-dialog + +# ranger +hc keybind $Mod-Shift-Control-Return spawn urxvt -e ranger /home/shmibs +hc keybind $Mod-Shift-Control-b spawn urxvt -e ranger /home/shmibs/backdrops +hc keybind $Mod-Shift-Control-c spawn urxvt -e ranger /home/shmibs/comics +hc keybind $Mod-Shift-Control-d spawn urxvt -e ranger /home/shmibs/downloads +hc keybind $Mod-Shift-Control-s spawn urxvt -e ranger /home/shmibs/desktop +hc keybind $Mod-Shift-Control-m spawn urxvt -e ranger /home/shmibs/music +hc keybind $Mod-Shift-Control-g spawn urxvt -e ranger /home/shmibs/games +hc keybind $Mod-Shift-Control-p spawn urxvt -e ranger /home/shmibs/projects +hc keybind $Mod-Shift-Control-i spawn urxvt -e ranger /home/shmibs/images +hc keybind $Mod-Shift-Control-t spawn urxvt -e ranger /home/shmibs/thcool +hc keybind $Mod-Shift-Control-v spawn urxvt -e ranger /home/shmibs/videos + +# spawn +hc keybind $Mod-Return spawn urxvt +hc keybind $Mod-Shift-c spawn mate-calc +hc keybind $Mod-Shift-d spawn ~/games/desura/desura +hc keybind $Mod-Shift-f spawn firefox +hc keybind $Mod-Shift-i spawn gimp +hc keybind $Mod-Shift-m spawn mathematica +hc keybind $Mod-Shift-o spawn ~/stuffs/tor/start-tor-browser +hc keybind $Mod-Shift-t spawn transmission-gtk +hc keybind $Mod-Shift-v spawn urxvt -e vim +hc keybind $Mod-Shift-w spawn urxvt -e weechat + +# banshee +hc keybind $Mod-Shift-Up spawn banshee --show +hc keybind $Mod-Shift-Down spawn banshee --hide +hc keybind $Mod-Left spawn banshee --restart-or-previous +hc keybind $Mod-Right spawn banshee --next +hc keybind $Mod-Down spawn banshee --toggle-playing + +# dmenu +hc keybind $Mod-0 spawn dmenu_run -h 18 -nb $bg_normal -nf $fg_normal -sb $bg_focus -sf $fg_focus + +############## end launchers ############## + + +# borders +hc set frame_border_normal_color $bg_normal +hc set frame_border_active_color $bg_focus +hc set frame_bg_normal_color $bg_normal +hc set frame_bg_active_color $bg_focus +hc set window_border_normal_color $bg_normal +hc set window_border_active_color $bg_focus +hc set frame_border_width 2 +hc set frame_border_inner_width 0 +hc set window_border_width 2 +hc set window_border_inner_width 0 +hc set always_show_frame 0 +hc set frame_bg_transparent 1 +hc set frame_normal_opacity 100 +hc set frame_active_opacity 100 +hc set frame_transparent_width 0 +hc set frame_gap 0 +hc set frame_padding 0 +hc set smart_frame_surroundings 1 +hc set smart_window_surroundings 1 + +# rules +hc unrule -F +hc rule focus=on +# unmanage docs, dropdowns, etc +hc rule windowtype~'_NET_WM_WINDOW_TYPE_(NOTIFICATION|DOCK)' manage=off +# set apppropriate things to pseudotile +hc rule windowtype~'_NET_WM_WINDOW_TYPE_(DIALOG|UTILITY|SPLASH)' pseudotile=on +hc rule class~'(Mate-calc|Pcsx2)' pseudotile=on + +# unlock, just to be sure +hc unlock + +herbstclient set tree_style '╾│ ├└╼─┐' + +# do multi monitor setup here, e.g.: +# hc set_monitors 1280x1024+0+0 1280x1024+1280+0 +# or simply: +# hc detect_monitors + +# find the panel +panel=~/.config/herbstluftwm/panel.sh +[ -x "$panel" ] || panel=/etc/xdg/herbstluftwm/panel.sh +for monitor in $(herbstclient list_monitors | cut -d: -f1) ; do + # start it on each monitor + "$panel" $monitor & +done + +# add a tray +tray=~/.config/herbstluftwm/tray.sh +if [ -x "$tray" ]; then + "$tray" +fi diff --git a/.config/herbstluftwm/panel.sh b/.config/herbstluftwm/panel.sh new file mode 100755 index 0000000..5b365af --- /dev/null +++ b/.config/herbstluftwm/panel.sh @@ -0,0 +1,184 @@ +#!/bin/bash + +hc() { "${herbstclient_command[@]:-herbstclient}" "$@" ;} +monitor=${1:-0} +geometry=( $(herbstclient monitor_rect "$monitor") ) +if [ -z "$geometry" ] ;then + echo "Invalid monitor $monitor" + exit 1 +fi +# geometry has the format W H X Y +x=${geometry[0]} +y=${geometry[1]} +panel_width=${geometry[2]} +panel_height=18 +font="-*-fixed-medium-*-*-*-12-*-*-*-*-*-*-*" +bgcolor=$(hc get frame_border_normal_color) +selbg=$(hc get window_border_active_color) +selfg='#101010' + +#### +# Try to find textwidth binary. +# In e.g. Ubuntu, this is named dzen2-textwidth. +if which textwidth &> /dev/null ; then + textwidth="textwidth"; +elif which dzen2-textwidth &> /dev/null ; then + textwidth="dzen2-textwidth"; +else + echo "This script requires the textwidth tool of the dzen2 project." + exit 1 +fi +#### +# true if we are using the svn version of dzen2 +# depending on version/distribution, this seems to have version strings like +# "dzen-" or "dzen-x.x.x-svn" +if dzen2 -v 2>&1 | head -n 1 | grep -q '^dzen-\([^,]*-svn\|\),'; then + dzen2_svn="true" +else + dzen2_svn="" +fi + +if awk -Wv 2>/dev/null | head -1 | grep -q '^mawk'; then + # mawk needs "-W interactive" to line-buffer stdout correctly + # http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=593504 + uniq_linebuffered() { + awk -W interactive '$0 != l { print ; l=$0 ; fflush(); }' "$@" + } +else + # other awk versions (e.g. gawk) issue a warning with "-W interactive", so + # we don't want to use it there. + uniq_linebuffered() { + awk '$0 != l { print ; l=$0 ; fflush(); }' "$@" + } +fi + +hc pad $monitor $panel_height + +{ + ### Event generator ### + # based on different input data (mpc, date, hlwm hooks, ...) this generates events, formed like this: + # <eventname>\t<data> [...] + # e.g. + # date ^fg(#efefef)18:33^fg(#909090), 2013-10-^fg(#efefef)29 + + #mpc idleloop player & + while true ; do + # "date" output is checked once a second, but an event is only + # generated if the output changed compared to the previous run. + date +$'date\t^fg(#efefef)%a, %b %d, %H:%M:%S' + sleep 1 || break + done > >(uniq_linebuffered) & + childpid=$! + hc --idle + kill $childpid +} 2> /dev/null | { + IFS=$'\t' read -ra tags <<< "$(hc tag_status $monitor)" + visible=true + date="" + windowtitle="" + while true ; do + + ### Output ### + # This part prints dzen data based on the _previous_ data handling run, + # and then waits for the next event to happen. + + bordercolor="#26221C" + separator="^bg()^fg($selbg)|" + # draw tags + for i in "${tags[@]}" ; do + case ${i:0:1} in + '#') + echo -n "^bg($selbg)^fg($selfg)" + ;; + '+') + echo -n "^bg(#9CA668)^fg(#141414)" + ;; + ':') + echo -n "^bg()^fg(#ffffff)" + ;; + '!') + echo -n "^bg(#FF0675)^fg(#141414)" + ;; + *) + echo -n "^bg()^fg(#ababab)" + ;; + esac + if [ ! -z "$dzen2_svn" ] ; then + # clickable tags if using SVN dzen + echo -n "^ca(1,\"${herbstclient_command[@]:-herbstclient}\" " + echo -n "focus_monitor \"$monitor\" && " + echo -n "\"${herbstclient_command[@]:-herbstclient}\" " + echo -n "use \"${i:1}\") ${i:1} ^ca()" + else + # non-clickable tags if using older dzen + echo -n " ${i:1} " + fi + done + echo -n "$separator" + echo -n "^bg()^fg() ${windowtitle//^/^^}" + # small adjustments + right="$separator^bg() $date $separator" + right_text_only=$(echo -n "$right" | sed 's.\^[^(]*([^)]*)..g') + # get width of right aligned text.. and add some space.. + width=$($textwidth "$font" "$right_text_only ") + echo -n "^pa($(($panel_width - $width)))$right" + echo + + ### Data handling ### + # This part handles the events generated in the event loop, and sets + # internal variables based on them. The event and its arguments are + # read into the array cmd, then action is taken depending on the event + # name. + # "Special" events (quit_panel/togglehidepanel/reload) are also handled + # here. + + # wait for next event + IFS=$'\t' read -ra cmd || break + # find out event origin + case "${cmd[0]}" in + tag*) + #echo "resetting tags" >&2 + IFS=$'\t' read -ra tags <<< "$(hc tag_status $monitor)" + ;; + date) + #echo "resetting date" >&2 + date="${cmd[@]:1}" + ;; + quit_panel) + exit + ;; + togglehidepanel) + currentmonidx=$(hc list_monitors | sed -n '/\[FOCUS\]$/s/:.*//p') + if [ "${cmd[1]}" -ne "$monitor" ] ; then + continue + fi + if [ "${cmd[1]}" = "current" ] && [ "$currentmonidx" -ne "$monitor" ] ; then + continue + fi + echo "^togglehide()" + if $visible ; then + visible=false + hc pad $monitor 0 + else + visible=true + hc pad $monitor $panel_height + fi + ;; + reload) + exit + ;; + focus_changed|window_title_changed) + windowtitle="${cmd[@]:2}" + ;; + #player) + # ;; + esac + done + + ### dzen2 ### + # After the data is gathered and processed, the output of the previous block + # gets piped to dzen2. + +} 2> /dev/null | dzen2 -w $panel_width -x $x -y $y -fn "$font" -h $panel_height \ + -e 'button3=' \ + -ta l -bg "$bgcolor" -fg '#efefef' diff --git a/.config/herbstluftwm/panel.sh.bak b/.config/herbstluftwm/panel.sh.bak new file mode 100755 index 0000000..8c75b5c --- /dev/null +++ b/.config/herbstluftwm/panel.sh.bak @@ -0,0 +1,184 @@ +#!/bin/bash + +hc() { "${herbstclient_command[@]:-herbstclient}" "$@" ;} +monitor=${1:-0} +geometry=( $(herbstclient monitor_rect "$monitor") ) +if [ -z "$geometry" ] ;then + echo "Invalid monitor $monitor" + exit 1 +fi +# geometry has the format W H X Y +x=${geometry[0]} +y=${geometry[1]} +panel_width=${geometry[2]} +panel_height=18 +font="-*-fixed-medium-*-*-*-12-*-*-*-*-*-*-*" +bgcolor=$(hc get frame_border_normal_color) +selbg=$(hc get window_border_active_color) +selfg='#101010' + +#### +# Try to find textwidth binary. +# In e.g. Ubuntu, this is named dzen2-textwidth. +if which textwidth &> /dev/null ; then + textwidth="textwidth"; +elif which dzen2-textwidth &> /dev/null ; then + textwidth="dzen2-textwidth"; +else + echo "This script requires the textwidth tool of the dzen2 project." + exit 1 +fi +#### +# true if we are using the svn version of dzen2 +# depending on version/distribution, this seems to have version strings like +# "dzen-" or "dzen-x.x.x-svn" +if dzen2 -v 2>&1 | head -n 1 | grep -q '^dzen-\([^,]*-svn\|\),'; then + dzen2_svn="true" +else + dzen2_svn="" +fi + +if awk -Wv 2>/dev/null | head -1 | grep -q '^mawk'; then + # mawk needs "-W interactive" to line-buffer stdout correctly + # http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=593504 + uniq_linebuffered() { + awk -W interactive '$0 != l { print ; l=$0 ; fflush(); }' "$@" + } +else + # other awk versions (e.g. gawk) issue a warning with "-W interactive", so + # we don't want to use it there. + uniq_linebuffered() { + awk '$0 != l { print ; l=$0 ; fflush(); }' "$@" + } +fi + +hc pad $monitor $panel_height + +{ + ### Event generator ### + # based on different input data (mpc, date, hlwm hooks, ...) this generates events, formed like this: + # <eventname>\t<data> [...] + # e.g. + # date ^fg(#efefef)18:33^fg(#909090), 2013-10-^fg(#efefef)29 + + #mpc idleloop player & + while true ; do + # "date" output is checked once a second, but an event is only + # generated if the output changed compared to the previous run. + date +$'date\t^fg(#efefef)%H:%M^fg(#909090), %Y-%m-^fg(#efefef)%d' + sleep 1 || break + done > >(uniq_linebuffered) & + childpid=$! + hc --idle + kill $childpid +} 2> /dev/null | { + IFS=$'\t' read -ra tags <<< "$(hc tag_status $monitor)" + visible=true + date="" + windowtitle="" + while true ; do + + ### Output ### + # This part prints dzen data based on the _previous_ data handling run, + # and then waits for the next event to happen. + + bordercolor="#26221C" + separator="^bg()^fg($selbg)|" + # draw tags + for i in "${tags[@]}" ; do + case ${i:0:1} in + '#') + echo -n "^bg($selbg)^fg($selfg)" + ;; + '+') + echo -n "^bg(#9CA668)^fg(#141414)" + ;; + ':') + echo -n "^bg()^fg(#ffffff)" + ;; + '!') + echo -n "^bg(#FF0675)^fg(#141414)" + ;; + *) + echo -n "^bg()^fg(#ababab)" + ;; + esac + if [ ! -z "$dzen2_svn" ] ; then + # clickable tags if using SVN dzen + echo -n "^ca(1,\"${herbstclient_command[@]:-herbstclient}\" " + echo -n "focus_monitor \"$monitor\" && " + echo -n "\"${herbstclient_command[@]:-herbstclient}\" " + echo -n "use \"${i:1}\") ${i:1} ^ca()" + else + # non-clickable tags if using older dzen + echo -n " ${i:1} " + fi + done + echo -n "$separator" + echo -n "^bg()^fg() ${windowtitle//^/^^}" + # small adjustments + right="$separator^bg() $date $separator" + right_text_only=$(echo -n "$right" | sed 's.\^[^(]*([^)]*)..g') + # get width of right aligned text.. and add some space.. + width=$($textwidth "$font" "$right_text_only ") + echo -n "^pa($(($panel_width - $width)))$right" + echo + + ### Data handling ### + # This part handles the events generated in the event loop, and sets + # internal variables based on them. The event and its arguments are + # read into the array cmd, then action is taken depending on the event + # name. + # "Special" events (quit_panel/togglehidepanel/reload) are also handled + # here. + + # wait for next event + IFS=$'\t' read -ra cmd || break + # find out event origin + case "${cmd[0]}" in + tag*) + #echo "resetting tags" >&2 + IFS=$'\t' read -ra tags <<< "$(hc tag_status $monitor)" + ;; + date) + #echo "resetting date" >&2 + date="${cmd[@]:1}" + ;; + quit_panel) + exit + ;; + togglehidepanel) + currentmonidx=$(hc list_monitors | sed -n '/\[FOCUS\]$/s/:.*//p') + if [ "${cmd[1]}" -ne "$monitor" ] ; then + continue + fi + if [ "${cmd[1]}" = "current" ] && [ "$currentmonidx" -ne "$monitor" ] ; then + continue + fi + echo "^togglehide()" + if $visible ; then + visible=false + hc pad $monitor 0 + else + visible=true + hc pad $monitor $panel_height + fi + ;; + reload) + exit + ;; + focus_changed|window_title_changed) + windowtitle="${cmd[@]:2}" + ;; + #player) + # ;; + esac + done + + ### dzen2 ### + # After the data is gathered and processed, the output of the previous block + # gets piped to dzen2. + +} 2> /dev/null | dzen2 -w $panel_width -x $x -y $y -fn "$font" -h $panel_height \ + -e 'button3=' \ + -ta l -bg "$bgcolor" -fg '#efefef' diff --git a/.config/herbstluftwm/restartpanels.sh b/.config/herbstluftwm/restartpanels.sh new file mode 100755 index 0000000..9d9110c --- /dev/null +++ b/.config/herbstluftwm/restartpanels.sh @@ -0,0 +1,16 @@ +#!/bin/bash + +installdir=/ + +XDG_CONFIG_HOME="${XDG_CONFIG_HOME:-$HOME/.config}" +defaultpanel="$XDG_CONFIG_HOME/herbstluftwm/panel.sh" + +[ -x "$defaultpanel" ] || defaultpanel="$installdir/etc/xdg/herbstluftwm/panel.sh" + +panelcmd="${1:-$defaultpanel}" + +herbstclient emit_hook quit_panel + +for i in $(herbstclient list_monitors | cut -d':' -f1) ; do + "$panelcmd" $i & +done diff --git a/.config/herbstluftwm/tray.sh b/.config/herbstluftwm/tray.sh new file mode 100755 index 0000000..7a7ee01 --- /dev/null +++ b/.config/herbstluftwm/tray.sh @@ -0,0 +1,12 @@ +#!/bin/bash +hc() { "${herbstclient_command[@]:-herbstclient}" "$@" ;} +bgcolor=$(hc get frame_border_normal_color) + +run="" +while [ -z "$run" ]; do + sleep .5 + run=$(ps -e | grep dzen2) + echo "$run" +done + +stalonetray -bg "$bgcolor" --window-layer top --geometry 1x1+1752+1 --max-geometry 1752x18 --grow-gravity E -i 16 --kludges force_icons_size diff --git a/.config/nitrogen/bg-saved.cfg b/.config/nitrogen/bg-saved.cfg new file mode 100644 index 0000000..fc0c8b6 --- /dev/null +++ b/.config/nitrogen/bg-saved.cfg @@ -0,0 +1,4 @@ +[:0.0] +file=/home/shmibs/backdrops/hachimaka.jpg +mode=5 +bgcolor=#000000 diff --git a/.config/nitrogen/nitrogen.cfg b/.config/nitrogen/nitrogen.cfg new file mode 100644 index 0000000..33f9902 --- /dev/null +++ b/.config/nitrogen/nitrogen.cfg @@ -0,0 +1,10 @@ +[geometry] +posx=0 +posy=18 +sizex=1916 +sizey=1058 + +[nitrogen] +view=icon +icon_caps=false +dirs=/home/shmibs/backdrops; diff --git a/.pentadactylrc b/.pentadactylrc index 73d5204..738875a 100644 --- a/.pentadactylrc +++ b/.pentadactylrc @@ -1,9 +1,11 @@ -"hg6960 +"hg6981 loadplugins '\.(js|penta)$' group user +highlight Hint font: bold 12px "Droid Sans Mono", monospace !important; margin: -.2ex; padding: 0 0 0 1px; outline: 1px solid rgba(0, 0, 0, .5); background: rgba(255, 248, 231, .8); color: black; text-transform: uppercase; map -count -modes=n,v s <count>:tabopen<Space>duckduckgo<Space> map -count -modes=n,v S <count>:open<Space>duckduckgo<Space> map -count -modes=n,v ! <count>:tabopen<Space>duckduckgo<Space>! +set hintkeys=sldkfjgh " vim: set ft=pentadactyl: @@ -1,3 +1,18 @@ +#merge Xresources +if [ -s ~/.Xresources ] +then + xrdb -merge ~/.Xresources +fi + +#add compose key +if [ -s ~/.Xmodmap ] +then + xmodmap ~/.Xmodmap +fi + +#urxvt daemon +urxvtd & + #smplayer screenshot tmp dir if [ ! -d /tmp/smplayer_screenshots ] then @@ -5,8 +20,8 @@ then fi xsetroot -cursor_name left_ptr - compton -b -o 0.8 -r 10 -l -10 -t -10 --backend glx --paint-on-overlay & -ibus-daemon & +ibus-daemon -x & +nitrogen --restore & exec mate-session |