diff --git a/config.yaml b/config.yaml index c5973ea..9ca4f1b 100644 --- a/config.yaml +++ b/config.yaml @@ -25,6 +25,9 @@ dotfiles: d_sxhkd: dst: ~/.config/sxhkd src: config/sxhkd + f_compton.conf: + dst: ~/.config/compton/compton.conf + src: config/compton/compton.conf f_fehbg: dst: ~/.fehbg src: fehbg @@ -36,6 +39,9 @@ dotfiles: f_profile: dst: ~/.profile src: profile + f_rofi_config: + dst: ~/.config/rofi/config + src: config/rofi/config f_ssh-agent.service: dst: ~/.config/systemd/user/ssh-agent.service src: config/systemd/user/ssh-agent.service @@ -73,3 +79,5 @@ profiles: - d_colors - f_xresources - f_ssh-agent.service + - f_compton.conf + - f_rofi_config diff --git a/dotfiles/config/albert/albert.conf b/dotfiles/config/albert/albert.conf deleted file mode 100644 index 14d75ce..0000000 --- a/dotfiles/config/albert/albert.conf +++ /dev/null @@ -1,75 +0,0 @@ -; -; {{@@ env['dotdrop_warning'] @@}} -; - -[General] -frontendId=org.albert.frontend.boxmodel.widgets -hotkey=Meta+Space -showTray=true -standsalone_note_shown=true - -[org.albert.extension.applications] -enabled=true - -[org.albert.extension.calculator] -enabled=true - -[org.albert.extension.chromebookmarks] -enabled=false - -[org.albert.extension.externalextensions] -enabled=true - -[org.albert.extension.files] -enabled=true - -[org.albert.extension.firefoxbookmarks] -enabled=true -profile=Profile0 - -[org.albert.extension.hashgenerator] -enabled=true - -[org.albert.extension.kvstore] -enabled=true - -[org.albert.extension.mpris] -enabled=true - -[org.albert.extension.python] -enabled=true -enabled_modules=AUR, Kill, Pacman, Python, Wikipedia - -[org.albert.extension.ssh] -enabled=true - -[org.albert.extension.system] -enabled=true - -[org.albert.extension.terminal] -enabled=true - -[org.albert.extension.websearch] -enabled=true - -[org.albert.frontend.boxmodel.qml] -alwaysOnTop=true -clearOnHide=false -hideOnClose=false -hideOnFocusLoss=true -showCentered=true -stylePath=/usr/share/albert/org.albert.frontend.boxmodel.qml/styles/BoxModel/MainComponent.qml -windowPosition=@Point(611 285) - -[org.albert.frontend.boxmodel.widgets] -alwaysOnTop=true -clearOnHide=true -displayIcons=true -displayScrollbar=false -displayShadow=true -hideOnClose=false -hideOnFocusLoss=true -itemCount=5 -showCentered=true -theme=bspwm -windowPosition=@Point(610 285) diff --git a/dotfiles/config/bspwm/bg.png b/dotfiles/config/bspwm/bg.png deleted file mode 100644 index 9bf05ef..0000000 Binary files a/dotfiles/config/bspwm/bg.png and /dev/null differ diff --git a/dotfiles/config/bspwm/bspwmrc b/dotfiles/config/bspwm/bspwmrc index c25697f..941f0cf 100755 --- a/dotfiles/config/bspwm/bspwmrc +++ b/dotfiles/config/bspwm/bspwmrc @@ -6,25 +6,23 @@ # https://wiki.archlinux.org/index.php/GNOME/Keyring # Launch sxhkd sxhkd & -# Set Wallpaper -$HOME/.fehbg # Launch polybar(s) $HOME/.config/polybar/launch.sh & -# Launch NetworkManager applet -/usr/bin/nm-applet & -# Launch Nextcloud -/usr/bin/nextcloud & # Set windomanager name to LG3D to get JAVA programs back to work wmname LG3D bspc config border_width 2 bspc config window_gap 5 -bspc config split_ratio 0.5 +bspc config split_ratio 0.52 bspc config borderless_monocle true -bspc config gapless_monocle true +bspc config gapless_monocle false bspc config click_to_focus true -bspc monitor -d 0000 0001 0010 0011 0100 0101 0110 0111 +bspc monitor -d I II III IV V VI VII VIII IX X bspc rule -a Gimp follow=on floating=on +bspc rule -a xfce4-notes floating=on +bspc rule -a quassel desktop=^9 follow=on +bspc rule -a franz desktop=^9 follow=on +bspc rule -a spotify desktop=^10 follow=on diff --git a/dotfiles/config/bspwm/lock.png b/dotfiles/config/bspwm/lock.png deleted file mode 100644 index 9bf05ef..0000000 Binary files a/dotfiles/config/bspwm/lock.png and /dev/null differ diff --git a/dotfiles/config/compton/compton.conf b/dotfiles/config/compton/compton.conf new file mode 100644 index 0000000..8247d15 --- /dev/null +++ b/dotfiles/config/compton/compton.conf @@ -0,0 +1,237 @@ +# +# {{@@ env['dotdrop_warning'] @@}} +# +# Thank you code_nomad: http://9m.no/ꪯ鵞 + +################################# +# +# Backend +# +################################# + +# Backend to use: "xrender" or "glx". +# GLX backend is typically much faster but depends on a sane driver. +backend = "glx"; + +################################# +# +# GLX backend +# +################################# + +glx-no-stencil = true; + +# GLX backend: Copy unmodified regions from front buffer instead of redrawing them all. +# My tests with nvidia-drivers show a 10% decrease in performance when the whole screen is modified, +# but a 20% increase when only 1/4 is. +# My tests on nouveau show terrible slowdown. +# Useful with --glx-swap-method, as well. +glx-copy-from-front = false; + +# GLX backend: Use MESA_copy_sub_buffer to do partial screen update. +# My tests on nouveau shows a 200% performance boost when only 1/4 of the screen is updated. +# May break VSync and is not available on some drivers. +# Overrides --glx-copy-from-front. +# glx-use-copysubbuffermesa = true; + +# GLX backend: Avoid rebinding pixmap on window damage. +# Probably could improve performance on rapid window content changes, but is known to break things on some drivers (LLVMpipe). +# Recommended if it works. +# glx-no-rebind-pixmap = true; + + +# GLX backend: GLX buffer swap method we assume. +# Could be undefined (0), copy (1), exchange (2), 3-6, or buffer-age (-1). +# undefined is the slowest and the safest, and the default value. +# copy is fastest, but may fail on some drivers, +# 2-6 are gradually slower but safer (6 is still faster than 0). +# Usually, double buffer means 2, triple buffer means 3. +# buffer-age means auto-detect using GLX_EXT_buffer_age, supported by some drivers. +# Useless with --glx-use-copysubbuffermesa. +# Partially breaks --resize-damage. +# Defaults to undefined. +glx-swap-method = "undefined"; + +################################# +# +# Shadows +# +################################# + +# Enabled client-side shadows on windows. +shadow = true; +# Don't draw shadows on DND windows. +no-dnd-shadow = true; +# Avoid drawing shadows on dock/panel windows. +no-dock-shadow = true; +# Zero the part of the shadow's mask behind the window. Fix some weirdness with ARGB windows. +clear-shadow = true; +# The blur radius for shadows. (default 12) +shadow-radius = 12; +# The left offset for shadows. (default -15) +shadow-offset-x = -15; +# The top offset for shadows. (default -15) +shadow-offset-y = -15; +# The translucency for shadows. (default .75) +shadow-opacity = 0.75; + +# Set if you want different colour shadows +# shadow-red = 0.0; +# shadow-green = 0.0; +# shadow-blue = 0.0; + +# The shadow exclude options are helpful if you have shadows enabled. Due to the way compton draws its shadows, certain applications will have visual glitches +# (most applications are fine, only apps that do weird things with xshapes or argb are affected). +# This list includes all the affected apps I found in my testing. The "! name~=''" part excludes shadows on any "Unknown" windows, this prevents a visual glitch with the XFWM alt tab switcher. +shadow-exclude = [ + "! name~=''", + "name = 'Notification'", + "name = 'Plank'", + "name = 'Docky'", + "name = 'Kupfer'", + "name = 'xfce4-notifyd'", + "name *= 'VLC'", + "name *= 'compton'", + "name *= 'Chromium'", + "name *= 'Chrome'", + "class_g = 'Conky'", + "class_g = 'Kupfer'", + "class_g = 'Synapse'", + "class_g ?= 'Notify-osd'", + "class_g ?= 'Cairo-dock'", + "class_g ?= 'Xfce4-notifyd'", + "class_g ?= 'Xfce4-power-manager'", + "_GTK_FRAME_EXTENTS@:c" +]; +# Avoid drawing shadow on all shaped windows (see also: --detect-rounded-corners) +shadow-ignore-shaped = false; + +################################# +# +# Opacity +# +################################# + +menu-opacity = 1; +inactive-window-opacity = 1; +inactive-opacity = 0.65; +active-opacity = 1; +frame-opacity = 1; +inactive-opacity-override = false; +alpha-step = 0.06; + +# Dim inactive windows. (0.0 - 1.0) +# inactive-dim = 0.2; +# Do not let dimness adjust based on window opacity. +# inactive-dim-fixed = true; +# Blur background of transparent windows. Bad performance with X Render backend. GLX backend is preferred. +# blur-background = true; +# Blur background of opaque windows with transparent frames as well. +# blur-background-frame = true; +# Do not let blur radius adjust based on window opacity. +blur-background-fixed = false; +blur-background-exclude = [ + "window_type = 'dock'", + "window_type = 'desktop'" +]; + +################################# +# +# Fading +# +################################# + +# Fade windows during opacity changes. +fading = true; +# The time between steps in a fade in milliseconds. (default 10). +fade-delta = 7; +# Opacity change between steps while fading in. (default 0.028). +fade-in-step = 0.03; +# Opacity change between steps while fading out. (default 0.03). +fade-out-step = 0.03; +# Fade windows in/out when opening/closing +# no-fading-openclose = true; + +# Specify a list of conditions of windows that should not be faded. +fade-exclude = [ ]; + +################################# +# +# Other +# +################################# + +# Try to detect WM windows and mark them as active. +mark-wmwin-focused = false; +# Mark all non-WM but override-redirect windows active (e.g. menus). +mark-ovredir-focused = false; +# Use EWMH _NET_WM_ACTIVE_WINDOW to determine which window is focused instead of using FocusIn/Out events. +# Usually more reliable but depends on a EWMH-compliant WM. +# use-ewmh-active-win = false; +# Detect rounded corners and treat them as rectangular when --shadow-ignore-shaped is on. +detect-rounded-corners = true; + +# Detect _NET_WM_OPACITY on client windows, useful for window managers not passing _NET_WM_OPACITY of client windows to frame windows. +# This prevents opacity being ignored for some apps. +# For example without this enabled my xfce4-notifyd is 100% opacity no matter what. +detect-client-opacity = true; + +# Specify refresh rate of the screen. +# If not specified or 0, compton will try detecting this with X RandR extension. +refresh-rate = 0; + +# Set VSync method. VSync methods currently available: +# none: No VSync +# drm: VSync with DRM_IOCTL_WAIT_VBLANK. May only work on some drivers. +# opengl: Try to VSync with SGI_video_sync OpenGL extension. Only work on some drivers. +# opengl-oml: Try to VSync with OML_sync_control OpenGL extension. Only work on some drivers. +# opengl-swc: Try to VSync with SGI_swap_control OpenGL extension. Only work on some drivers. Works only with GLX backend. Known to be most effective on many drivers. Does not actually control paint timing, only buffer swap is affected, so it doesn’t have the effect of --sw-opti unlike other methods. Experimental. +# opengl-mswc: Try to VSync with MESA_swap_control OpenGL extension. Basically the same as opengl-swc above, except the extension we use. +# (Note some VSync methods may not be enabled at compile time.) +vsync = "opengl-swc"; + +# Enable DBE painting mode, intended to use with VSync to (hopefully) eliminate tearing. +# Reported to have no effect, though. +dbe = false; +# Painting on X Composite overlay window. Recommended. +paint-on-overlay = true; + +# Limit compton to repaint at most once every 1 / refresh_rate second to boost performance. +# This should not be used with --vsync drm/opengl/opengl-oml as they essentially does --sw-opti's job already, +# unless you wish to specify a lower refresh rate than the actual value. +sw-opti = true; + +# Unredirect all windows if a full-screen opaque window is detected, to maximize performance for full-screen windows, like games. +# Known to cause flickering when redirecting/unredirecting windows. +# paint-on-overlay may make the flickering less obvious. +unredir-if-possible = true; + +# Specify a list of conditions of windows that should always be considered focused. +focus-exclude = ["name = 'rofi'"]; + +# Use WM_TRANSIENT_FOR to group windows, and consider windows in the same group focused at the same time. +detect-transient = true; +# Use WM_CLIENT_LEADER to group windows, and consider windows in the same group focused at the same time. +# WM_TRANSIENT_FOR has higher priority if --detect-transient is enabled, too. +detect-client-leader = true; + +################################# +# +# Window type settings +# +################################# + +wintypes: +{ + tooltip = + { + # fade: Fade the particular type of windows. + fade = true; + # shadow: Give those windows shadow + shadow = false; + # opacity: Default opacity for the type of windows. + opacity = 0.85; + # focus: Whether to always consider windows of this type focused. + focus = true; + }; +}; diff --git a/dotfiles/config/polybar/mod_config b/dotfiles/config/polybar/mod_config index 068288e..9272650 100644 --- a/dotfiles/config/polybar/mod_config +++ b/dotfiles/config/polybar/mod_config @@ -54,9 +54,8 @@ interval = 25 mount-0 = / mount-1 = /home -mount-2 = /boot -mount-3 = /esp -mount-4 = /tmp +mount-2 = /efi +mount-3 = /tmp label-mounted = %{F#0a81f5}%mountpoint%%{F-}: %used% (%percentage_used%%)/%free% label-unmounted = %mountpoint% not mounted diff --git a/dotfiles/config/rofi/config b/dotfiles/config/rofi/config new file mode 100644 index 0000000..634d2a6 --- /dev/null +++ b/dotfiles/config/rofi/config @@ -0,0 +1,256 @@ +! +! {{@@ env['dotdrop_warning'] @@}} +! + +! ------------------------------------------------------------------------------ +! Color theme +! ------------------------------------------------------------------------------ +!rofi.color-enabled: true +!rofi.color-window: #000000, #07ff00, #07ff00 +!rofi.color-normal: #000000, #07ff00, #000000, #07ff00, #000000 +!rofi.color-active: #000000, #ffffff, #000000, #ffffff, #000000 +!rofi.color-urgent: #000000, #dc322f, #000000, #dc322f, #000000 +rofi.theme: glue_pro_blue + +! ------------------------------------------------------------------------------ +! Font +! ------------------------------------------------------------------------------ +rofi.font: SourceCodePro+Powerline+Awesome regular 11 + +! ------------------------------------------------------------------------------ +! Run modes displayed at the bottom of window +! ------------------------------------------------------------------------------ +rofi.sidebar-mode: true + +! ------------------------------------------------------------------------------ +! Separator style +! ------------------------------------------------------------------------------ +rofi.separator-style: solid + +! ------------------------------------------------------------------------------ +! Configuration Options +! ------------------------------------------------------------------------------ +! "Enabled modi" Set from: Default +rofi.modi: window,drun,ssh +! "Window width" Set from: Default +! rofi.width: 50 +! "Number of lines" Set from: Default +! rofi.lines: 15 +! "Opacity" +! rofi.opacity: 100 +! "Number of columns" Set from: Default +! rofi.columns: 1 +! "Font to use" Set from: Default +! rofi.font: mono 12 +! "Color scheme for normal row" Set from: Default +! rofi.color-normal: #fdf6e3,#002b36,#eee8d5,#586e75,#eee8d5 +! "Color scheme for urgent row" Set from: Default +! rofi.color-urgent: #fdf6e3,#dc322f,#eee8d5,#dc322f,#fdf6e3 +! "Color scheme for active row" Set from: Default +! rofi.color-active: #fdf6e3,#268bd2,#eee8d5,#268bd2,#fdf6e3 +! "Color scheme window" Set from: Default +! rofi.color-window: #fdf6e3,#002b36 +! "Border width" Set from: Default +! rofi.bw: 1 +! "Location on screen" Set from: Default +! rofi.location: 0 +! "Padding" Set from: Default +! rofi.padding: 5 +! "Y-offset relative to location" Set from: Default +! rofi.yoffset: 0 +! "X-offset relative to location" Set from: Default +! rofi.xoffset: 0 +! "Always show number of lines" Set from: Default +! rofi.fixed-num-lines: true +! "Terminal to use" Set from: Default +! rofi.terminal: rofi-sensible-terminal +! "Ssh client to use" Set from: Default +! rofi.ssh-client: ssh +! "Ssh command to execute" Set from: Default +! rofi.ssh-command: {terminal} -e {ssh-client} {host} +! "Run command to execute" Set from: Default +! rofi.run-command: {cmd} +! "Command to get extra run targets" Set from: Default +! rofi.run-list-command: +! "Run command to execute that runs in shell" Set from: Default +! rofi.run-shell-command: {terminal} -e {cmd} +! "Command executed on accep-entry-custom for window modus" Set from: Default +! rofi.window-command: xkill -id {window} +! "Disable history in run/ssh" Set from: Default +! rofi.disable-history: false +! "Use levenshtein sorting" Set from: Default +! rofi.levenshtein-sort: false +! "Set case-sensitivity" Set from: Default +! rofi.case-sensitive: false +! "Cycle through the results list" Set from: Default +! rofi.cycle: true +! "Enable sidebar-mode" Set from: Default +! rofi.sidebar-mode: false +! "Row height (in chars)" Set from: Default +! rofi.eh: 1 +! "Enable auto select mode" Set from: Default +! rofi.auto-select: false +! "Parse hosts file for ssh mode" Set from: Default +! rofi.parse-hosts: false +! "Parse known_hosts file for ssh mode" Set from: Default +! rofi.parse-known-hosts: true +! "Set the modi to combine in combi mode" Set from: Default +! rofi.combi-modi: window,run +! "Set the matching algorithm. (normal, regex, glob, fuzzy)" Set from: Default +! rofi.matching: normal +! "Tokenize input string" Set from: Default +! rofi.tokenize: true +! "Monitor id to show on" Set from: Default +! rofi.m: -5 +! "Margin between rows" Set from: Default +! rofi.line-margin: 2 +! "Padding within rows" Set from: Default +! rofi.line-padding: 1 +! "Pre-set filter" Set from: Default +! rofi.filter: +! "Separator style (none, dash, solid)" Set from: Default +! rofi.separator-style: dash +! "Hide scroll-bar" Set from: Default +! rofi.hide-scrollbar: false +! "Fullscreen" Set from: Default +! rofi.fullscreen: true +! "Fake transparency" Set from: Default +! rofi.fake-transparency: false +! "DPI" Set from: Default +! rofi.dpi: -1 +! "Threads to use for string matching" Set from: Default +! rofi.threads: 0 +! "Scrollbar width" Set from: Default +! rofi.scrollbar-width: 8 +! "Scrolling method. (0: Page, 1: Centered)" Set from: Default +! rofi.scroll-method: 0 +! "Background to use for fake transparency. (background or screenshot)" Set from: Default +! rofi.fake-background: screenshot +! "Window Format. w (desktop name), t (title), n (name), r (role), c (class)" Set from: Default +! rofi.window-format: {w} {c} {t} +! "Click outside the window to exit" Set from: Default +! rofi.click-to-exit: true +! "Indicate how it match by underlining it." Set from: Default +! rofi.show-match: true +! "Pidfile location" Set from: Default +! rofi.pid: /run/user/1000/rofi.pid +! "Paste primary selection" Set from: Default +! rofi.kb-primary-paste: Control+V,Shift+Insert +! "Paste clipboard" Set from: Default +! rofi.kb-secondary-paste: Control+v,Insert +! "Clear input line" Set from: Default +! rofi.kb-clear-line: Control+w +! "Beginning of line" Set from: Default +! rofi.kb-move-front: Control+a +! "End of line" Set from: Default +! rofi.kb-move-end: Control+e +! "Move back one word" Set from: Default +! rofi.kb-move-word-back: Alt+b +! "Move forward one word" Set from: Default +! rofi.kb-move-word-forward: Alt+f +! "Move back one char" Set from: Default +! rofi.kb-move-char-back: Left,Control+b +! "Move forward one char" Set from: Default +! rofi.kb-move-char-forward: Right,Control+f +! "Delete previous word" Set from: Default +! rofi.kb-remove-word-back: Control+Alt+h,Control+BackSpace +! "Delete next word" Set from: Default +! rofi.kb-remove-word-forward: Control+Alt+d +! "Delete next char" Set from: Default +! rofi.kb-remove-char-forward: Delete,Control+d +! "Delete previous char" Set from: Default +! rofi.kb-remove-char-back: BackSpace,Control+h +! "Delete till the end of line" Set from: Default +! rofi.kb-remove-to-eol: Control+k +! "Delete till the start of line" Set from: Default +! rofi.kb-remove-to-sol: Control+u +! "Accept entry" Set from: Default +! rofi.kb-accept-entry: Control+j,Control+m,Return,KP_Enter +! "Use entered text as command (in ssh/run modi)" Set from: Default +! rofi.kb-accept-custom: Control+Return +! "Use alternate accept command." Set from: Default +! rofi.kb-accept-alt: Shift+Return +! "Delete entry from history" Set from: Default +! rofi.kb-delete-entry: Shift+Delete +! "Switch to the next mode." Set from: Default +! rofi.kb-mode-next: Shift+Right,Control+Tab +! "Switch to the previous mode." Set from: Default +! rofi.kb-mode-previous: Shift+Left,Control+Shift+Tab +! "Go to the previous column" Set from: Default +! rofi.kb-row-left: Control+Page_Up +! "Go to the next column" Set from: Default +! rofi.kb-row-right: Control+Page_Down +! "Select previous entry" Set from: Default +! rofi.kb-row-up: Up,Control+p,Shift+Tab,Shift+ISO_Left_Tab +! "Select next entry" Set from: Default +! rofi.kb-row-down: Down,Control+n +! "Go to next row, if one left, accept it, if no left next mode." Set from: Default +! rofi.kb-row-tab: Tab +! "Go to the previous page" Set from: Default +! rofi.kb-page-prev: Page_Up +! "Go to the next page" Set from: Default +! rofi.kb-page-next: Page_Down +! "Go to the first entry" Set from: Default +! rofi.kb-row-first: Home,KP_Home +! "Go to the last entry" Set from: Default +! rofi.kb-row-last: End,KP_End +! "Set selected item as input text" Set from: Default +! rofi.kb-row-select: Control+space +! "Take a screenshot of the rofi window" Set from: Default +! rofi.kb-screenshot: Alt+S +! "Toggle case sensitivity" Set from: Default +! rofi.kb-toggle-case-sensitivity: grave,dead_grave +! "Toggle sort" Set from: Default +! rofi.kb-toggle-sort: Alt+grave +! "Quit rofi" Set from: Default +! rofi.kb-cancel: Escape,Control+g,Control+bracketleft +! "Custom keybinding 1" Set from: Default +! rofi.kb-custom-1: Alt+1 +! "Custom keybinding 2" Set from: Default +! rofi.kb-custom-2: Alt+2 +! "Custom keybinding 3" Set from: Default +! rofi.kb-custom-3: Alt+3 +! "Custom keybinding 4" Set from: Default +! rofi.kb-custom-4: Alt+4 +! "Custom Keybinding 5" Set from: Default +! rofi.kb-custom-5: Alt+5 +! "Custom keybinding 6" Set from: Default +! rofi.kb-custom-6: Alt+6 +! "Custom Keybinding 7" Set from: Default +! rofi.kb-custom-7: Alt+7 +! "Custom keybinding 8" Set from: Default +! rofi.kb-custom-8: Alt+8 +! "Custom keybinding 9" Set from: Default +! rofi.kb-custom-9: Alt+9 +! "Custom keybinding 10" Set from: Default +! rofi.kb-custom-10: Alt+0 +! "Custom keybinding 11" Set from: Default +! rofi.kb-custom-11: Alt+exclam +! "Custom keybinding 12" Set from: Default +! rofi.kb-custom-12: Alt+at +! "Csutom keybinding 13" Set from: Default +! rofi.kb-custom-13: Alt+numbersign +! "Custom keybinding 14" Set from: Default +! rofi.kb-custom-14: Alt+dollar +! "Custom keybinding 15" Set from: Default +! rofi.kb-custom-15: Alt+percent +! "Custom keybinding 16" Set from: Default +! rofi.kb-custom-16: Alt+dead_circumflex +! "Custom keybinding 17" Set from: Default +! rofi.kb-custom-17: Alt+ampersand +! "Custom keybinding 18" Set from: Default +! rofi.kb-custom-18: Alt+asterisk +! "Custom Keybinding 19" Set from: Default +! rofi.kb-custom-19: Alt+parenleft +! "The display name of this browser" Set from: Default +! rofi.display-ssh: +! "The display name of this browser" Set from: Default +! rofi.display-run: +! "The display name of this browser" Set from: Default +! rofi.display-drun: +! "The display name of this browser" Set from: Default +! rofi.display-window: +! "The display name of this browser" Set from: Default +! rofi.display-windowcd: +! "The display name of this browser" Set from: Default +! rofi.display-combi: diff --git a/dotfiles/config/sxhkd/sxhkdrc b/dotfiles/config/sxhkd/sxhkdrc index 81786b9..e061cd7 100755 --- a/dotfiles/config/sxhkd/sxhkdrc +++ b/dotfiles/config/sxhkd/sxhkdrc @@ -6,9 +6,9 @@ # bspwm hotkeys ## -# Kill bspwm & polybar +# Kill open logout menu super + alt + Escape - bspc quit 1 && pkill -x polybar + xfce4-session-logout # Switch to desktop ctrl + alt + {Left,Right} @@ -46,6 +46,40 @@ super + {s,f,t} super + w bspc node -c +# === function keys === + +# rotate windows +F1 + bspc node @/ -R 90 + +# circulate windows +F2 + bspc node @/ -C forward + +# flip windows horizontal +F3 + bspc node @/ -F horizontal + +# flip windows vertical +F4 + bspc node @/ -F vertical + +# alternate between the tiled and monocle layout +F5 + bspc desktop -l next + +# balance windows +F6 + bspc node @/ -B + +# Change window gap +{F7,F8} + bspc config -d focused window_gap $((`bspc config -d focused window_gap` {+,-} 2 )) + +# set the window state +{F9,F10,F11,F12} + bspc node -t {floating,tiled,pseudo_tiled,fullscreen} + # Select desktop layout (monocle|tiled) # TODO, why sould I use this? #super + l @@ -56,13 +90,21 @@ super + w # wm independent hotkeys ## -# Start dmenu +# Start rofi program launcher super + space - dmenu_run + rofi -show drun -# Start urxvt terminal +# Start xfce4 terminal super + Return - urxvt + xfce4-terminal + +# rofi window changer +alt + Tab + rofi -show window + +# Filemanager (thunar) +super + e + nemo # Lower,Raise Volume Master {_,shift + }XF86Audio{Lower,Raise}Volume @@ -74,13 +116,14 @@ XF86AudioMute # Modify LCD Brightness # XF86MonBrightness{Down,Up} are the Display Birghtness Keys -{_,shift + }XF86MonBrightness{Down,Up} - xbacklight {-1,-10,+1,+10} +# Not needed anymore. Is handled by xfce +#{_,shift + }XF86MonBrightness{Down,Up} +# xbacklight {-1,-10,+1,+10} # Screenlock via slim #ctrl + alt + l super + l - $HOME/.config/bspwm/lock.sh + xflock4 # Lock & Suspend System (keep RAM in physical RAM) ctrl + alt + BackSpace diff --git a/dotfiles/powerlevel9krc b/dotfiles/powerlevel9krc index c511450..7077421 100644 --- a/dotfiles/powerlevel9krc +++ b/dotfiles/powerlevel9krc @@ -54,6 +54,6 @@ POWERLEVEL9K_BATTERY_CHARGED_VISUAL_IDENTIFIER_COLOR="green" POWERLEVEL9K_BATTERY_DISCONNECTED_VISUAL_IDENTIFIER_COLOR="249" POWERLEVEL9K_TIME_BACKGROUND="black" POWERLEVEL9K_TIME_FOREGROUND="249" -POWERLEVEL9K_TIME_FORMAT="%D{%H:%M:%S} \UE12E" +POWERLEVEL9K_TIME_FORMAT="%D{%H:%M:%S}" POWERLEVEL9K_LEFT_PROMPT_ELEMENTS=('status' 'os_icon' 'todo' 'context' 'dir_writable' 'dir' 'pyenv' 'anaconda' 'virtualenv' 'vcs') POWERLEVEL9K_RIGHT_PROMPT_ELEMENTS=('nvm' 'rvm' 'load' 'ram_joined' 'battery' 'time') diff --git a/dotfiles/vimrc b/dotfiles/vimrc index 16e37db..accb2cc 100644 --- a/dotfiles/vimrc +++ b/dotfiles/vimrc @@ -7,3 +7,6 @@ syntax on " Set Cholorscheme to smyck colorscheme smyck + +" Set backgrount to dark +set background=dark diff --git a/dotfiles/xinitrc b/dotfiles/xinitrc old mode 100755 new mode 100644 index a7c26a8..0355677 --- a/dotfiles/xinitrc +++ b/dotfiles/xinitrc @@ -3,15 +3,43 @@ # {{@@ env['dotdrop_warning'] @@}} # -# User Xdefaults -#if [ -f $HOME/.Xdefaults ]; then -# xrdb -merge -I$HOME ~/.Xresources -#fi +userresources=$HOME/.Xresources +usermodmap=$HOME/.Xmodmap +sysresources=/etc/X11/xinit/.Xresources +sysmodmap=/etc/X11/xinit/.Xmodmap + +# merge in defaults and keymaps + +if [ -f $sysresources ]; then + xrdb -merge $sysresources +fi + +if [ -f $sysmodmap ]; then + xmodmap $sysmodmap +fi + +if [ -f "$userresources" ]; then + xrdb -merge "$userresources" +fi + +if [ -f "$usermodmap" ]; then + xmodmap "$usermodmap" +fi + +# start some nice programs + +if [ -d /etc/X11/xinit/xinitrc.d ] ; then + for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do + [ -x "$f" ] && . "$f" + done + unset f +fi + +# Start gnome keyring deamon +eval $(/u) # Start gnome keyring daemon eval $(/usr/bin/gnome-keyring-daemon --start --components=gpg,pkcs11,secrets) export $(gnome-keyring-daemon --start --components=pkcs11,secrets,gpg) # Tells dbus to add DISPLAY to its own environment variables dbus-update-activation-environment --systemd DISPLAY -# load Xresources -exec bspwm diff --git a/dotfiles/xsession b/dotfiles/xsession old mode 100755 new mode 100644