From 5e70c95984edeab648c3702b4286d8714d326bcf Mon Sep 17 00:00:00 2001 From: Von Random Date: Sat, 27 Jun 2015 18:12:44 +0300 Subject: [PATCH] some cleanup --- {bspwm => bspwm-fbt}/autostart | 0 {bspwm => bspwm-fbt}/bspmenu | 0 {bspwm => bspwm-fbt}/bspmenu_run | 0 {bspwm => bspwm-fbt}/bspmenu_url | 0 {bspwm => bspwm-fbt}/bsptf | 0 {bspwm => bspwm-fbt}/bsptl | 0 {bspwm => bspwm-fbt}/bspwmrc | 0 {bspwm => bspwm-fbt}/common | 0 {bspwm => bspwm-fbt}/panel/panel | 0 {bspwm => bspwm-fbt}/panel/panel_status | 0 {bspwm => bspwm-fbt}/sxhkdrc | 0 bspwm-py/bspwmrc | 41 ------------------------- 12 files changed, 41 deletions(-) rename {bspwm => bspwm-fbt}/autostart (100%) rename {bspwm => bspwm-fbt}/bspmenu (100%) rename {bspwm => bspwm-fbt}/bspmenu_run (100%) rename {bspwm => bspwm-fbt}/bspmenu_url (100%) rename {bspwm => bspwm-fbt}/bsptf (100%) rename {bspwm => bspwm-fbt}/bsptl (100%) rename {bspwm => bspwm-fbt}/bspwmrc (100%) rename {bspwm => bspwm-fbt}/common (100%) rename {bspwm => bspwm-fbt}/panel/panel (100%) rename {bspwm => bspwm-fbt}/panel/panel_status (100%) rename {bspwm => bspwm-fbt}/sxhkdrc (100%) delete mode 100755 bspwm-py/bspwmrc diff --git a/bspwm/autostart b/bspwm-fbt/autostart similarity index 100% rename from bspwm/autostart rename to bspwm-fbt/autostart diff --git a/bspwm/bspmenu b/bspwm-fbt/bspmenu similarity index 100% rename from bspwm/bspmenu rename to bspwm-fbt/bspmenu diff --git a/bspwm/bspmenu_run b/bspwm-fbt/bspmenu_run similarity index 100% rename from bspwm/bspmenu_run rename to bspwm-fbt/bspmenu_run diff --git a/bspwm/bspmenu_url b/bspwm-fbt/bspmenu_url similarity index 100% rename from bspwm/bspmenu_url rename to bspwm-fbt/bspmenu_url diff --git a/bspwm/bsptf b/bspwm-fbt/bsptf similarity index 100% rename from bspwm/bsptf rename to bspwm-fbt/bsptf diff --git a/bspwm/bsptl b/bspwm-fbt/bsptl similarity index 100% rename from bspwm/bsptl rename to bspwm-fbt/bsptl diff --git a/bspwm/bspwmrc b/bspwm-fbt/bspwmrc similarity index 100% rename from bspwm/bspwmrc rename to bspwm-fbt/bspwmrc diff --git a/bspwm/common b/bspwm-fbt/common similarity index 100% rename from bspwm/common rename to bspwm-fbt/common diff --git a/bspwm/panel/panel b/bspwm-fbt/panel/panel similarity index 100% rename from bspwm/panel/panel rename to bspwm-fbt/panel/panel diff --git a/bspwm/panel/panel_status b/bspwm-fbt/panel/panel_status similarity index 100% rename from bspwm/panel/panel_status rename to bspwm-fbt/panel/panel_status diff --git a/bspwm/sxhkdrc b/bspwm-fbt/sxhkdrc similarity index 100% rename from bspwm/sxhkdrc rename to bspwm-fbt/sxhkdrc diff --git a/bspwm-py/bspwmrc b/bspwm-py/bspwmrc deleted file mode 100755 index eb3e725..0000000 --- a/bspwm-py/bspwmrc +++ /dev/null @@ -1,41 +0,0 @@ -#!/usr/bin/env python -from subprocess import call - -color_fg_normal = '#f9f9f9' -color_fg_focused = color_fg_normal -color_bg_normal = '#2d2d2d' -color_bg_focused = '#00612b' -color_urgent = '#610000' -color_sticky_focused = '#030061' - -config = { - 'focused_border_color': color_bg_focused, - 'normal_border_color': color_bg_normal, - 'urgent_border_color': color_urgent, - 'focused_sticky_border_color': color_sticky_focused, - - 'top_padding': '18', - 'border_width': '2', - 'window_gap': '19', - - 'focus_follows_pointer': 'true', - 'pointer_follows_monitor': 'true', - 'split_ratio': '0.50', - 'borderless_monocle': 'true', - 'gapless_monocle': 'true', - 'focus_by_distance': 'true', - 'ignore_ewmh_focus': 'true' -} - -rules = { - 'URxvt': 'desktop=^2 follow=on floating=on' -} -bspc_cmd = '/usr/bin/bspc' - -call([bspc_cmd, 'monitor', '-d', '1', '2', '3', '4', '5']) - -for key, value in config.items(): - call([bspc_cmd, 'config', key, value]) - -for key, value in rules.items(): - call([bspc_cmd, 'rule', '-a', key, value])