diff --git a/Xresources b/Xresources new file mode 100644 index 0000000..8d674e0 --- /dev/null +++ b/Xresources @@ -0,0 +1,76 @@ +#define white #F6F3E8 +#define black #242424 +#define blue #678FdF +#define yellow #FFFF00 +#define red #E5786D +#define lightred #E5000C +#define green #95E454 +#define lightgreen #CAE682 +#define cyan #8AC6F2 +#define magenta #FF87EC +#define orange #ef9d00 +#define darkred #630000 + +URxvt*foreground: white +URxvt*background: black +! black +*color0: black +*color8: black +! red +*color1: red +*color9: red +! green +*color2: green +*color10: lightgreen +! yellow +*color3: yellow +*color11: yellow +! blue +*color4: blue +*color12: blue +! magenta +*color5: magenta +*color13: magenta +! cyan +*color6: cyan +*color14: cyan +! white +*color7: white +*color15: #FFFFFF + + +URxvt*transparent: true +URxvt*shading: 10 + +Xft.antialias: true +Xft.hinting: true +Xft.hintstyle: hintfull +Xft.rgba: rgb + +!URxvt*font: xft:DejaVuSansMono:size=8:style=dzForPowerline +URxvt*font: xft:Courier New:size=18 + +URxvt.perl-ext-common: default,matcher,font-size +URxvt.urlLauncher: xdg-open +URxvt.matcher.button: 1 +URxvt*scrollstyle: plain +URxvt*internalBorder: 0 +URxvt*scrollBar: false +URxvt*scrollBar_right: true +URxvt*transpscrollbar: false +URxvt*scrollColor: #aaaaaa + +URxvt.perl-ext: default,url-select +URxvt.keysym.M-u: perl:url-select:select_next +URxvt.url-select.launcher: /usr/bin/chromium -new-tab +URxvt.url-select.underline: true + +URxvt.saveLines: 200000 + +URxvt.keysym.C-Up: font-size:increase +URxvt.keysym.C-Down: font-size:decrease +URxvt.keysym.C-S-Up: font-size:incglobal +URxvt.keysym.C-S-Down: font-size:decglobal +URxvt.keysym.C-equal: font-size:reset +URxvt.keysym.C-slash: font-size:show +URxvt.searchable-scrollback: Meta-Shift-S diff --git a/config/i3/config b/config/i3/config new file mode 100644 index 0000000..4f1e6fd --- /dev/null +++ b/config/i3/config @@ -0,0 +1,297 @@ +# Start i3bar to display a workspace bar (plus the system information i3status +# finds out, if available) +#bar { + #status_command i3status +#} + +# This file has been auto-generated by i3-config-wizard(1). +# It will not be overwritten, so edit it as you like. +# +# Should you change your keyboard layout some time, delete +# this file and re-run i3-config-wizard(1). +# + +# i3 config file (v4) +# +# Please see https://i3wm.org/docs/userguide.html for a complete reference! +# + +set $mod Mod4 + +# Font for window titles. Will also be used by the bar unless a different font +# is used in the bar {} block below. +font pango:DejaVu Sans Mono 10 + +# This font is widely installed, provides lots of unicode glyphs, right-to-left +# text rendering and scalability on retina/hidpi displays (thanks to pango). +#font pango:DejaVu Sans Mono 8 + +# The combination of xss-lock, nm-applet and pactl is a popular choice, so +# they are included here as an example. Modify as you see fit. + +# xss-lock zen grabs a logind suspend inhibit lock and will use i3lock to lock the +# screen before suspend. +exec --no-startup-id xss-lock --transfer-sleep-lock -- i3lock --nofork + +# NetworkManager is the most popular way to manage wireless networks on Linux, +# and nm-applet is a desktop environment-independent system tray GUI for it. +exec --no-startup-id nm-applet + +exec --no-startup-id telegram-desktop +# exec --no-startup-id syncthing-gtk +exec --no-startup-id keepass +exec --no-startup-id onboard +exec --no-startup-id touchegg +exec --no-startup-id xscreensaver +# exec --no-startup-id mailspring +# exec --no-startup-id minetime + +# No border :) +default_border pixel 1 +default_floating_border none +# Default colors +# class border backgr. text indicator child_border +client.focused #ef9d00 #ffa900 #000000 #ffa900 #e33e1b +client.focused_inactive #333333 #5f676a #ffffff #484e50 #5f676a +client.unfocused #333333 #222222 #888888 #292d2e #222222 +client.urgent #2f343a #900000 #ffffff #900000 #900000 +client.placeholder #000000 #0c0c0c #ffffff #000000 #0c0c0c + +client.background #ffffff + +# Use pactl to adjust volume in PulseAudio. +bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +7% +bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ -7% +bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute @DEFAULT_SINK@ toggle + +# Brightness settings +bindsym XF86MonBrightnessUp exec --no-startup-id xbacklight -inc 5 +bindsym XF86MonBrightnessDown exec --no-startup-id xbacklight -dec 5 + +# Transparent lock +bindsym $mod+i exec xtrlock + +# Multiple display settings +bindsym XF86Display exec --no-startup-id arandr + +# Use Mouse+$mod to drag floating windows to their wanted position +floating_modifier $mod + +# start a terminal +bindsym $mod+Return exec i3-sensible-terminal + +# kill focused window +bindsym $mod+w kill + +# start dmenu (a program launcher) +#bindsym $mod+r exec dmenu_run +bindsym $mod+r exec --no-startup-id ~/.config/rofi/bin/menu_powermenu +# start rofi +bindsym $mod+p exec rofi -show run +# switch rofi +bindsym $mod+q exec rofi -show window +# ssh rofi +#bindsym $mod+c exec rofi -show ssh +bindsym $mod+c exec --no-startup-id ~/.config/rofi/bin/menu_time +# lock screen +bindsym $mod+o exec ~/lock.sh +#bindsym $mod+o exec slimlock +# ristretto +bindsym $mod+e exec thunar +# Xournal +bindsym $mod+n exec xournalpp + +# There also is the (new) i3-dmenu-desktop which only displays applications +# shipping a .desktop file. It is a wrapper around dmenu, so you need that +# installed. +# bindsym $mod+d exec --no-startup-id i3-dmenu-desktop + +# change focus +bindsym $mod+h focus left +bindsym $mod+j focus down +bindsym $mod+k focus up +bindsym $mod+l focus right + +# alternatively, you can use the cursor keys: +bindsym $mod+Left focus left +bindsym $mod+Down focus down +bindsym $mod+Up focus up +bindsym $mod+Right focus right + +# move focused window +bindsym $mod+Shift+h move left +bindsym $mod+Shift+j move down +bindsym $mod+Shift+k move up +bindsym $mod+Shift+l move right + +# alternatively, you can use the cursor keys: +bindsym $mod+Shift+Left move left +bindsym $mod+Shift+Down move down +bindsym $mod+Shift+Up move up +bindsym $mod+Shift+Right move right + +# split in horizontal orientation +bindsym $mod+b split h + +# split in vertical orientation +bindsym $mod+v split v + +# enter fullscreen mode for the focused container +bindsym $mod+f fullscreen toggle + +# change container layout (stacked, tabbed, toggle split) +bindsym $mod+s layout stacking +bindsym $mod+t layout tabbed +bindsym $mod+a layout toggle split + +# toggle tiling / floating +bindsym $mod+Shift+space floating toggle + +# change focus between tiling / floating windows +bindsym $mod+space focus mode_toggle + +# focus the parent container +# bindsym $mod+a focus parent + +# focus the child container +#bindsym $mod+d focus child + +# Define names for default workspaces for which we configure key bindings later on. +# We use variables to avoid repeating the names in multiple places. +set $ws1 "1" +set $ws2 "2" +set $ws3 "3" +set $ws4 "4" +set $ws5 "5" +set $ws6 "6" +set $ws7 "7" +set $ws8 "8" +set $ws9 "9" +set $ws10 "10" + +# switch to workspace +bindsym $mod+1 workspace $ws1 +bindsym $mod+2 workspace $ws2 +bindsym $mod+3 workspace $ws3 +bindsym $mod+4 workspace $ws4 +bindsym $mod+5 workspace $ws5 +bindsym $mod+6 workspace $ws6 +bindsym $mod+7 workspace $ws7 +bindsym $mod+8 workspace $ws8 +bindsym $mod+9 workspace $ws9 +bindsym $mod+0 workspace $ws10 + +# Scratchpad +# Make the currently focused window a scratchpad +bindsym $mod+Shift+minus move scratchpad +# Show the first scratchpad window +bindsym $mod+minus scratchpad show + +# move focused container to workspace +bindsym $mod+Shift+1 move container to workspace $ws1 +bindsym $mod+Shift+2 move container to workspace $ws2 +bindsym $mod+Shift+3 move container to workspace $ws3 +bindsym $mod+Shift+4 move container to workspace $ws4 +bindsym $mod+Shift+5 move container to workspace $ws5 +bindsym $mod+Shift+6 move container to workspace $ws6 +bindsym $mod+Shift+7 move container to workspace $ws7 +bindsym $mod+Shift+8 move container to workspace $ws8 +bindsym $mod+Shift+9 move container to workspace $ws9 +bindsym $mod+Shift+0 move container to workspace $ws10 + +# reload the configuration file +bindsym $mod+Shift+c reload +# restart i3 inplace (preserves your layout/session, can be used to upgrade i3) +bindsym $mod+Shift+r restart +# exit i3 (logs you out of your X session) +bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -B 'Yes, exit i3' 'i3-msg exit'" + +# resize window (you can also use the mouse for that) +# mode "resize" { +# # These bindings trigger as soon as you enter the resize mode +# +# # Pressing left will shrink the window’s width. +# # Pressing right will grow the window’s width. +# # Pressing up will shrink the window’s height. +# # Pressing down will grow the window’s height. +# bindsym j resize shrink width 10 px or 10 ppt +# bindsym k resize grow height 10 px or 10 ppt +# bindsym l resize shrink height 10 px or 10 ppt +# bindsym semicolon resize grow width 10 px or 10 ppt +# +# # same bindings, but for the arrow keys +# bindsym Left resize shrink width 10 px or 10 ppt +# bindsym Down resize grow height 10 px or 10 ppt +# bindsym Up resize shrink height 10 px or 10 ppt +# bindsym Right resize grow width 10 px or 10 ppt +# +# # back to normal: Enter or Escape or $mod+r +# bindsym Return mode "default" +# bindsym Escape mode "default" +# bindsym $mod+r mode "default" +# } + +# Supposed to kill with center button +bindsym --release button2 kill + +# Custom config window +for_window [class="Florence"] floating enable +for_window [class="Arandr"] floating enable +for_window [class="vlc"] floating enable + +# Assign to desktop +assign [class="Firefox"] 1 +assign [class="KeePass"] 3 +assign [class="Clementine"] 8 +assign [class="Telegram"] 9 +assign [class="Mailspring"] 7 +assign [class="MineTime"] 7 + +# bindsym $mod+r mode "resize" + +# Workspace config +workspace 1 output eDP1 +workspace 2 output eDP1 +workspace 3 output HDMI2 eDP1 +workspace 4 output HDMI2 eDP1 +workspace 5 output HDMI2 eDP1 +workspace 6 output HDMI2 eDP1 +workspace 7 output eDP1 +workspace 8 output eDP1 +workspace 9 output eDP1 +workspace 10 output HDMI2 eDP1 + +# i3 bar configuration +# ---------------------------------------------------------------------------- + +# Start i3bar to display a workspace bar (plus the system information i3status +# finds out, if available) +bar { + # status_command i3status -- + status_command py3status + + position top + + colors { + background #000000 + statusline #ffffff + separator #666666 + + # Default conf + # focused_workspace #4c7899 #285577 #ffffff + focused_workspace #ef9d00 #ffa900 #000000 + active_workspace #333333 #5f676a #ffffff + inactive_workspace #333333 #222222 #888888 + urgent_workspace #2f343a #900000 #ffffff + binding_mode #2f343a #900000 #ffffff + } + + # separator_symbol "ʃ" + separator_symbol "❰" + + + strip_workspace_name no + strip_workspace_numbers yes + + binding_mode_indicator no +} diff --git a/config/keepassxc/keepassxc.ini b/config/keepassxc/keepassxc.ini new file mode 100644 index 0000000..e01478d --- /dev/null +++ b/config/keepassxc/keepassxc.ini @@ -0,0 +1,23 @@ +[General] +ConfigVersion=1 + +[Browser] +CustomProxyLocation= +Enabled=true + +[GUI] +ApplicationTheme=dark +TrayIconAppearance=monochrome-light + +[KeeShare] +Active="\n\n \n\n" +Foreign="\n\n \n\n" +Own="\n\n \n \n\n" +QuietSuccess=true + +[PasswordGenerator] +AdditionalChars= +ExcludedChars= + +[Security] +LockDatabaseScreenLock=false diff --git a/config/nvim/colors b/config/nvim/colors new file mode 120000 index 0000000..7808a3e --- /dev/null +++ b/config/nvim/colors @@ -0,0 +1 @@ +/home/legrems/Documents/dotfiles/vim/colors/ \ No newline at end of file diff --git a/config/nvim/init.vim b/config/nvim/init.vim new file mode 120000 index 0000000..f12a261 --- /dev/null +++ b/config/nvim/init.vim @@ -0,0 +1 @@ +/home/legrems/Documents/dotfiles/vimrc \ No newline at end of file diff --git a/config/polybar/config b/config/polybar/config new file mode 100644 index 0000000..9ab83ff --- /dev/null +++ b/config/polybar/config @@ -0,0 +1,433 @@ +;===================================================== +; +; To learn more about how to configure Polybar +; go to https://github.com/jaagr/polybar +; +; The README contains alot of information +; +;===================================================== + +[colors] +;background = ${xrdb:color0:#222} +background = #00222222 +background-alt = #99222222 +;foreground = ${xrdb:color7:#222} +foreground = #dfdfdf +foreground-alt = #551 +primary = #00ffb52a +secondary = #e60053 +alert = #bd2c40 + +[bar/additional] +monitor = ${env:MONITOR2:DP-1-1} + +width = 100% +height = 20 +radius = 6.0 +dpi = 192 +background = ${colors.background} +foreground = ${colors.foreground} + +line-size = 8 +line-color = #f00 + +border-top-size = 8 +border-left-size = 15 +border-right-size = 15 +border-color = #00000000 + +padding-left = 0 +padding-right = 2 + +module-margin-left = 1 +module-margin-right = 5 + +font-0 = FontAwesome:pixelsize=8;4 +font-1 = unifont:fontformat=truetype:size=6:antialias=false;4 +font-2 = Wuncon Siji:pixelsize=4;0 + +modules-left = i3 +modules-right = wlan battery date + + +tray-position = right +tray-padding = 2 +;tray-transparent = true +;tray-background = #0063ff + +;wm-restack = bspwm +;wm-restack = i3 + +;override-redirect = true + +;scroll-up = bspwm-desknext +;scroll-down = bspwm-deskprev + +;scroll-up = i3wm-wsnext +;scroll-down = i3wm-wsprev + +cursor-click = pointer +cursor-scroll = ns-resize + + + +[bar/primary] +monitor = ${env:MONITOR:eDP-1-1} + +width = 100% +height = 20 +;offset-x = 1% +;offset-y = 5% +radius = 6.0 +fixed-center = true +dpi = 192 +;tray-maxsize = 1000 + +background = ${colors.background} +foreground = ${colors.foreground} + +line-size = 8 +line-color = #f00 + +border-top-size = 8 +border-left-size = 15 +border-right-size = 15 +border-color = #00000000 + +padding-left = 0 +padding-right = 2 + +module-margin-left = 1 +module-margin-right = 5 + +font-0 = FontAwesome:pixelsize=8;4 +font-1 = unifont:fontformat=truetype:size=6:antialias=false;4 +font-2 = Wuncon Siji:pixelsize=4;0 + +modules-left = i3 +modules-center = backlight pulseaudio +modules-right = wlan battery date + +tray-position = right +tray-padding = 2 +;tray-transparent = true +;tray-background = #0063ff + +;wm-restack = bspwm +;wm-restack = i3 + +;override-redirect = true + +;scroll-up = bspwm-desknext +;scroll-down = bspwm-deskprev + +;scroll-up = i3wm-wsnext +;scroll-down = i3wm-wsprev + +cursor-click = pointer +cursor-scroll = ns-resize + +[module/xwindow] +type = internal/xwindow +label = %title:0:30:...% + +[module/xkeyboard] +type = internal/xkeyboard +blacklist-0 = num lock + +format-prefix = " " +format-prefix-foreground = ${colors.foreground-alt} +format-prefix-underline = ${colors.secondary} + +label-layout = %layout% +label-layout-underline = ${colors.secondary} + +label-indicator-padding = 2 +label-indicator-margin = 1 +label-indicator-background = ${colors.secondary} +label-indicator-underline = ${colors.secondary} + +[module/filesystem] +type = internal/fs +interval = 25 + +mount-0 = / + +label-mounted = %{F#0a81f5}%mountpoint%%{F-}: %percentage_used%% +label-unmounted = %mountpoint% not mounted +label-unmounted-foreground = ${colors.foreground-alt} + +[module/i3] +type = internal/i3 + +ws-icon-0 = 1;1:  +ws-icon-1 = 2;2:  +ws-icon-2 = 3;3:  +ws-icon-3 = 4;4:  +ws-icon-4 = 5;5:  +ws-icon-5 = 6;6:  +ws-icon-6 = 7;7:  +ws-icon-7 = 8;8:  +ws-icon-8 = 9;9:  +ws-icon-9 = 10;0:  + +format = +index-sort = true +wrapping-scroll = false + +; Only show workspaces on the same output as the bar +pin-workspaces = true + +label-mode-padding = 3 +label-mode-foreground = #000 +label-mode-background = ${colors.primary} + +; focused = Active workspace on focused monitor +label-focused = %icon% +label-focused-background = ${colors.background-alt} +label-focused-underline= ${colors.primary} +label-focused-padding = 3 + + +; unfocused = Inactive workspace on any monitor +label-unfocused = %icon% +label-unfocused-padding = 3 + +; visible = Active workspace on unfocused monitor +label-visible = %icon% +label-visible-background = ${self.label-focused-background} +label-visible-underline = ${self.label-focused-underline} +label-visible-padding = ${self.label-focused-padding} + +; urgent = Workspace with urgency hint set +label-urgent = %icon% +label-urgent-background = ${colors.alert} +label-urgent-padding = 3 + +[module/mpd] +type = internal/mpd +format-online = + +icon-prev =  +icon-stop =  +icon-play =  +icon-pause =  +icon-next =  + +label-song-maxlen = 25 +label-song-ellipsis = true + +[module/backlight] +type = internal/backlight +card = intel_backlight + +format =