diff options
Diffstat (limited to '.config')
-rw-r--r-- | .config/2bwm.config.h | 212 | ||||
-rw-r--r-- | .config/htop/htoprc | 12 | ||||
-rw-r--r-- | .config/mpd/mpd.conf | 42 | ||||
-rw-r--r-- | .config/terminator/config | 1 |
4 files changed, 7 insertions, 260 deletions
diff --git a/.config/2bwm.config.h b/.config/2bwm.config.h deleted file mode 100644 index 150b226..0000000 --- a/.config/2bwm.config.h +++ /dev/null @@ -1,212 +0,0 @@ -///---User configurable stuff---/// -///---Modifiers---/// -#define MOD XCB_MOD_MASK_4 /* Super/Windows key or check xmodmap(1) with -pm*/ -///--Speed---/// -/* Move this many pixels when moving or resizing with keyboard unless the window has hints saying otherwise. - *0)move step slow 1)move step fast - *2)mouse slow 3)mouse fast */ -static const uint16_t movements[] = {20,40,15,400}; -/* resize by line like in mcwm -- jmbi */ -static const bool resize_by_line = true; -/* the ratio used when resizing and keeping the aspect */ -static const float resize_keep_aspect_ratio= 1.03; -///---Offsets---/// -/*0)offsetx 1)offsety - *2)maxwidth 3)maxheight */ -static const uint8_t offsets[] = {0,0,0,24}; -///---Colors---/// -/*0)focuscol 1)unfocuscol - *2)fixedcol 3)unkilcol - *4)fixedunkilcol 5)outerbordercol - *6)emptycol */ -//static const char *colors[] = {"#304848","#787878","#183048","#E06A6A","#CC4E11","#606060","#000000"}; - -static const char *colors[] = {"#3A7D44","#C9DBCC","#30C5FF","#AC3931","#FBB13C","#C9DBCC","#556677"}; - -/* if this is set to true the inner border and outer borders colors will be swapped */ -static const bool inverted_colors = false; -///---Cursor---/// -/* default position of the cursor: - * correct values are: - * TOP_LEFT, TOP_RIGHT, BOTTOM_LEFT, BOTTOM_RIGHT, MIDDLE - * All these are relative to the current window. */ -#define CURSOR_POSITION MIDDLE -///---Borders---/// -/*0) Outer border size. If you put this negative it will be a square. - *1) Full borderwidth 2) Magnet border size - *3) Resize border size */ -static const uint8_t borders[] = {3,8,3,8}; -/* Windows that won't have a border.*/ -#define LOOK_INTO "WM_NAME" -static const char *ignore_names[] = {"bar", "xclock", "xfdesktop"}; -///--Menus and Programs---/// - -static const char *menucmd[] = { "rofi","-show", "DRun" ,NULL }; -static const char *gmrun[] = { "rofi", "-show", "run",NULL}; -static const char *terminal[] = { "urxvt", NULL }; -static const char *click1[] = { "xdotool","click", "1", NULL }; -static const char *click2[] = { "xdotool","click", "2", NULL }; -static const char *click3[] = { "xdotool","click", "3", NULL }; - -static const char *vol_up[] = { "amixer", "-D","pulse", "sset", "Master", "3%+", "-q", NULL }; -static const char *vol_down[] = { "amixer", "-D","pulse", "sset", "Master", "3%-", "-q", NULL }; -static const char *vol_mute[] = { "amixer", "-D","pulse", "sset", "Master", "1+","toggle", "-q", NULL }; - -///--Custom foo---/// -static void halfandcentered(const Arg *arg) -{ - Arg arg2 = {.i=2}; - maxhalf(&arg2); - Arg arg3 = {.i=0}; - teleport(&arg3); -} -///---Shortcuts---/// -/* Check /usr/include/X11/keysymdef.h for the list of all keys - * 0x000000 is for no modkey - * For AZERTY keyboards XK_1...0 should be replaced by : - * DESKTOPCHANGE( XK_ampersand, 0) - * DESKTOPCHANGE( XK_eacute, 1) - * DESKTOPCHANGE( XK_quotedbl, 2) - * DESKTOPCHANGE( XK_apostrophe, 3) - * DESKTOPCHANGE( XK_parenleft, 4) - * DESKTOPCHANGE( XK_minus, 5) - * DESKTOPCHANGE( XK_egrave, 6) - * DESKTOPCHANGE( XK_underscore, 7) - * DESKTOPCHANGE( XK_ccedilla, 8) - * DESKTOPCHANGE( XK_agrave, 9)* - */ -#define DESKTOPCHANGE(K,N) \ -{ MOD , K, changeworkspace, {.i=N}}, \ -{ MOD |SHIFT, K, sendtoworkspace, {.i=N}}, -static key keys[] = { - /* modifier key function argument */ - // Focus to next/previous window - { ALT , XK_Tab, focusnext, {.i=0}}, - { ALT |SHIFT, XK_Tab, focusnext, {.i=1}}, - // Kill a window - { ALT , XK_F4, deletewin, {.i=0}}, - // Resize a window - { MOD |SHIFT, XK_k, resizestep, {.i=2}}, - { MOD |SHIFT, XK_j, resizestep, {.i=1}}, - { MOD |SHIFT, XK_l, resizestep, {.i=3}}, - { MOD |SHIFT, XK_h, resizestep, {.i=0}}, - // Resize a window slower - { MOD |SHIFT|CONTROL,XK_k, resizestep, {.i=6}}, - { MOD |SHIFT|CONTROL,XK_j, resizestep, {.i=5}}, - { MOD |SHIFT|CONTROL,XK_l, resizestep, {.i=7}}, - { MOD |SHIFT|CONTROL,XK_h, resizestep, {.i=4}}, - // Move a window - { MOD , XK_k, movestep, {.i=2}}, - { MOD , XK_j, movestep, {.i=1}}, - { MOD , XK_l, movestep, {.i=3}}, - { MOD , XK_h, movestep, {.i=0}}, - // Move a window slower - { MOD |CONTROL, XK_k, movestep, {.i=6}}, - { MOD |CONTROL, XK_j, movestep, {.i=5}}, - { MOD |CONTROL, XK_l, movestep, {.i=7}}, - { MOD |CONTROL, XK_h, movestep, {.i=4}}, - // Teleport the window to an area of the screen. - // Center: - { MOD , XK_g, teleport, {.i=0}}, - // Center y: - { MOD |SHIFT, XK_g, teleport, {.i=3}}, - // Center x: - { MOD |CONTROL, XK_g, teleport, {.i=-3}}, - // Top left: - { MOD , XK_y, teleport, {.i=2}}, - // Top right: - { MOD , XK_u, teleport, {.i=-2}}, - // Bottom left: - { MOD , XK_b, teleport, {.i=1}}, - // Bottom right: - { MOD , XK_n, teleport, {.i=-1}}, - // Resize while keeping the window aspect - { MOD , XK_Home, resizestep_aspect, {.i=0}}, - { MOD , XK_End, resizestep_aspect, {.i=1}}, - // Full screen window without borders - { MOD , XK_x, maximize, {.i=1}}, - //Full screen window without borders overiding offsets - { MOD |SHIFT , XK_x, maximize, {.i=0}}, - // Maximize vertically - { MOD , XK_m, maxvert_hor, {.i=1}}, - // Maximize horizontally - { MOD |SHIFT, XK_m, maxvert_hor, {.i=0}}, - // Maximize and move - // vertically left - { MOD |SHIFT, XK_y, maxhalf, {.i=2}}, - // vertically right - { MOD |SHIFT, XK_u, maxhalf, {.i=1}}, - // horizontally left - { MOD |SHIFT, XK_b, maxhalf, {.i=-1}}, - // horizontally right - { MOD |SHIFT, XK_n, maxhalf, {.i=-2}}, - //fold half vertically - { MOD |SHIFT|CONTROL,XK_y, maxhalf, {.i=4}}, - //fold half horizontally - { MOD |SHIFT|CONTROL,XK_b, maxhalf, {.i=-4}}, - //unfold vertically - { MOD |SHIFT|CONTROL,XK_u, maxhalf, {.i=3}}, - //unfold horizontally - { MOD |SHIFT|CONTROL,XK_n, maxhalf, {.i=-3}}, - // Next/Previous screen - { MOD , XK_comma, changescreen, {.i=1}}, - { MOD , XK_period, changescreen, {.i=0}}, - // Raise or lower a window - { MOD , XK_r, raiseorlower, {.i=0}}, - // Next/Previous workspace - { ALT |CONTROL, XK_e, nextworkspace, {.i=0}}, - { ALT |CONTROL , XK_q, prevworkspace, {.i=0}}, - // Move to Next/Previous workspace - { ALT |SHIFT|CONTROL , XK_e, sendtonextworkspace,{.i=0}}, - { ALT |SHIFT|CONTROL , XK_q, sendtoprevworkspace,{.i=0}}, - // Iconify the window - { MOD , XK_i, hide, {.i=0}}, - // Make the window unkillable - { MOD , XK_a, unkillable, {.i=0}}, - // Make the window appear always on top - { MOD, XK_t, always_on_top, {.i=0}}, - // Make the window stay on all workspaces - { MOD , XK_f, fix, {.i=0}}, - // Move the cursor - { MOD , XK_Up, cursor_move, {.i=4}}, - { MOD , XK_Down, cursor_move, {.i=5}}, - { MOD , XK_Right, cursor_move, {.i=6}}, - { MOD , XK_Left, cursor_move, {.i=7}}, - // Move the cursor faster - { MOD |SHIFT, XK_Up, cursor_move, {.i=0}}, - { MOD |SHIFT, XK_Down, cursor_move, {.i=1}}, - { MOD |SHIFT, XK_Right, cursor_move, {.i=2}}, - { MOD |SHIFT, XK_Left, cursor_move, {.i=3}}, - // Start programs - { CONTROL |ALT, XK_t, start, {.com = terminal}}, - { MOD , XK_w, start, {.com = menucmd}}, - { MOD |SHIFT, XK_w, start, {.com = gmrun}}, - // Exit or restart 2bwm - { MOD |CONTROL, XK_q, twobwm_exit, {.i=0}}, - { MOD |CONTROL, XK_r, twobwm_restart, {.i=0}}, - { MOD , XK_space, halfandcentered, {.i=0}}, - // Fake clicks using xdotool - { MOD |CONTROL, XK_Up, start, {.com = click1}}, - { MOD |CONTROL, XK_Down, start, {.com = click2}}, - { MOD |CONTROL, XK_Right, start, {.com = click3}}, - // Change current workspace - DESKTOPCHANGE( XK_1, 0) - DESKTOPCHANGE( XK_2, 1) - DESKTOPCHANGE( XK_3, 2) - DESKTOPCHANGE( XK_4, 3) - DESKTOPCHANGE( XK_5, 4) - DESKTOPCHANGE( XK_6, 5) - DESKTOPCHANGE( XK_7, 6) - DESKTOPCHANGE( XK_8, 7) - DESKTOPCHANGE( XK_9, 8) - DESKTOPCHANGE( XK_0, 9) -}; -static Button buttons[] = { - { MOD ,XCB_BUTTON_INDEX_1, mousemotion, {.i=TWOBWM_MOVE}}, - { MOD ,XCB_BUTTON_INDEX_3, mousemotion, {.i=TWOBWM_RESIZE}}, - { MOD|CONTROL,XCB_BUTTON_INDEX_3, start, {.com = menucmd}}, - { MOD|SHIFT, XCB_BUTTON_INDEX_1, changeworkspace, {.i=0}}, - { MOD|SHIFT, XCB_BUTTON_INDEX_3, changeworkspace, {.i=1}}, - { MOD|ALT, XCB_BUTTON_INDEX_1, changescreen, {.i=1}}, - { MOD|ALT, XCB_BUTTON_INDEX_3, changescreen, {.i=0}} -}; diff --git a/.config/htop/htoprc b/.config/htop/htoprc index 0d355a4..f4728fd 100644 --- a/.config/htop/htoprc +++ b/.config/htop/htoprc @@ -1,7 +1,7 @@ # Beware! This file is rewritten by htop when settings are changed in the interface. # The parser is also very primitive, and not human-friendly. -fields=0 6 48 17 18 38 39 40 2 46 47 49 1 -sort_key=48 +fields=0 6 48 17 18 38 39 40 2 46 47 49 1 +sort_key=46 sort_direction=1 hide_threads=0 hide_kernel_threads=1 @@ -20,7 +20,7 @@ update_process_names=0 account_guest_in_cpu_meter=0 color_scheme=5 delay=15 -left_meters=CPU AllCPUs Blank Memory Swap -left_meter_modes=1 1 2 1 1 -right_meters=Clock Tasks LoadAverage Uptime Hostname Battery -right_meter_modes=2 2 2 2 2 2 +left_meters=CPU AllCPUs Blank Memory Swap +left_meter_modes=1 1 2 1 1 +right_meters=Clock Tasks LoadAverage Uptime Hostname Battery +right_meter_modes=2 2 2 2 2 2 diff --git a/.config/mpd/mpd.conf b/.config/mpd/mpd.conf deleted file mode 100644 index 10d4661..0000000 --- a/.config/mpd/mpd.conf +++ /dev/null @@ -1,42 +0,0 @@ -# An example configuration file for MPD. -# Read the user manual for documentation: http://www.musicpd.org/doc/user/ -# or /usr/share/doc/mpd/user-manual.html - - -# Required files -db_file "~/.config/mpd/database" -log_file "~/.config/mpd/log" - -# Optional -music_directory "/media/julian/JUUSB/Musik/" -playlist_directory "~/.config/mpd/playlists" -pid_file "~/.config/mpd/pid" -state_file "~/.config/mpd/state" -sticker_file "~/.config/mpd/sticker.sql" - - -# Options -bind_to_address "localhost" - -gapless_mp3_playback "yes" - -restore_paused "yes" - - -auto_update "yes" - -volume_normalization "yes" - - -audio_output { - type "pulse" - name "PulseAudio" -} - -audio_output { - type "fifo" - name "my_fifo" - path "/tmp/mpd.fifo" - format "44100:16:2" -} - diff --git a/.config/terminator/config b/.config/terminator/config index c408a3a..41d4574 100644 --- a/.config/terminator/config +++ b/.config/terminator/config @@ -1,5 +1,6 @@ [global_config] focus = system + inactive_color_offset = 1.0 suppress_multiple_term_dialog = True title_transmit_bg_color = "#d30102" [keybindings] |