This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const std = @import("std"); | |
| const builtin = @import("builtin"); | |
| const debug = std.debug; | |
| const mem = std.mem; | |
| const posix = std.posix; | |
| const process = std.process; | |
| pub const std_options: std.Options = .{ | |
| .log_level = .warn, | |
| }; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/env elvish | |
| use os | |
| use path | |
| use str | |
| use flag | |
| use platform | |
| fn arch { | |
| var arch = "" | |
| var os = "" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/luajit | |
| local getenv = os.getenv | |
| local fmt = string.format | |
| local exec = os.execute | |
| --trim leading and trailling whitespaces | |
| local function trim(str) | |
| return str:gsub("^%s*(.-)%s*$", "%1") | |
| end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/zsh | |
| #inspirations from | |
| #https://github.com/mumin16/arch-sway | |
| #https://gitlab.com/bullbytes/dotfiles/-/blob/master/sway/status.sh | |
| #https://u|nix.stackexchange.com/questions/473788/simple-swaybar-example | |
| #https://github.com/zakariaGatter/i3blocks-gate/blob/master/i3b-gate | |
| # sway config in ~/.config/sway/config : | |
| # bar { | |
| # status_command exec ~/.config/sway/swaybar.sh |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Default config for sway | |
| # for sway related config : https://github.com/Ultra-Code/archsway/tree/master/sway | |
| # Read `man 5 sway` for a complete reference. | |
| #disable XWayland entirely and run a "pure" Wayland session | |
| xwayland disable | |
| # | |
| # Variables | |
| # |