Compare commits

...

2 Commits

Author SHA1 Message Date
2b88aa7fa8
foot/foot.ini: Use Cascadia Mono font
This is the new font from Microsoft in VSCode. I got the font names
from `fc-list` and tested them by printing some bold, italic, and
bold italic text:

    $ ansi()          { echo -e "\e[${1}m${*:2}\e[0m"; }
    $ bold()          { ansi 1 "$@"; }
    $ italic()        { ansi 3 "$@"; }
    $ echo "Some $(bold bold text) next to some $(italic italic text) and some $(bold $(italic bold italic text))."

See: https://askubuntu.com/questions/528928/how-to-do-underline-bold-italic-strikethrough-color-background-and-size-i
2021-10-18 13:44:54 +03:00
2686a897ea
sway/config: import some window settings
From this excellent Reddit thread:

https://www.reddit.com/r/swaywm/comments/q90v6l/sharing_some_for_window_rules/
2021-10-18 13:36:05 +03:00
2 changed files with 7 additions and 4 deletions

View File

@ -5,12 +5,12 @@
term=xterm-256color
# Use fc-list to check fonts and styles
font=Source Code Pro Medium:style=Medium:size=12
font-bold=Source Code Pro Semibold:style=Regular:size=12
font-italic=Source Code Pro Medium:style=Medium Italic:size=12
font=Cascadia Mono:style=Roman:size=12
font-bold=Cascadia Mono:style=SemiBold:size=12
font-italic=Cascadia Mono:style=Italic:size=12
# I don't know where any bold italic is used, but this should work if I ever
# find any.
font-bold-italic=Source Code Pro Semibold:style=Semibold Italic:size=12
font-bold-italic=Cascadia Mono:style=Bold Italic:size=12
# Selenized dark
[cursor]

View File

@ -34,11 +34,14 @@ assign [app_id="geary"] 3
assign [app_id="thunderbird"] 3
for_window [app_id="gnome-calculator"] floating enable
for_window [app_id="firefox" title="About Firefox"] floating enable
for_window [app_id="firefox" title="^Picture-in-Picture$"] floating enable; sticky enable
# Send the sharing indicator in Chrome and Firefox to the scratchpad
# https://www.reddit.com/r/swaywm/comments/kee35j/permanently_floating_windows/
for_window [title=".+[Ss]haring (Indicator|your screen)"] floating enable, move to scratchpad
for_window [title="Extension: \(PassFF\).*"] floating enable
for_window [title="Office 365 - Manual authentication"] floating enable
for_window [app_id="org.jellyfin.jellyfinmediaplayer"] inhibit_idle visible
for_window [title="(?:Open|Save) (?:File|Folder|As)"] floating enable, resize set width 1030 height 710
### Output configuration
#