Browse Source

Dotfiles changes

Simon Watson 2 years ago
parent
commit
d9c30727ee
5 changed files with 149 additions and 5 deletions
  1. 1 0
      bashrc/bashrc-all
  2. 1 0
      bashrc/wal_alias
  3. 5 0
      emacs/.emacs-all
  4. 5 5
      openbox/casana-void/rc.xml
  5. 137 0
      tint2/tint2rc

+ 1 - 0
bashrc/bashrc-all

@@ -86,6 +86,7 @@ if [ ! -z $GPG_PATH ]; then
 fi
 
 alias open-ssh="ps aux | awk '{if (\$11 ~ /ssh$/) { print substr(\$0, index(\$0,\$9)) }}'"
+alias reload="source ~/.bashrc"
 
 # Case defines platform specific configs
 # Platform agnostic configs above

+ 1 - 0
bashrc/wal_alias

@@ -26,5 +26,6 @@ alias wal-dkeg-simplicity='wal -n -e --theme dkeg-simplicity'
 alias wal-sexy-material='wal -n -e --theme sexy-material'
 alias wal-sexy-simple_rainbow='wal -n -e --theme sexy-simple_rainbow'
 alias wal-solarized-l='wal -n -e --theme solarized -l'
+alias wal-solarized='wal -n -e --theme solarized'
 alias wal-base16-sol-l='wal -n -e --theme base16-solarized -l'
 alias wal-base16-grub-hard-l='wal -n -e --theme base16-gruvbox-hard -l'

+ 5 - 0
emacs/.emacs-all

@@ -49,6 +49,9 @@
 (straight-use-package
  '(pico8-mode :type git :host github
    :repo "Kaali/pico8-mode"))
+(straight-use-package
+ '(fzf :type git :host github
+   :repo "bling/fzf.el"))
 
 
 ;; Mastodon
@@ -172,6 +175,8 @@
   (load-theme 'solarized-light))
 
 ;; Keybinds/macros
+(global-set-key (kbd "C-c b") 'fzf-switch-buffer)
+(global-set-key (kbd "C-c z") 'fzf-find-file)
 (global-set-key (kbd "C-c e") 'diff-hl-mode)
 (global-set-key (kbd "C-c d") 'dimmer-mode)
 (global-set-key (kbd "C-c s") 'sublimity-mode)

+ 5 - 5
openbox/casana-void/rc.xml

@@ -259,11 +259,6 @@
       <action name="FocusToBottom"/>
       <action name="Unfocus"/>
     </keybind>
-    <keybind key="A-space">
-      <action name="ShowMenu">
-        <menu>client-menu</menu>
-      </action>
-    </keybind>
     <!-- Keybindings for window switching -->
     <keybind key="A-Tab">
       <action name="NextWindow">
@@ -330,6 +325,11 @@
         <command>rofi -show run</command>
       </action>
     </keybind>
+    <keybind key="A-d">
+      <action name="Execute">
+        <command>dmenu_run</command>
+      </action>
+    </keybind>
     <keybind key="A-S-space">
       <action name="Execute">
         <command>rofi -show window</command>

+ 137 - 0
tint2/tint2rc

@@ -0,0 +1,137 @@
+# Based on config from : https://github.com/addy-dclxvi/tint2-theme-collections/tree/master/uncreative
+#-------------------------------------
+# Gradients
+#-------------------------------------
+# Backgrounds
+# Background 1: Active task
+rounded = 0
+border_width = 1
+border_sides = TBLR
+border_content_tint_weight = 0
+background_content_tint_weight = 0
+background_color = #000000 100
+border_color = #ffffff 100
+background_color_hover = #b17c9a 100
+border_color_hover = #ffffff 100
+background_color_pressed = #000000 0
+border_color_pressed = #000000 0
+
+# Background 2: Default task
+rounded = 0
+border_width = 0
+border_sides = 
+border_content_tint_weight = 0
+background_content_tint_weight = 0
+background_color = #000000 100
+border_color = #b17c9a 100
+background_color_hover = #b17c9a 100
+border_color_hover = #b17c9a 100
+background_color_pressed = #000000 0
+border_color_pressed = #000000 0
+
+# Background 3: Panel
+rounded = 0
+border_width = 2
+border_sides = 
+border_content_tint_weight = 0
+background_content_tint_weight = 0
+background_color = #000000 100
+border_color = #b17c9a 100
+background_color_hover = #b17c9a 100
+border_color_hover = #b17c9a 100
+background_color_pressed = #000000 0
+border_color_pressed = #000000 0
+
+#-------------------------------------
+# Panel
+panel_items = TSC
+panel_size = 100% 26
+panel_margin = 0 0
+panel_padding = 4 5 0
+panel_background_id = 3
+wm_menu = 1
+panel_dock = 0
+panel_pivot_struts = 0
+panel_position = bottom center horizontal
+panel_layer = bottom
+panel_monitor = DP-1-2
+panel_shrink = 0
+autohide = 1
+autohide_show_timeout = 0.3
+autohide_hide_timeout = 0.7
+autohide_height = 6
+strut_policy = follow_size
+panel_window_name = tint2
+disable_transparency = 1
+mouse_effects = 0
+font_shadow = 0
+mouse_hover_icon_asb = 100 0 10
+mouse_pressed_icon_asb = 100 2 0
+scale_relative_to_dpi = 0
+scale_relative_to_screen_height = 0
+
+#-------------------------------------
+# Taskbar
+taskbar_mode = single_desktop
+taskbar_hide_if_empty = 0
+taskbar_padding = 0 0 8
+taskbar_background_id = 0
+taskbar_active_background_id = 0
+taskbar_name = 0
+taskbar_hide_inactive_tasks = 0
+taskbar_hide_different_monitor = 0
+taskbar_hide_different_desktop = 0
+taskbar_always_show_all_desktop_tasks = 0
+taskbar_name_padding = 4 4
+taskbar_name_background_id = 0
+taskbar_name_active_background_id = 0
+taskbar_name_font = Envy Code R 10
+taskbar_name_font_color = #ffffff 100
+taskbar_name_active_font_color = #828282 100
+taskbar_distribute_size = 0
+taskbar_sort_order = none
+task_align = center
+
+#-------------------------------------
+# Task
+task_text = 1
+task_icon = 0
+task_centered = 1
+urgent_nb_of_blink = 20
+task_maximum_size = 180 30
+task_padding = 8 2 4
+task_font = Noto Sans 8
+task_tooltip = 1
+task_thumbnail = 0
+task_thumbnail_size = 210
+task_font_color = #ffffff 100
+task_active_font_color = #ffffff 100
+task_background_id = 2
+task_active_background_id = 1
+task_urgent_background_id = 0
+task_iconified_background_id = 0
+mouse_left = toggle_iconify
+mouse_middle = none
+mouse_right = toggle
+mouse_scroll_up = toggle
+mouse_scroll_down = iconify
+
+#-------------------------------------
+# System tray (notification area)
+systray_padding = 4 2 3
+systray_background_id = 0
+systray_sort = right2left
+systray_icon_size = 24
+systray_icon_asb = 100 0 0
+systray_monitor = 1
+systray_name_filter = 
+
+#-------------------------------------
+# Tooltip
+tooltip_show_timeout = 0
+tooltip_hide_timeout = 0
+tooltip_padding = 10 10
+tooltip_background_id = 0
+tooltip_font_color = #828282 100
+tooltip_font = Sans 9
+