diff --git a/Xresources b/Xresources new file mode 100644 index 0000000..5809717 --- /dev/null +++ b/Xresources @@ -0,0 +1,67 @@ +Xcursor.theme: breeze-snow +Xcursor.size: 48 + +Xft.dpi: 192 + +! These might also be useful depending on your monitor and personal preference: +Xft.autohint: 0 +Xft.lcdfilter: lcddefault +Xft.hintstyle: hintfull +Xft.hinting: 1 +Xft.antialias: 1 +Xft.rgba: rgba + +! Base16 Snazzy +! Scheme: Chawye Hsu (https://github.com/h404bi) based on Hyper Snazzy Theme (https://github.com/sindresorhus/hyper-snazzy) + +#define base00 #282a36 +#define base01 #34353e +#define base02 #43454f +#define base03 #78787e +#define base04 #a5a5a9 +#define base05 #e2e4e5 +#define base06 #eff0eb +#define base07 #f1f1f0 +#define base08 #ff5c57 +#define base09 #ff9f43 +#define base0A #f3f99d +#define base0B #5af78e +#define base0C #9aedfe +#define base0D #57c7ff +#define base0E #ff6ac1 +#define base0F #b2643c + +*foreground: base05 +#ifdef background_opacity +*background: [background_opacity]base00 +#else +*background: base00 +#endif +*cursorColor: base05 + +*color0: base00 +*color1: base08 +*color2: base0B +*color3: base0A +*color4: base0D +*color5: base0E +*color6: base0C +*color7: base05 + +*color8: base03 +*color9: base08 +*color10: base0B +*color11: base0A +*color12: base0D +*color13: base0E +*color14: base0C +*color15: base07 + +! Note: colors beyond 15 might not be loaded (e.g., xterm, urxvt), +! use 'shell' template to set these if necessary +*color16: base09 +*color17: base0F +*color18: base01 +*color19: base02 +*color20: base04 +*color21: base06 diff --git a/awesome/theme.lua b/awesome/theme.lua index 6d449f2..163503f 100644 --- a/awesome/theme.lua +++ b/awesome/theme.lua @@ -121,7 +121,7 @@ theme.mstab_bar_padding = "default" -- how much padding there should be -- by default it will adjust based on your useless gaps. -- If you want a custom value. Set it to the number of pixels (int) -theme.mstab_tabbar_height = dpi(100) +theme.mstab_tabbar_height = dpi(200) theme.mstab_border_radius = dpi(5) -- border radius of the tabbar theme.mstab_tabbar_position = "top" -- position of the tabbar (mstab currently does not support left,right) diff --git a/mpv/scripts/morden-ui.lua b/mpv/scripts/morden-ui.lua index e0f9a7c..5f13611 100644 --- a/mpv/scripts/morden-ui.lua +++ b/mpv/scripts/morden-ui.lua @@ -15,9 +15,9 @@ local utils = require 'mp.utils' local user_opts = { showwindowed = true, -- show OSC when windowed? showfullscreen = true, -- show OSC when fullscreen? - scalewindowed = 2, -- scaling of the controller when windowed - scalefullscreen = 2, -- scaling of the controller when fullscreen - scaleforcedwindow = 2, -- scaling when rendered on a forced window + scalewindowed = 1, -- scaling of the controller when windowed + scalefullscreen = 1, -- scaling of the controller when fullscreen + scaleforcedwindow = 1, -- scaling when rendered on a forced window vidscale = false, -- scale the controller with the video? hidetimeout = 1000, -- duration in ms until the OSC hides if no -- mouse movement. enforced non-negative for the diff --git a/qutebrowser/autoconfig.yml b/qutebrowser/autoconfig.yml index 94868d6..9d07d54 100644 --- a/qutebrowser/autoconfig.yml +++ b/qutebrowser/autoconfig.yml @@ -6,8 +6,12 @@ config_version: 2 settings: + content.desktop_capture: + https://jitsi.tfcconnection.org: true content.geolocation: https://openweathermap.org: false + content.media.audio_capture: + https://jitsi.tfcconnection.org: true content.media.video_capture: https://jitsi.tfcconnection.org: true content.notifications.enabled: @@ -19,6 +23,7 @@ settings: https://www.g2a.com: false https://www.reddit.com: false https://www.websitebuilderexpert.com: false + https://www.youtube.com: false content.register_protocol_handler: https://outlook.office.com?mailtouri=%25s: false tabs.show: diff --git a/qutebrowser/qsettings/QtProject.conf b/qutebrowser/qsettings/QtProject.conf index 0a5b84f..2153034 100644 --- a/qutebrowser/qsettings/QtProject.conf +++ b/qutebrowser/qsettings/QtProject.conf @@ -1,6 +1,6 @@ [FileDialog] -history=file:///home/chris/Pictures/Phone/Camera, file:///home/chris/Videos/06, file:///home/chris/Videos/camp/rules, file:///home/chris, file:///home/chris/nextcloud/tfc/Documents -lastVisited=file:///home/chris +history=@Invalid() +lastVisited=file:///home/chris/Downloads qtVersion=5.15.2 shortcuts=file:, file:///home/chris sidebarWidth=116 diff --git a/rofi/config.rasi b/rofi/config.rasi index c911358..469b42f 100644 --- a/rofi/config.rasi +++ b/rofi/config.rasi @@ -10,4 +10,4 @@ configuration { run-command: "fish -c {cmd}"; run-list-command: "fish -c functions"; } -@import "/home/chris/.dotfiles/rofi/launchers-git/laptop.rasi" +@import "/home/chris/.dotfiles/rofi/launchers-git/desktop.rasi" diff --git a/scripts/waystart b/scripts/waystart deleted file mode 100755 index d72f521..0000000 --- a/scripts/waystart +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/sh -export QT_QPA_PLATFORMTHEME="qt5ct" diff --git a/sway/config b/sway/config index 9dfdce2..2d195c0 100644 --- a/sway/config +++ b/sway/config @@ -60,8 +60,13 @@ default_border none # border_images.urgent /home/chris/.dotfiles/sway/rounded_and_shadows_custom.png font pango: VictorMono Nerd Font 10 -titlebar_border_thickness 1 +show_marks yes +titlebar_border_thickness 0 +title_align center +client.unfocused '#282a36' '#282a36' '#e2e4e5' '#e2e4e5' +client.focused_inactive '#282a36' '#282a36' '#e2e4e5' '#e2e4e5' +client.focused '#282a36' '#57c7ff' '#34353e' '#34353e' ### Key bindings # # Basics: @@ -82,7 +87,7 @@ titlebar_border_thickness 1 bindsym $mod+p exec wlrofi-rbw # Screenshot - bindsym Print exec grim -g "${slurp}" - | wl-copy + bindsym Print exec "grim -g '${slurp}' - | wl-copy" # Drag floating windows by holding down $mod and left mouse button. # Resize them with right mouse button + $mod. # Despite the name, also works for non-floating windows. @@ -155,13 +160,13 @@ titlebar_border_thickness 1 # You can "split" the current object of your focus with # $mod+b or $mod+v, for horizontal and vertical splits # respectively. - bindsym $mod+b splith + bindsym $mod+Shift+v splith bindsym $mod+v splitv # Switch the current container between different layout styles bindsym $mod+t layout stacking bindsym $mod+w layout tabbed - bindsym $mod+e layout toggle split + bindsym $mod+q layout toggle split # Make the current focus fullscreen bindsym $mod+f fullscreen @@ -221,9 +226,6 @@ mode "resize" { } bindsym $mod+r mode "resize" -### Audio - - ### Launchers set $mode_launcher Launcher bindsym $mod+o mode "$mode_launcher" @@ -231,15 +233,11 @@ bindsym $mod+o mode "$mode_launcher" # Clear notifications bindsym $mod+Ctrl+m exec makoctl dismiss -a -mode "$mode_launcher" { - bindsym e exec emacsclient -c -a emacs - bindsym b exec qutebrowser - bindsym a exec emacsclient -e '(chris/org-agenda)' - bindsym m exec emacsclient -c -e '(mu4e)' - bindsym Shift+d exec dolphin - bindsym Return mode "default" - bindsym Escape mode "default" -} +bindsym $mod+e exec emacsclient -c -a emacs +bindsym $mod+b exec qutebrowser +bindsym $mod+i exec emacsclient -e '(chris/org-agenda)' +bindsym $mod+m exec emacsclient -c -e '(mu4e)' +bindsym $mod+Shift+d exec dolphin # # Status Bar: @@ -251,23 +249,23 @@ bar { } -for_window [title="org-agend"] floating enable +for_window [title="org-agenda"] floating enable for_window [app_id="mpv"] floating enable for_window [app_id="imv"] floating enable for_window [app_id="dolphin"] floating enable for_window [app_id="pulsemixer"] floating enable for_window [class="\*Org Agenda(a)\*"] floating enable -for_window [app_id="qutebrowser"] move container to workspace number 2 -for_window [app_id="qutebrowser"] opacity 1 -for_window [app_id="emacs"] opacity 0.90 -for_window [app_id="__focused__"] opacity 1 +for_window [app_id="qutebrowser"] move container to workspace number 2, opacity set 1 +for_window [app_id="emacs"] opacity set 0.90 +for_window [app_id="__focused__"] opacity set 1 + +### Locking screen +bindsym $mod+Ctrl+l exec swaylock-blur --blur-sigma 80 exec emacs --daemon exec kwalletd5 exec mako -exec waystart exec nextcloud --background -exec export QT_QPA_PLATFORMTHEME="qt5ct" xwayland enable include /etc/sway/config.d/* diff --git a/wayfire/wayfire.ini b/wayfire/wayfire.ini index 7103d64..79d91a1 100644 --- a/wayfire/wayfire.ini +++ b/wayfire/wayfire.ini @@ -14,7 +14,7 @@ fire_particle_size = 10.000000 fire_particles = 542 open_animation = zoom startup_duration = 600 -zoom_duration = 200 +zoom_duration = 100 zoom_enabled_for = none [annotate] @@ -171,7 +171,7 @@ title_height = 0 [expo] background = \#1A1A1AFF duration = 200 -offset = 5 +offset = 15 select_workspace_1 = KEY_1 select_workspace_2 = KEY_2 select_workspace_3 = KEY_3 @@ -181,7 +181,7 @@ select_workspace_6 = KEY_6 select_workspace_7 = KEY_7 select_workspace_8 = KEY_8 select_workspace_9 = KEY_9 -toggle = KEY_W +toggle = KEY_W | swipe up <3> [extra-gestures] close_fingers = 20 @@ -307,10 +307,10 @@ last_output_focus_timeout = 10000 activate = BTN_RIGHT [scale] -allow_zoom = false +allow_zoom = true bg_color = \#1A1A1AE6 duration = 200 -inactive_alpha = 0.750000 +inactive_alpha = 0.350000 interact = false middle_click_close = false spacing = 50 @@ -318,16 +318,15 @@ text_color = \#CCCCCCFF title_font_size = 16 title_overlay = all title_position = center -toggle_all = KEY_P -toggle = +toggle_all = KEY_M [scale-title-filter] -bg_color = \#00000080 +bg_color = \#282a3680 case_sensitive = false font_size = 30 overlay = true share_filter = false -text_color = \#CCCCCCCC +text_color = \#e2e4e5CC [showrepaint] reduce_flicker = true @@ -342,15 +341,15 @@ key_focus_above = KEY_K key_focus_below = KEY_J key_focus_left = KEY_H key_focus_right = KEY_L -key_toggle = KEY_T +key_toggle = KEY_T outer_horiz_gap_size = 20 outer_vert_gap_size = 20 -tile_by_default = all +tile_by_default = if app_id is "emacs" & app_id is "alacritty" [switcher] next_view = KEY_TAB prev_view = KEY_TAB -speed = 500 +speed = 200 view_thumbnail_scale = 1.000000 [vswipe] @@ -387,6 +386,7 @@ activate = BTN_LEFT [window-rules] rule_1 = on created if app_id is "emacs" then set alpha 0.8 rule_2 = on created if app_id is "dolphin" then float +rule_3 = on created if app_id is "emacs" then tile [winzoom] dec_x_binding = KEY_LEFT @@ -400,16 +400,16 @@ zoom_step = 0.100000 [wm-actions] minimize = none -toggle_always_on_top = none +toggle_always_on_top = KEY_T toggle_fullscreen = KEY_F toggle_maximize = KEY_M toggle_showdesktop = none toggle_sticky = none [wobbly] -friction = 3.000000 -grid_resolution = 36 -spring_k = 5.000000 +friction = `.000000 +grid_resolution = 96 +spring_k = 9.000000 [workarounds] all_dialogs_modal = true diff --git a/wofi/config b/wofi/config index 05990df..49d93bf 100644 --- a/wofi/config +++ b/wofi/config @@ -1,5 +1,5 @@ width=60% -height=40% +height=50% columns=1 parse_action=true allow_images=true diff --git a/wofi/style.css b/wofi/style.css index 3b7dac9..0924766 100644 --- a/wofi/style.css +++ b/wofi/style.css @@ -18,7 +18,7 @@ @define-color backtransparent rgba(40, 42, 54, 0.80); window { margin: 100px; - background-color: @backtransparent; + background-color: @base00; } #input { @@ -49,14 +49,14 @@ window { #text { margin: 2px; color: @base05; - font-size: 14; + font-size: 14px; } #img { margin-left: 10px; margin-top: 2px; margin-bottom: 2px; - size: 1px; + -gtk-icon-transform: scale 0.5; } #entry:selected { diff --git a/xinitrc b/xinitrc new file mode 100644 index 0000000..898fb94 --- /dev/null +++ b/xinitrc @@ -0,0 +1,12 @@ +xrdb -merge ~/.Xresources +xset r rate 220 90 + +autorandr -c + +export QT_QPA_PLATFORMTHEME="qt5ct" +# export GDK_SCALE=2 +# export DESKTOP_SESSION=plasma + +espanso daemon & + +exec awesome